Commit graph

7375 commits

Author SHA1 Message Date
Viktor Klang
3d12e47e7d Decoupling system message implementation details from the Mailbox 2011-09-21 16:27:31 +02:00
Roland
7c63f94169 Refactor Mailbox handling
- rename MessageInvocation to Envelope (same for System...)
- rename MessageQueue to Mailbox and include ExecutableMailbox code
- make MailboxType act as factory, so users can provide their own
- properly type mailbox field as Mailbox everywhere
- adapt CallingThreadDispatcher and some tests
- create DeadletterMailbox and use it to replace actor’s mailbox on
  terminate()
2011-09-21 15:16:14 +02:00
Viktor Klang
d6eb76852a Implementing spinlocking for underlyingActorInstance 2011-09-21 14:42:26 +02:00
Viktor Klang
fbf9700170 Renaming Death to Failure and separating Failure from the user-lever lifecycle monitoring message Terminated 2011-09-21 11:26:44 +02:00
Viktor Klang
03706baf2b Fixing actorref serialization test 2011-09-21 09:31:03 +02:00
Roland
95b42d8c5b fix some of the immediate issues, especially those hindering debugging 2011-09-21 08:25:08 +02:00
Viktor Klang
9007b6e847 Almost there... ActorRefSpec still has a failing test 2011-09-20 18:34:21 +02:00
Peter Vlugter
48deb311fc Rename ActorInstance to ActorCell 2011-09-20 15:45:43 +02:00
Viktor Klang
f9e23c3102 Resolve merge conflict with master 2011-09-19 19:01:23 +02:00
Peter Vlugter
5a9b6b1816 Fix for message dispatcher attach (and async init) 2011-09-19 15:25:19 +02:00
Viktor Klang
b66d45ec6c Removing deployId from config, should be replaced with patterns in deployment configuration that is checked towards the address 2011-09-19 15:20:52 +02:00
Peter Vlugter
10ce9d703c Use non-automatically settings in akka kernel plugin 2011-09-19 15:11:23 +02:00
Viktor Klang
f993219f91 Removing compression from the remote pipeline since it has caused nothing but headaches and less-than-desired performance 2011-09-19 14:04:08 +02:00
Peter Vlugter
7b1cdb4457 Remove SelfActorRef and use ActorContext to access state in ActorInstance. See #1202
- removed SelfActorRef
- added an ActorContext interface that provides a view into ActorInstance
- the ActorInstance (as ActorContext) gets injected into the Actor
- moved self methods like sender and reply directly to the Actor
2011-09-19 12:03:15 +02:00
Viktor Klang
d926b05fae Merge branch 'master' of github.com:jboner/akka 2011-09-18 10:08:49 +02:00
Viktor Klang
4ee9efc4e4 unborkin master 2011-09-17 13:37:36 +02:00
Roland
c0bc83b3ed improve documentation of Future.onComplete wrt. ordering 2011-09-16 21:19:59 +02:00
Viktor Klang
9b21dd0af3 Adding 'asynchronous' init of actors (done blocking right now to maintain backwards compat) 2011-09-16 15:28:43 +02:00
Viktor Klang
56cbf6de6c Merge branch 'master' of github.com:jboner/akka 2011-09-16 13:57:16 +02:00
Viktor Klang
a4aafed74c Switching to full stack traces so you know wtf is wrong 2011-09-16 13:54:50 +02:00
Roland
c1d9b49935 improve failure messages in case of expectMsg... timeout
- always include the (set of) expected message(s)
- only thing missing is in case of expectMsgPF: cannot print PF code
2011-09-16 10:59:12 +02:00
Peter Vlugter
27bb7b4d52 Add empty actor context (just wrapping self). See #1202 2011-09-15 18:00:19 +02:00
Peter Vlugter
b96f3d9260 Initial breakout of ActorInstance. See #1195 2011-09-15 09:54:40 +02:00
Martin Krasser
b94d1cee36 Merge branch 'master' of github.com:jboner/akka 2011-09-15 09:47:56 +02:00
Martin Krasser
43edfb09e5 Temporarily exclude test until race condition is analyzed and fixed 2011-09-15 09:46:12 +02:00
Viktor Klang
df1d4d4215 Adding a write-up of supervision features that needs to be tested 2011-09-14 19:01:32 +02:00
Viktor Klang
6e90d918f1 Removing debug printouts 2011-09-14 18:16:05 +02:00
Viktor Klang
acaacd9d17 Merge branch 'master' of github.com:jboner/akka 2011-09-14 18:01:50 +02:00
Viktor Klang
4a0358ad7d Removing LifeCycle from Props, it's now a part of AllForOnePermanent, OneForOnePermanent etc 2011-09-14 18:01:43 +02:00
Jonas Bonér
85941c0d51 Changed 'deployment.clustered' to 'deployment.cluster'
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-09-14 17:47:52 +02:00
Patrik Nordwall
7e2af6a9b9 Renamed to AkkaKernelPlugin 2011-09-14 14:13:58 +02:00
Jonas Bonér
eb84ce7f04 Improved comments 2011-09-12 18:49:36 +02:00
Peter Vlugter
0c6d182bb7 Hide uuid from user API. Fixes #1184
- uuid is now an akka package private val
- linkedActors returns a collection of ActorRef (rather than uuid to actor ref map)
2011-09-12 14:39:36 +02:00
Jonas Bonér
91581cd1d0 Merge branch 'master' of github.com:jboner/akka 2011-09-12 14:28:16 +02:00
Jonas Bonér
9d7b8b8784 Added ActorRefProvider trait, LocalActorRefProvider class and ActorRefProviders container/registry class. Refactored Actor.actorOf to use it.
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-09-12 14:27:49 +02:00
Peter Vlugter
b91ab10b0d Use address rather than uuid for ActorRef equality 2011-09-12 11:38:50 +02:00
Viktor Klang
a67d4fa3ce Trying to merge with master 2011-09-09 17:22:40 +02:00
Viktor Klang
1d80f931d1 Starting to work on DeathWatch 2011-09-09 17:05:39 +02:00
Jonas Bonér
358d2b1e0b Removed all files that were moved to akka-remote.
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-09-09 14:40:16 +02:00
Jonas Bonér
a4c74f1ed9 Added akka.sublime-workspace to .gitignore.
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-09-09 14:34:31 +02:00
Jonas Bonér
90525bdec3 Created NetworkEventStream Channel and Listener - an event bus for remote and cluster life-cycle events.
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-09-09 14:33:35 +02:00
Viktor Klang
94da087e1b Merge branch 'master' of github.com:jboner/akka 2011-09-09 13:46:59 +02:00
Jonas Bonér
38c2fe1894 Moved remote-only stuff from akka-cluster to new module akka-remote.
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-09-09 13:46:36 +02:00
Viktor Klang
65e7548f49 Merge branch 'master' of github.com:jboner/akka 2011-09-09 12:40:06 +02:00
Viktor Klang
51993f8d3e Commenting out -optimize, to reduce compile time 2011-09-09 12:40:00 +02:00
Viktor Klang
8a7eacb3c6 Merge with master 2011-09-09 12:00:19 +02:00
Jonas Bonér
702d59601e disabled akka-cluster for now, getting ready to re-add akka-remote 2011-09-09 11:53:26 +02:00
Jonas Bonér
abf3e6e51d Added FIXME comments to BannagePeriodFailureDetector 2011-09-09 10:56:38 +02:00
Jonas Bonér
3ea6f70934 Merge branch 'master' of github.com:jboner/akka 2011-09-09 10:53:15 +02:00
Jonas Bonér
3370d07ce9 Added tests for the CircuitBreaker 2011-09-09 10:53:05 +02:00