phaller
4f43141c50
Add bounded deque-based mailbox
2012-02-08 18:26:54 +01:00
Philipp Haller
ab60681a17
Fix merge conflict
2012-02-07 17:04:38 +01:00
Philipp Haller
cdcba16a9c
Improve docs. Use private instead of instance-private modifiers. Add return type.
2012-02-07 16:51:20 +01:00
Viktor Klang
66c1e2d835
Sprinkling some finals and adding return types
2012-02-06 15:42:28 +01:00
Philipp Haller
68d6a18883
Add Stash and UnboundedDequeBasedMailbox
2012-02-06 14:49:23 +01:00
Patrik Nordwall
09e13e271b
Merge branch 'master' into wip-1310-err2-patriknw
...
Conflicts:
akka-actor/src/main/scala/akka/dispatch/AbstractDispatcher.scala
akka-cluster/src/main/scala/akka/cluster/Cluster.scala
akka-cluster/src/main/scala/akka/cluster/TransactionLog.scala
akka-remote/src/main/scala/akka/remote/netty/NettyRemoteSupport.scala
2012-02-03 13:57:28 +01:00
Viktor Klang
c201d28fbb
#1773 bites the dust
2012-02-02 09:22:26 +01:00
Patrik Nordwall
5033647176
Fixed things from review. See #1310
2012-02-01 17:38:12 +01:00
Patrik Nordwall
c447f46224
Some polish on the error handling. See #1310
2012-02-01 14:40:12 +01:00
Patrik Nordwall
f13b5356f7
Second stab at revised error handling. See #1310
2012-01-31 14:44:14 +01:00
Viktor Klang
f7a45c0e8f
Removing dead imports from akka-actor
2012-01-25 15:38:04 +01:00
Viktor Klang
e523d5418c
Clarified the code, removing a negation that could be overlooked
2012-01-21 13:12:30 +01:00
Viktor Klang
61e0bd568b
Modifications after review
2012-01-21 13:04:45 +01:00
Viktor Klang
42d3328815
Moving tests after first invocation
2012-01-21 01:33:07 +01:00
Viktor Klang
a22d01f595
Removing noise
2012-01-21 01:15:00 +01:00
Viktor Klang
388ec810bf
Fixing inverted logic
2012-01-21 01:13:55 +01:00
Viktor Klang
bcfd70f6e0
Moving debug logging statement back into Mailbox.scala
2012-01-21 01:09:06 +01:00
Viktor Klang
184d15d81e
Switching to tail recursion and lowering numer of moving parts
2012-01-21 01:06:32 +01:00
Viktor Klang
149fbea5a7
Updating Copyright as per #1660
2012-01-19 18:21:06 +01:00
Roland
e81791cbb6
fix dormant bug in Mailbox’s error logging
...
- actor.actor could potentially be null after a failed restart attempt
- fix one case of baroqueness in FaultHandling.scala
2012-01-17 14:07:20 +01:00
Roland
d0498eb32e
add Class[_] to LogEvent
...
- it is customary to use class name for categorizing logs, hence we
should support it; class is taken from logSource.getClass
- update SLF4J module to use logClass as category and set logSource in
MDC "akkaSource"
- add docs
2012-01-12 13:29:17 +01:00
Roland
6fddb87fca
fix one spurious buglet in CallingThreadDispatcher, see #1375
2012-01-10 13:33:57 +01:00
Patrik Nordwall
c4401f1ca8
Changed so that the configured FQCN of the mailboxType must be a MailboxType, not the Mailbox. See #1458
2011-12-21 19:37:18 +01:00
Patrik Nordwall
d87d9e2e80
Additional feedback, thanks.
2011-12-20 10:12:40 +01:00
Patrik Nordwall
fb510d5018
Unwrap InvocationTargetException in ReflectiveAccess.createInstance. See #1555
2011-12-20 09:59:08 +01:00
Patrik Nordwall
5fd40e53ca
Updates after feedback
2011-12-20 09:56:29 +01:00
Patrik Nordwall
83b08b20d9
Added CustomMailbox for user defined mailbox implementations with ActorContext instead of ActorCell.
...
* Mailbox is still there, with ActorCell, for internal use.
* Implemented durable mailboxes with CustomMailbox
2011-12-19 21:46:37 +01:00
Patrik Nordwall
61813c6635
Make MailboxType implementation configurable. See #1484
...
* Added mailboxType property to dispatcher config
* Changed durable mailboxes to use this
* Updated docs for durable mailboxes
2011-12-19 21:41:02 +01:00
Roland
92e7693203
Merge remote-tracking branch 'origin/master' into wip-remote-supervision-rk
2011-12-13 16:59:43 +01:00
Roland
11601c2926
fix some FIXMEs
...
- add Java API for FaultHandlingStrategy.Action values
- verify that Mailbox.debug being a constant elides its printlns
- remove dead code from bubbleWalker
2011-12-10 22:52:49 +01:00
Jonas Bonér
4d649c3903
Removed all @author tags for Jonas Bonér since it has lost its meaning.
...
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-12-09 18:44:59 +01:00
Viktor Klang
4803ba517c
Making sure that it doesn't break for the dlq itself
2011-12-07 16:38:09 +01:00
Viktor Klang
72d69cb7cc
Moving all the logic for cleaning up mailboxes into the mailbox implementation itself
2011-12-07 15:51:46 +01:00
Roland
ea4d30e732
annotate my new FIXMEs with RK
2011-12-03 22:42:13 +01:00
Roland
4c1d722398
fix bug in ActorRef.stop() implementation
...
- it was telling all children to stop(), then waited for the
ChildTerminated messages and finally terminated itself
- this worked fine, except when the stop came from the supervisor, i.e.
the recipient was suspended and did not process the ChildTerminated
- so, as the mirror of Supervise() that it is, I changed
ChildTerminated() to be a system message and instead of stopping
processing normal messages by checking the stopping flag, just suspend
the actor while awaiting the ChildTerminated's to flow in.
2011-12-03 18:53:04 +01:00
Roland
e38cd19af9
Merge branch 'master' into wip-ActorPath-rk
2011-12-02 13:31:48 +01:00
Roland
b65799c7f3
remove ActorRef.address & ActorRef.name
...
- address => path.toString
- name => path.name
- forward hashCode, equals and compareTo to path
- implement recursive efficient ActorPath.compareTo
- fix ActorPath.equals endless recursion
- remove wrong warning in ActorCell.systemInvoke.supervise()
2011-11-30 23:30:56 +01:00
Patrik Nordwall
80ac1737cd
First walk throught of FIXME. See #1378
...
* Fixed obvious
* Created tickets for several, #1408 , #1409 , #1410 , #1412 , #1415 , 1416, #1418
* Moved LoggingReceive from akka.actor to akka.event
* Touched several of the FIXME to make them visible in code review
2011-11-30 10:48:26 +01:00
Viktor Klang
9afc9dc768
Making sure that all access to status and systemMessage is through Unsafe
2011-11-29 16:51:30 +01:00
Viktor Klang
3be5c05b76
Removing a wasteful field in ActorCell, preparing to get to 64bytes (cache line glove-fit
2011-11-23 01:18:29 +01:00
Viktor Klang
4e6361acb7
Removing commented out code
2011-11-22 22:28:37 +01:00
Viktor Klang
4fdf698611
Switching to sun.misc.Unsafe as an experiment, easily revertable
2011-11-21 17:49:21 +01:00
Patrik Nordwall
e5f8a41cb8
Remove default time unit in config. All durations explicit. See #1363
...
* Also changed in dispatcher to use explicit Duration instead of Int/Long
2011-11-21 15:18:52 +01:00
Viktor Klang
9ae3d7feba
Fixing (yes, I know, I've said this a biiiiiillion times) the BalancingDispatcher, removing some wasteful volatile reads in the hot path
2011-11-18 17:03:35 +01:00
Roland
6a8e516b6c
change source tag in log events from AnyRef to String
...
- ensure that no “complex” things are attached to a LogEvent (think
serialization)
- ensure no escaping the “this” reference via LoggingBus during
constructors (e.g. ActorSystem)
- change it so that
+ Actor/ActorRef are represented by their address
+ Class[_] by simpleName
+ String by itself
- this means that people need to think a little more while deciding how
“this” should look like in logging (which I think is a good thing)
2011-11-18 12:24:04 +01:00
Roland
62032cb1ff
merge system-cleanup into master
2011-11-17 14:38:49 +01:00
Roland
d381b72061
rename app: ActorSystem to system everywhere
2011-11-17 12:36:35 +01:00
Patrik Nordwall
a6e75fb702
Added cleanUp callback in Mailbox, dused in ZooKeeper. Some minor cleanup
2011-11-15 14:39:43 +01:00
Viktor Klang
66dd0123bc
Temporary fix for the throughput benchmark
2011-11-14 19:19:44 +01:00
Viktor Klang
e40b7cd8d6
Fixing bug where a dispatcher would shut down the executor service before all tasks were executed, also taking the opportunity to decrease the size per mailbox by atleast 4 bytes
2011-11-14 14:09:23 +01:00