Viktor Klang
e7bc084954
Fixing pesky race condition in Dispatcher
2011-09-26 19:53:36 +02:00
Viktor Klang
2edd9d9c26
Removing shutdownAllAttachedActors from MessageDispatcher and moving starting of the dispatcher close to the registration for execution
2011-09-26 17:52:52 +02:00
Viktor Klang
7f8f0e8afb
Switching so that createMailbox is called in the ActorCell constructor
2011-09-26 15:28:13 +02:00
Viktor Klang
e4947de718
Making sure that you cannot go from Mailbox.Closed to anything else
2011-09-26 11:50:26 +02:00
Viktor Klang
29a327aba4
Changing Mailbox.Status to be an Int
2011-09-26 11:39:07 +02:00
Viktor Klang
288287e182
Partial fix for the raciness of BalancingDispatcher
2011-09-23 16:21:57 +02:00
Viktor Klang
1edd52c691
Rewriting so that the termination flag is on the mailbox instead of the ActorCell
2011-09-23 13:14:17 +02:00
Viktor Klang
1662d25944
Rewriting the Balancing dispatcher
2011-09-23 09:33:53 +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
Viktor Klang
4eb948addd
Fixing the mailboxes and asserts in the ActorModelSpec
2011-09-21 18:48:54 +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
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
Peter Vlugter
5a9b6b1816
Fix for message dispatcher attach (and async init)
2011-09-19 15:25:19 +02:00
Viktor Klang
4ee9efc4e4
unborkin master
2011-09-17 13:37:36 +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
Peter Vlugter
b96f3d9260
Initial breakout of ActorInstance. See #1195
2011-09-15 09:54:40 +02:00
Viktor Klang
bbb79d8e0d
Start removed but cluster is broken
2011-09-08 11:02:17 +02:00
Viktor Klang
548ba08cb5
#1145 - Changing private[akka] to protected[akka] in MessageDispatcher so that inheriting classes can access those methods
2011-08-30 15:50:52 +02:00
Viktor Klang
c7d58c600b
Adding initial support for Props
2011-08-26 17:25:18 +02:00
Jonas Bonér
775099a3a8
Merge branch 'master' of github.com:jboner/akka
2011-08-24 13:01:44 +02:00
Viktor Klang
a909bf8d08
#1140 - Adding support for specifying ArrayBlockingQueue or LinkedBlockingQueue in akka.conf and in the builder
2011-08-24 12:42:39 +02:00
Derek Williams
8db226f663
Merge branch 'master' into derekjw-1054
...
Conflicts:
akka-actor-tests/src/test/scala/akka/dispatch/FutureSpec.scala
2011-08-02 11:21:48 -06:00
Viktor Klang
29ca6a867b
Making MessageDispatcher an abstract class, as well as ActorRef
2011-08-01 15:23:57 +02:00
Derek Williams
da987138dd
Partial fix for ticket #1054 : execute callbacks in dispatcher
2011-07-26 22:23:16 -06:00
Derek Williams
5b5d3cd892
Merge branch 'master' into wip-derekjw
...
Conflicts:
akka-actor-tests/src/test/scala/akka/misc/SchedulerSpec.scala
akka-actor/src/main/scala/akka/actor/ActorRef.scala
akka-cluster/src/main/scala/akka/cluster/ClusterActorRef.scala
akka-tutorials/akka-tutorial-second/src/main/scala/Pi.scala
project/AkkaBuild.scala
2011-07-26 13:05:28 -06:00
Derek Williams
6d343b01f0
Merge branch 'master' into wip-derekjw
...
Conflicts:
akka-actor-tests/src/test/scala/akka/dispatch/FutureSpec.scala
akka-actor/src/main/scala/akka/actor/ActorRef.scala
2011-07-26 12:50:09 -06:00
Peter Vlugter
340ed11de5
Reformat with scalariform
2011-07-26 18:33:59 +12:00
Peter Vlugter
f406cd98e0
Add abstract method for dispatcher name
2011-07-25 13:53:25 +12:00
Derek Williams
fb321854a8
Merge branch 'master' into wip-derekjw
...
Conflicts:
akka-actor-tests/src/test/scala/akka/actor/supervisor/Ticket669Spec.scala
akka-actor/src/main/scala/akka/actor/ActorRef.scala
2011-07-15 11:44:48 -06:00
Derek Williams
50dcdd411c
Merge branch 'master' into wip-derekjw
...
Conflicts:
akka-actor-tests/src/test/scala/akka/misc/SchedulerSpec.scala
2011-07-15 11:31:24 -06:00
Viktor Klang
6ce8be6e59
Adding warning docs for register/unregister
2011-07-15 09:39:04 +02:00
Viktor Klang
9d71be7778
Updating copyright section to Typesafe Inc. etc
2011-07-14 16:03:08 +02:00
Derek Williams
ccb8440912
Move Timeout into actor package to make more accessible, use overloaded '?' method to handle explicit Timeout
2011-06-28 15:20:31 -06:00
Derek Williams
e639b2c74d
Start migrating Future to use Actor.Timeout, including support for never timing out. More testing and optimization still needed
2011-06-18 23:23:47 -06:00
Roland
ca592ef1b4
Merge branch 'master' of github.com:jboner/akka
...
Conflicts:
akka-actor/src/main/scala/akka/actor/Actor.scala
akka-actor/src/main/scala/akka/actor/ActorRef.scala
akka-actor/src/main/scala/akka/actor/TypedActor.scala
akka-cluster/src/main/scala/akka/cluster/ClusterActorRef.scala
akka-cluster/src/main/scala/akka/cluster/ReplicatedClusterRef.scala
akka-durable-mailboxes/akka-mailboxes-common/src/main/scala/akka/actor/mailbox/DurableDispatcher.scala
akka-testkit/src/test/scala/akka/testkit/TestActorRefSpec.scala
akka-tutorials/akka-tutorial-second/src/main/java/akka/tutorial/java/second/Pi.java
2011-06-14 00:19:54 +02:00
Roland
7712c20620
unify sender/senderFuture into channel (++)
...
(squashed merge from the various bits and pieces already part of
release-1.2, everything related to Channel & Future)
2011-06-13 22:36:46 +02:00
Viktor Klang
417fcc779d
Adding support for mailboxIsEmpty on MessageDispatcher and removing getMailboxSize and mailboxSize from ActorRef, use actorref.dispatcher.mailboxSize(actorref) and actorref.dispatcher.mailboxIsEmpty(actorref)
2011-06-07 13:23:24 -05:00
Viktor Klang
4c8360e8d7
Minor renames of parameters of non-user API an some code cleanup
2011-06-06 20:05:43 -07:00
Viktor Klang
49883d8c59
Adding support for completing senderFutures when actor is stopped, closing ticket #894 . Also renaming DurableEventBasedDispatcher to DurableDispatcher
2011-05-26 20:38:42 +02:00
Viktor Klang
8a790b1ddf
Renaming CompletableFuture to Promise, Renaming AlreadyCompletedFuture to KeptPromise, closing ticket #854
2011-05-23 11:31:01 +02:00
Jonas Bonér
a7311c83e6
Added Scalariform sbt plugin which formats code on each compile. Also checking in reformatted code
2011-05-18 17:25:30 +02:00
Peter Veentjer
e7d1eaf15c
- more style related cleanup
2011-05-18 08:37:58 +02:00
Jonas Bonér
2655d44ee9
Merged wip-2.0 branch with latest master
2011-05-16 12:32:00 +02:00
Patrik Nordwall
6576cd51e9
Scala style fixes, added parens for side effecting shutdown methods
2011-04-29 10:20:16 +02:00
Viktor Klang
9a582b7c49
Removing redundant isOff call
2011-04-28 18:05:28 +02:00
Viktor Klang
4bedb4813d
Fixing tickets #816 , #814 , #817 and Dereks fixes on #812
2011-04-28 16:01:11 +02:00
Derek Williams
c61f1a42dc
make sure lock is aquired when accessing shutdownSchedule
2011-04-28 07:47:51 -06:00