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
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
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
3d54c09994
Merge branch 'master' of github.com:jboner/akka
2011-06-13 16:47:27 +02:00
Viktor Klang
e3e389e14f
Fixing spelling errors in docs
2011-06-13 16:47:18 +02:00
Peter Veentjer
2bbbeba82e
- more work on the storage functionality
2011-06-13 16:48:23 +03: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
Debasish Ghosh
0d471ae084
fixed protobuf new version issues and some minor changes in Actor and ActorRef from merging
2011-06-13 17:17:53 +05:30
Viktor Klang
fa0478bc32
Replacing !!! with ?
2011-06-13 13:43:21 +02:00
Viktor Klang
fd5afde4ff
Adding 'ask' to replace 'sendRequestReplyFuture' and removing sendRequestReply
2011-06-13 13:28:29 +02:00
Debasish Ghosh
f27e23bf1d
Merged with master
2011-06-13 13:35:39 +05:30
Viktor Klang
ec9c2e100e
Fixing formatting for SLF4J errors
2011-06-12 22:06:11 +02:00
Viktor Klang
2fc0188854
Fixing ticket #913 by switching to an explicit AnyRef Array
2011-06-12 21:39:32 +02:00
Viktor Klang
54960f7e7d
Fixing ticket #916 , adding a catch-all logger for exceptions around message processing
2011-06-12 20:29:32 +02:00
Viktor Klang
5e192c5376
Adding microkernel-server.xml to Akka since kernel has moved here
2011-06-12 12:52:44 +02:00
Viktor Klang
634e47043c
Merge with master
2011-06-11 20:07:23 +02:00
Jonas Bonér
5006f8e3b0
renamed 'remote' module config option to 'cluster' + cleaned up config file comments
...
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-06-10 21:01:19 +01:00
Jonas Bonér
5c92a2704d
Moved 'akka.remote' config elements into 'akka.cluster'
2011-06-10 20:49:00 +01:00
Jonas Bonér
8098a8d9be
Added storage models to remote protocol and refactored all clustering to use it.
...
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-06-10 16:31:24 +01:00
Jonas Bonér
7dbc5ac958
Merged with master
2011-06-10 08:41:10 +02:00
Jonas Bonér
85e742373a
- Made ClusterActorRef not extends RemoteActorRef anymore
...
- Refactored and cleaned up Transaction Log initialization
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-06-07 20:10:08 -07:00
Viktor Klang
cc1b44ab32
Improving error messages from creating Actors outside of actorOf, and some minor code reorganizing
2011-06-07 21:41:16 -05:00
Jonas Bonér
5a24ba5568
Added ZK flag for cluster deployment completed + methods for checking and invalidating it
2011-06-07 18:42:39 -07: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
Jonas Bonér
04efc440d6
1. Made LocalActorRef aware of replication
...
2. Added configuration for transaction log replication
3. Added replication schemes WriteThrough and WriteBehind
4. Refactored serializer creation and lookup in Actor.scala
5. Extended network protocol with replication strategy
6. Added BookKeeper management to tests
7. Improved logging and error messages
8. Removed ReplicatedActorRef
9. Added snapshot management to TransactionLog
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-06-07 11:10:29 -07:00
Martin Krasser
cee934a99a
Fixed failing RoutingSpec
2011-06-07 12:41:53 +02:00
Martin Krasser
df62230bfe
Merge branch 'master' into 911-krasserm
2011-06-07 11:59:41 +02:00
Viktor Klang
ed5ac01d72
Removing Jersey from the docs
2011-06-07 01:58:21 -05:00
Viktor Klang
c2626d2857
Adding TODOs to TypedActor so we know what needs to be done before 2.0
2011-06-06 20:51:10 -07:00
Viktor Klang
e41a3b1220
Making ActorRef.address a def instead of a val
2011-06-06 20:50:49 -07: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
39ca090110
Adding tests for LocalActorRef serialization (with remoting disabled)
2011-06-06 19:10:13 -07:00
Debasish Ghosh
40d1ca6da2
Issue #595 : Pluggable serializers - basic implementation
2011-06-07 06:36:21 +05:30
Viktor Klang
6f0501978a
Fixing bugs in actorref creation, or rather, glitches
2011-06-06 16:48:25 -07:00