Jonas Bonér
a0abd5ef57
Fixed problems with actor migration in cluster and added tests for explicit actor migration through API
2011-06-26 09:49:03 +02:00
Jonas Bonér
8e4bcb304a
Moved remoting code into akka-cluster.
...
Removed akka-remote.
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-06-23 18:15:47 +02:00
Jonas Bonér
56db84f0a1
Uncommented failing leader election tests
2011-06-23 16:02:35 +02:00
Jonas Bonér
38e50b77a5
Removed link to second non-existing chapter in the getting started guide
2011-06-23 14:48:48 +02:00
Jonas Bonér
833238cd44
Added tests for storing, retrieving and removing custom configuration data in cluster storage.
...
Signed-off-by: Jonas Bonér <jonasremove@jonasboner.com>
2011-06-22 12:03:58 +02:00
Jonas Bonér
df8c4dac89
Added methods for Cluster.remove and Cluster.release that accepts ActorRef
2011-06-22 11:31:01 +02:00
Jonas Bonér
5d4f8b4bcb
Added test scenarios to cluster registry test suite.
...
Signed-off-by: Jonas Bonér <jonasremove@jonasboner.com>
2011-06-22 11:04:32 +02:00
Jonas Bonér
a4980446a0
Merge with upstream master
2011-06-22 10:01:31 +02:00
Jonas Bonér
a65a3b1e8e
Added multi-jvm test for doing 'store' on one node and 'use' on another. E.g. use of cluster registry.
...
Signed-off-by: Jonas Bonér <jonasremove@jonasboner.com>
2011-06-22 10:00:20 +02:00
Jonas Bonér
a58b3814c0
Added multi-jvm test for leader election in cluster
...
Signed-off-by: Jonas Bonér <jonasremove@jonasboner.com>
2011-06-22 09:59:32 +02:00
Jonas Bonér
4d31751793
Fixed clustered management of actor serializer.
...
Various renames and refactorings.
Changed all internal usages of 'actorOf' to 'localActorOf'.
Signed-off-by: Jonas Bonér <jonasremove@jonasboner.com>
2011-06-22 09:59:00 +02:00
Roland
1c97275745
Merge branch 'temp'
2011-06-19 22:24:04 +02:00
Roland
8dffee24ea
Merge branch 'master' of github.com:jboner/akka
2011-06-19 22:22:32 +02:00
Roland
22c067e239
add TestFSMRef docs
2011-06-19 22:20:45 +02:00
Roland
db2d296b81
ActorRef.start() returns this.type
2011-06-19 22:20:42 +02:00
Roland
7deadceec2
move FSMLogEntry into FSM object
2011-06-19 21:44:50 +02:00
Roland
3d40a0f529
add TestFSMRefSpec and make TestFSMRef better accessible
...
- add address argument to TestFSMRef factory
- set address of TestKit.testActor to "testActor#" with monotonically
increasing number #
2011-06-19 21:42:08 +02:00
Roland
b1533cb3d8
add TestFSMRef
2011-06-19 21:25:09 +02:00
Roland
a45267e967
break out LoggingFSM trait and add rolling event log
2011-06-19 21:20:14 +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
76e8ef4e24
add debug traceability to FSM (plus docs)
2011-06-19 18:03:01 +02:00
Roland
ca36b556fb
add terminate(Shutdown) to FSM.postStop
2011-06-19 17:45:59 +02:00
Roland
89bc1943c3
FSM: make sure terminating because of Failure is logged
2011-06-19 17:43:32 +02:00
Roland
2852e1a763
make available TestKitLight without implicit ActorRef
2011-06-19 17:41:19 +02:00
Roland
6b6ec0df72
add stateName and stateData accessors to FSM
2011-06-19 17:41:16 +02:00
Roland
1970b96ae5
make TestKit methods return most specific type
...
document all testkit methods
2011-06-19 17:35:11 +02:00
Roland
1e4084e843
document logging and testing settings
2011-06-19 17:08:50 +02:00
Roland
8c80548493
document actor logging options
2011-06-19 17:05:19 +02:00
Roland
f3a7c4149a
document channel and !!/!!! changes
2011-06-19 17:05:16 +02:00
Roland
f770cfca59
improve usability of TestKit.expectMsgPF
...
background: PartialFunction literals don't work if they encounter
overload resolution, because scalac then complains about not fully
defined argument types.
2011-06-19 16:50:35 +02:00
Roland
899b7ccdc0
first part of scala/actors docs
2011-06-19 16:35:08 +02:00
Roland
4c4fc2f058
enable quick build of akka-docs (html)
2011-06-19 16:31:18 +02:00
Derek Williams
5747fb7e64
Added myself to the team
2011-06-18 22:32:40 -07:00
Roland
cba5faf745
enable actor message and lifecycle tracing
...
- add Actor.LoggingReceive and Actor.loggable()
- also make EventHandler.level writable (@volatile var)
- enable tracing of actor lifecycle
2011-06-18 10:24:40 +02:00
Roland
d1caf65424
relax FSMTimingSpec timeouts
2011-06-17 22:40:58 +02:00
Roland
bd0b389bf4
introduce generations for FSM named timers, from release-1.2
...
Conflicts:
akka-actor-tests/src/test/scala/akka/actor/actor/FSMTimingSpec.scala
akka-actor/src/main/scala/akka/actor/FSM.scala
2011-06-17 22:37:09 +02:00
Roland
1d59f86fc4
Merge branch 'master' of github.com:jboner/akka
2011-06-17 22:22:48 +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
Roland
f34d14ea79
remove stack trace duplication for AkkaException
2011-06-17 21:54:02 +02:00
Jonas Bonér
1ad99bd610
Renamed sample class for compute grid
2011-06-17 17:09:37 +02:00
Jonas Bonér
532b55688f
Added test for ChangeListener.newLeader in cluster module
...
Signed-off-by: Jonas Bonér <jonasremove@jonasboner.com>
2011-06-17 17:00:44 +02:00
Jonas Bonér
a0fcc62d27
Added ChangeListener.nodeDisconnected test
...
Signed-off-by: Jonas Bonér <jonasremove@jonasboner.com>
2011-06-17 16:48:52 +02:00
Jonas Bonér
6990c7324f
Merge branch 'master' of github.com:jboner/akka
2011-06-17 16:07:55 +02:00
Jonas Bonér
b93755080d
Added test for Cluster ChangeListener: NodeConnected, more to come. Also fixed bug in Cluster
2011-06-17 16:07:41 +02:00
Viktor Klang
626c4fe34e
Merge branch 'master' of github.com:jboner/akka
2011-06-17 12:47:59 +02:00
Jonas Bonér
241831c5ee
Added some more localActorOf methods and use them internally in cluster
2011-06-17 12:07:45 +02:00
Viktor Klang
0b1174fff9
Fixing mem leak in NettyRemoteSupport.unregister
2011-06-17 12:04:17 +02:00
Jonas Bonér
1997d971a0
Added 'localActorOf' method to get an actor that by-passes the deployment. Made use of it in EventHandler
2011-06-17 11:56:08 +02:00
Jonas Bonér
a6bdf9d9aa
Merge branch 'master' of github.com:jboner/akka
2011-06-17 10:25:39 +02:00
Jonas Bonér
e81a1d3678
Added transaction log spec
2011-06-17 10:25:33 +02:00