Commit graph

53 commits

Author SHA1 Message Date
Jonas Bonér
e6fa55b3a8 - Changed implementation of Actor.actorOf to work in the the new world of cluster.ref, cluster.use and cluster.store.
- Changed semantics of replica config. Default replicas is now 0. Replica 1 means one copy of the actor is instantiated on another node.
- Actor.remote.actorFor/Actor.remote.register is now separated and orthogonal from cluster implementation.
- cluster.ref now creates and instantiates its replicas automatically, e.g. it can be created first and will then set up what it needs.
- Added logging everywhere, better warning messages etc.
- Each node now fetches the whole deployment configuration from the cluster on boot.
- Added some config options to cluster

Signed-off-by: Jonas Bonér <jonasremove@jonasboner.com>
2011-05-25 16:18:35 +02:00
Jonas Bonér
f75dcdbd15 Full clustering circle now works, remote communication.
Added test for cluster communication.
Refactored deployment parsing.
Added InetSocketAddress to remote protocol.

Signed-off-by: Jonas Bonér <jonasremove@jonasboner.com>
2011-05-24 19:04:25 +02:00
Viktor Klang
8a790b1ddf Renaming CompletableFuture to Promise, Renaming AlreadyCompletedFuture to KeptPromise, closing ticket #854 2011-05-23 11:31:01 +02:00
Viktor Klang
236d8e07e9 Removing the old typed actors 2011-05-19 14:29:21 +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
Jonas Bonér
2655d44ee9 Merged wip-2.0 branch with latest master 2011-05-16 12:32:00 +02:00
Jonas Bonér
6c6089e081 Misc fixes everywhere; deployment, serialization etc. 2011-05-16 09:47:23 +02:00
Peter Vlugter
6f17d2cf6d Fix @deprecated warnings 2011-05-06 11:55:58 +12:00
Jonas Bonér
bd5cc53235 Clustered deployment in ZooKeeper implemented. Read and write deployments from cluster test passing. 2011-05-03 21:04:45 +02:00
Viktor Klang
c81748c95c Removing the intermediate InvocationTargetException and harmonizing creation of Actor instances 2011-05-03 16:26:30 +02:00
Viktor Klang
3da926a268 Merge branch 'ticket-808' 2011-04-30 12:46:33 +02:00
Viktor Klang
c2486cd52c Fixing ticket 808 2011-04-29 17:15:00 +02:00
Patrik Nordwall
1c29885f3d Reviewed and improved remote-actors doc 2011-04-29 17:09:22 +02:00
Jonas Bonér
517f9a212b Massive refactorings in akka-cluster. Also added ClusterDeployer that manages deployment data in ZooKeeper 2011-04-29 15:47:56 +02:00
Patrik Nordwall
6576cd51e9 Scala style fixes, added parens for side effecting shutdown methods 2011-04-29 10:20:16 +02:00
Jonas Bonér
868ec62ee7 Rebased from master branch 2011-04-27 01:06:08 +02:00
Jonas Bonér
2e7c76dd98 Rebased from master 2011-04-27 00:38:10 +02:00
Jonas Bonér
d1bdddd588 mid address refactoring 2011-04-20 09:04:57 +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
Jonas Bonér
3374eef6ce Merged with Viktors work with removing client managed actors. Also removed actor.id, added actor.address 2011-04-08 21:16:05 +02:00
Jonas Bonér
5f918e55bc commit in the middle of address refactoring 2011-04-08 15:29:14 +02:00
Patrik Nordwall
3da35fb191 reverted back to call-by-name parameter 2011-04-07 22:37:36 +02:00
Viktor Klang
3f49eadedc Removing more deprecation warnings and more client-managed actors residue 2011-04-07 13:03:23 +02:00
Viktor Klang
0dff50fa52 Removed client-managed actors, a lot of deprecated methods and DataFlowVariable (superceded by Future) 2011-04-07 12:48:30 +02:00
patriknw
35812951e2 Adjusted EventHandler to support Java API 2011-04-07 08:27:17 +02:00
Jonas Bonér
8e7c212481 Fixed bug with not shutting down remote event handler listener properly 2011-04-01 14:31:53 +02:00
Jonas Bonér
827c678b49 Changed *Iterator to take a Seq instead of a List 2011-04-01 14:29:26 +02:00
Jonas Bonér
cdbde3f661 Added comment about broken TypedActor remoting behavior 2011-03-31 15:55:30 +02:00
Jonas Bonér
e6c658f58d Changed UnknownRemoteException to CannotInstantiateRemoteExceptionDueToRemoteProtocolParsingErrorException - should be more clear now. 2011-03-25 16:25:36 +01:00
Jonas Bonér
f2ebd7a2f4 1. Added a 'pending-messages' tx log for all pending messages that are not yet delivered to the remote host, this tx log is retried upon successful remote client reconnect.
2. Fixed broken code in UnparsableException and renamed it to UnknownRemoteException.
2011-03-24 16:58:59 +01:00
Jonas Bonér
6449fa940f refactored remote event handler and added deregistration of it on remote shutdown 2011-03-24 12:48:40 +01:00
Viktor Klang
e588a2c90c Deprecating Client-managed remote actors 2011-03-10 18:31:03 +01:00
Viktor Klang
28090e26b6 Reverting fix for due to design flaw in *ByUuid 2011-03-08 11:46:03 +01:00
Viktor Klang
25ce71f79a Fixing #655: Stopping all actors connected to remote server on shutdown 2011-03-07 21:54:00 +01:00
Viktor Klang
d8c556bb39 Merge remote branch 'origin/0deps' into 0deps 2011-03-02 18:48:43 +01:00
Viktor Klang
1e72fbfe8b Potential fix for #672 2011-03-02 18:48:13 +01:00
Jonas Bonér
9354f0790c Removed logging 2011-02-28 22:54:32 +01:00
Jonas Bonér
2ef094f02f Fixed some TypedActor tests 2011-01-11 11:16:31 +01:00
Viktor Klang
21171f29f4 Adding more start methods for RemoteSupport because of Java, and added BeanProperty on some events 2011-01-05 17:03:40 +01:00
Viktor Klang
71596343c6 Minor code cleanup and deprecations etc 2011-01-05 16:36:50 +01:00
Viktor Klang
dbe6f203b3 Removing ActorRegistry object, UntypedActor object, introducing akka.actor.Actors for the Java API 2011-01-04 13:24:28 +01:00
Viktor Klang
00840c8f5a Adding support for non-delivery notifications on server-side as well + more code cleanup 2011-01-03 14:44:15 +01:00
Viktor Klang
718f831650 Adding support for failed messages to be notified to listeners, this closes ticket #587 2010-12-30 14:59:00 +01:00
Viktor Klang
960e161659 Fixing #586 and #588 and adding support for reconnect and shutdown of individual clients 2010-12-29 17:59:38 +01:00
Viktor Klang
236eecebcf Moving shared remote classes into RemoteInterface 2010-12-29 16:08:43 +01:00
Viktor Klang
a1d02435b1 WIP 2010-12-22 10:10:04 +01:00
Viktor Klang
c20aab06eb All tests passing, still some work to be done though, but thank God for all tests being green ;) 2010-12-21 14:36:47 +01:00
Viktor Klang
6edfb7d5b8 Reverted to using LocalActorRefs for client-managed actors to get supervision working, more migrated tests 2010-12-20 16:58:05 +01:00
Viktor Klang
dc15562ce1 Merged with release_1_0_RC1 plus fixed some tests 2010-12-20 12:10:46 +01:00