Jonas Bonér
e88d07305d
Cleaned up RoutedProps and removed all actorOf methods with RoutedProps.
...
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-11-11 19:57:27 +01:00
Viktor Klang
c998485865
Fixing ask/? for the routers so that tests pass and stuff
2011-10-31 16:09:52 +01:00
Viktor Klang
1b730b5c82
Removing Channel(s), tryTell etc, everything compiles but all tests are semibroken
2011-10-31 16:09:51 +01:00
Roland
bb942750aa
make most AkkaSpec-based tests runnable in Eclipse
2011-10-21 17:01:22 +02:00
Viktor Klang
77dc9e9c35
#1299 - Removing reply and tryReply, preparing the way for 'sender ! response'
2011-10-19 16:59:47 +02:00
Viktor Klang
474787a81d
Renaming createActor to actorOf
2011-10-18 17:56:23 +02:00
Peter Vlugter
317b8bc03b
Merge master into tame-globals branch
2011-10-13 13:41:44 +02:00
Roland
93b1ef3703
make akka-actor-tests compile again
2011-10-11 16:05:48 +02:00
Jonas Bonér
e20866c982
Moved method for creating a RoutedActorRef from 'Routing.actorOf' to 'Actor.actorOf'
2011-10-11 11:55:59 +02:00
Jonas Bonér
4ec050c12e
Major refactoring of RemoteActorRefProvider, remote Routing and FailureDetector, including lots of fixes and improvements.
...
- Decoupled FailureDetector from Routing by introducing ConnectionManager which uses FailureDetector instead of it being the same thing.
- Added ConnectionManager
- Added LocalConnectionManager
- Added RemoteConnectionManager
- Improved RoutedProps
- Integrated and added configuration for Scatter Gather router
- Added NoOpFailureDetector
- Misc API and documentation improvements
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-10-07 15:42:55 +02:00
Viktor Klang
0f049d67e6
Removing ActorRef.isRunning - replaced in full by isShutdown, if it returns true the actor is forever dead, if it returns false, it might be (race)
2011-10-03 19:43:45 +02:00
Peter Vlugter
8297f459e3
Some clean up of the compile and test output
2011-09-27 18:00:26 +02:00
Viktor Klang
bbb79d8e0d
Start removed but cluster is broken
2011-09-08 11:02:17 +02:00
Viktor Klang
c7d58c600b
Adding initial support for Props
2011-08-26 17:25:18 +02:00
Peter Veentjer
43031cb94b
ticket #889 some cleanup
2011-08-01 09:01:15 +03:00
Peter Veentjer
4b4f38c973
ticket #889 after merge
2011-07-28 16:56:35 +03:00
Peter Veentjer
0fcc35d4b0
ticket #889
2011-07-28 15:48:03 +03: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
Roland
42769599aa
Merge branch 'ticket955'
...
Conflicts:
akka-actor-tests/src/test/scala/akka/actor/supervisor/Ticket669Spec.scala
akka-actor-tests/src/test/scala/akka/routing/RoutingSpec.scala
akka-camel/src/test/scala/akka/camel/ConsumerScalaTest.scala
2011-07-19 16:56:44 -04:00
Peter Veentjer
7983a66f68
Ticket 964: rename of reply?
2011-07-17 09:02:36 +03:00
Garrick Evans
7f62717a8c
Merge branch 'master' of github.com:jboner/akka
...
Conflicts:
akka-actor/src/main/scala/akka/actor/ActorRef.scala
2011-07-15 14:39:18 -07:00
Garrick Evans
05a1144705
Covers tickets 988 and 915. Changed ActorRef to notify supervisor with max retry msg when temporary actor shutdown. Actor pool now requires supervision strategy. Updated pool docs.
2011-07-15 14:25:09 -07: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
a5e98cc5a6
Tweaking the RoutingSpec to be more deterministic
2011-07-13 19:18:04 +02:00
Viktor Klang
5486d9fbb7
Making the RoutingSpec deterministic for SmallestMailboxFirst
2011-07-12 12:13:48 +02:00
Derek Williams
34ca784846
Merge branch 'master' into wip-derekjw
...
Conflicts:
akka-actor-tests/src/test/scala/akka/dispatch/FutureSpec.scala
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-actor/src/main/scala/akka/dispatch/Future.scala
2011-07-11 13:02:42 -06:00
Jonas Bonér
0b1ee758f5
1. Implemented replication through transaction log, e.g. logging all messages and replaying them after actor migration
...
2. Added first replication test (out of many)
3. Improved ScalaDoc
4. Enhanced the remote protocol with replication info
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-07-08 08:28:13 +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
Roland
48feec0bbb
add debug output to investigate cause of RoutingSpec sporadic failures
...
"smallest mailbox" test fails randomly on my notebook
2011-06-26 22:32:56 +02:00
Roland
39e41c6596
change all actor logging to use Actor, not ActorRef as source instance
2011-06-19 21:07:49 +02:00
Roland
5933780bca
TestKit timeouts and awaitCond (from release-1.2)
...
- move akka.testing from akka-actor-tests to akka-testkit/akka.testkit
- move timeFactor from Testing to Duration and add .dilated method
- add Duration.{min, max}
- add TestKit.awaitCond
- use Duration.dilated on all max Durations in TestKit
- fix up loose ends
Conflicts:
akka-actor-tests/src/main/scala/akka/testing/Testing.scala
akka-actor-tests/src/test/scala/akka/actor/actor/ActorRefSpec.scala
akka-actor-tests/src/test/scala/akka/actor/supervisor/SupervisorSpec.scala
akka-actor-tests/src/test/scala/akka/routing/RoutingSpec.scala
akka-actor/src/main/scala/akka/util/Duration.scala
akka-remote/src/test/scala/remote/RemoteTypedActorSpec.scala
akka-testkit/src/main/scala/akka/testkit/TestBarrier.scala
akka-testkit/src/main/scala/akka/testkit/TestKit.scala
akka-typed-actor/src/test/scala/actor/typed-actor/TypedActorLifecycleSpec.scala
2011-06-17 22:19:17 +02:00
Jonas Bonér
26500bed09
1. Removed implicit scoped timeout in ? method.
...
Reason: 'pingPongActor.?(Ping)(timeout = TimeoutMillis)' breaks old user code and is so ugly. It is not worth it. Now user write (as he used to): 'pingPongActor ? (Ping, TimeoutMillis)'
2. Fixed broken Cluster communication
3. Added constructor with only String arg for UnhandledMessageException to allow client instantiation of remote exception
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-06-14 14:26:13 +02: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
9c1a50ba2c
Refactoring the use of !! to ?+.get for Akka internal code
2011-06-13 15:29:35 +02:00
Viktor Klang
6ddee70e0b
Creating a package object for the akka-package to put the .as-conversions there, also switching over at places from !! to ?
2011-06-13 14:59:22 +02:00
Viktor Klang
fa0478bc32
Replacing !!! with ?
2011-06-13 13:43:21 +02:00
Viktor Klang
f9d0b188af
Removing ActorRef.isDefinedAt and Future.empty and moving Future.channel to Promise, renaming future to promise for the channel
2011-06-04 12:42:06 -07:00
Viktor Klang
e320825137
Added some API to be able to wrap interfaces on top of Actors, solving the ActorPool for TypedActor dilemma, closing ticket #724
2011-05-23 17:08:45 +02:00
Viktor Klang
cd3cb8cd57
Renaming akka.routing.Dispatcher to Router, as per ticket #729
2011-05-20 12:29:48 +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 Vlugter
0f436f0738
Fix bug in actor pool round robin selector
2011-04-20 16:12:51 +12:00
Peter Vlugter
427a6cf63e
Rework routing spec - failing under jenkins
2011-04-19 17:45:01 +12:00
Patrik Nordwall
178171bbef
Added parens to latch countDown
2011-04-12 11:35:10 +02:00
Patrik Nordwall
3c8e375f30
Added parens to stop
2011-04-12 10:53:56 +02:00
Patrik Nordwall
087191f19f
Added parens to start
2011-04-12 09:56:17 +02:00
patriknw
0abf51d878
moved tests from akka-actor to new module akka-actor-tests to fix circular dependencies between testkit and akka-actor
2011-04-06 07:45:42 +02:00