Commit graph

7388 commits

Author SHA1 Message Date
Viktor Klang
f30bc274d3 Merge branch 'async-system-messages' of github.com:jboner/akka into async-system-messages 2011-09-23 09:58:51 +02:00
Roland
4c87d700c3 reorder detach vs. terminated=true 2011-09-23 09:58:04 +02:00
Viktor Klang
1662d25944 Rewriting the Balancing dispatcher 2011-09-23 09:33:53 +02:00
Roland
e4e8ddc2a7 fix more bugs, clean up tests
- silence four expected exceptions in SupervisorHierarchySpec
- make ActorRef.suspend/resume actually asynchronous and document that
- fix broken PoisonPill test in ActorRefSpec
2011-09-23 09:14:42 +02:00
Viktor Klang
6e0e9910e9 Fixing the camel tests for real this time by introducing separate registered/unregistered events for actors and typed actors 2011-09-22 17:15:51 +02:00
Roland
6109a17af4 fix ActorModelSpec
- transform Dispatcher and Actor asserts into await()
- add more detailed logging of what goes wrong
2011-09-22 16:23:07 +02:00
Viktor Klang
a935998000 Fixing Camel tests 2011-09-22 15:23:26 +02:00
Viktor Klang
d764229cdd Fixing SupervisorHierarchySpec 2011-09-22 12:24:54 +02:00
Viktor Klang
af0d2234bd Fixing the SupervisorHierachySpec 2011-09-22 12:08:00 +02:00
Viktor Klang
4eb948addd Fixing the mailboxes and asserts in the ActorModelSpec 2011-09-21 18:48:54 +02:00
Peter Vlugter
d827b52001 Fix FSMActorSpec lazy val trick by waiting for start 2011-09-21 17:41:02 +02:00
Peter Vlugter
5795395d6e Fix some tests: ActorRefSpec, ActorRegistrySpec, TestActorRefSpec. 2011-09-21 17:30:20 +02:00
Viktor Klang
049d653780 Fixing ReceiveTimeout 2011-09-21 17:22:08 +02:00
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