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
Jonas Bonér
549f33a3ff
Improved error handling in Cluster.scala
2011-06-17 10:25:02 +02:00
Viktor Klang
d2c80a4b54
Merge branch 'master' of github.com:jboner/akka
2011-06-17 09:54:56 +02:00
Viktor Klang
b5d3a67355
Adding some ScalaDoc to Future
2011-06-17 09:54:49 +02:00
viktorklang
a41737e197
Changed a typo
2011-06-16 08:08:31 -07:00
Jonas Bonér
5bcbdb22eb
Merge branch 'master' of github.com:jboner/akka
2011-06-16 11:25:56 +02:00
Jonas Bonér
6f89c6270e
Renamed ReplicationSpec to TransactionLogSpec. + Added sections to the Developer Guidelines on process
2011-06-16 11:25:48 +02:00
Roland
6a3049e4c5
document Channel contravariance
2011-06-15 21:05:37 +02:00
Roland
da7d878387
make Channel contravariant
2011-06-15 20:39:29 +02:00
Viktor Klang
37120150fd
Fixing ticket #908
2011-06-15 18:37:36 +02:00
Viktor Klang
0c21afebdd
Fixing ticket #907
2011-06-15 18:26:56 +02:00
Viktor Klang
79f71fd362
Merge branch 'master' of github.com:jboner/akka
2011-06-15 17:16:50 +02:00
Viktor Klang
986661f4fa
Adding initial test cases for serialization of MethodCalls, preparing for hooking in Serialization.serialize/deserialize
2011-06-15 17:16:38 +02:00
Viktor Klang
19950b60fc
Switching from -123456789 as magic number to Long.MinValue for noTimeoutGiven
2011-06-15 17:15:57 +02:00
Viktor Klang
00e8fd79cb
Moving the timeout so that it isn't calculated unless the actor is running
2011-06-15 17:14:57 +02:00
Viktor Klang
df316b98de
Making the default-serializer condition throw NoSerializerFoundException instead of plain Exception'
2011-06-15 17:14:11 +02:00
Jonas Bonér
cc27b8fe3f
Merge branch 'master' of github.com:jboner/akka
2011-06-15 14:27:52 +02:00
Jonas Bonér
e5de16ec2a
Fixed implicit deadlock in cluster deployment
2011-06-15 14:27:39 +02:00
Debasish Ghosh
217b5adba1
Merge branch 'master' of git@github.com:jboner/akka
2011-06-15 17:22:07 +05:30
Debasish Ghosh
9bb5460cec
removed duplicate copy of Serializer.scala
2011-06-15 17:21:20 +05:30
Jonas Bonér
204f4e2c4c
reformatted akka-reference.conf
2011-06-15 13:37:31 +02:00
Debasish Ghosh
a7dffdd445
pluggable serializers - changed entry name in akka.conf to serialization-bindings. Also updated akka-reference.conf with a commented section on pluggable serializers
2011-06-15 13:42:22 +05:30
Jonas Bonér
01c01e9771
Merge branch 'master' of github.com:jboner/akka
2011-06-14 19:35:40 +02:00
Jonas Bonér
bf0515b8e5
Fixed remaining issues in pluggable serializers (cluster impl)
2011-06-14 19:35:18 +02:00
Roland
5aaf977776
re-add implicit timeout to ActorRef.?, but with better semantics:
...
actor ? msg // uses Actor.DefaultTimeout or implicit
actor ? (msg, timeout) // uses the given timeout
We still need to remove ActorRef.timeout for people to notice it's not
used anymore.
2011-06-14 15:43:44 +02:00
Jonas Bonér
e0e96960b8
Merge branch 'master' into pluggable-serializer
2011-06-14 15:00:47 +02:00
Jonas Bonér
79fb19362f
Merge branch 'master' of github.com:jboner/akka
2011-06-14 14:58:42 +02:00
Jonas Bonér
1eeb9d9a6f
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:58:27 +02:00
Jonas Bonér
04bf416ead
Merge branch 'master' into pluggable-serializer
2011-06-14 14:41:24 +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
Derek Williams
e18cc7bac6
revert changes to java api
2011-06-13 22:31:06 -06:00
Derek Williams
c62e6096d3
Didn't test that change, reverted to my original
2011-06-13 20:39:31 -06:00
Derek Williams
cbdfd0fe23
Fix Future type issues
2011-06-13 20:25:31 -06:00
Peter Vlugter
d917f999cf
Adjust all protocols to work with scaladoc
2011-06-14 10:26:38 +12:00
Roland
05783baa2c
Merge branch 'master' of github.com:jboner/akka
2011-06-14 00:22:56 +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
Peter Vlugter
73694af5a5
Manually fix remote protocol for scaladoc
2011-06-14 09:49:07 +12:00