Commit graph

12466 commits

Author SHA1 Message Date
Viktor Klang
2f87da5dd4 Removing some boilerplate code in Deployer 2011-05-21 16:14:15 +02:00
Viktor Klang
e5035be5fa Tidying up some code in ClusteredActorRef 2011-05-21 15:55:15 +02:00
Viktor Klang
5f03cc5d87 Switching to a non-blocking strategy for the CyclicIterator and the RoundRobin router 2011-05-21 15:37:09 +02:00
Viktor Klang
e735b335fb Removing lots of duplicated code 2011-05-21 13:13:40 +02:00
Viktor Klang
70137b45e5 Fixing a race in CyclicIterator 2011-05-21 13:13:28 +02:00
Viktor Klang
50bf97bf54 Removing allocations and excessive traversals 2011-05-21 12:53:46 +02:00
Derek Williams
170eb47ab0 add NIO trait for Actor to handle nonblocking IO 2011-05-20 22:14:59 -06:00
Viktor Klang
3181905fed Renaming EBEDD to Dispatcher, EBEDWSD to BalancingDispatcher, ThreadBasedDispatcher to PinnedDispatcher and PEBEDD to PriorityDispatcher, closing ticket #784 2011-05-20 22:56:30 +02:00
Viktor Klang
1f024f1c9e Harmonizing constructors and Dispatcher-factories, closing ticket #807 2011-05-20 22:25:46 +02:00
Viktor Klang
476334bad7 Merge branch 'master' of github.com:jboner/akka 2011-05-20 20:47:27 +02:00
Viktor Klang
41a08237d9 Moved secure cookie exchange to on connect established, this means I could remove the synchronization on send, enabling muuuch more throughput, also, since the cookie isn`t sent in each message, message size should drop considerably when secure cookie handshakes are enabled. I do however have no way of testing this since it seems like the clustering stuff is totally not working when it comes to the RemoteSupport 2011-05-20 19:40:11 +02:00
Jonas Bonér
cd18e72342 Fixed issues with 'ClusterNode.use(address): ActorRef'.
Various other fixes and minor additions.

Signed-off-by: Jonas Bonér <jonasremove@jonasboner.com>
2011-05-20 17:13:39 +02:00
Jonas Bonér
763dfffa0b Changed creating ClusterDeployer ZK client on object creation cime rather than on 'init' method time 2011-05-20 15:16:26 +02:00
Jonas Bonér
b9a1d49999 Fixed problems with trying to boot up cluster through accessing Actor.remote when it should not 2011-05-20 15:04:21 +02:00
Jonas Bonér
19f6e6a469 Merge branch 'master' of github.com:jboner/akka 2011-05-20 14:36:54 +02:00
Jonas Bonér
f0be165a07 Refactored and changed boot of Cluster and ClusterDeployer.
Fixed problems with ClusterDeployerSpec and ClusterMultiJvmSpec.
Removed all akka-remote tests and samples (needs to be rewritten later).
Added Actor.cluster member field.
Removed Actor.remote member field.

Signed-off-by: Jonas Bonér <jonasremove@jonasboner.com>
2011-05-20 14:36:26 +02:00
Viktor Klang
64c7107d8c Replacing hook + provider with just a PartialFunction[String,ActorRef], closing ticket #749 2011-05-20 13:56:47 +02:00
Viktor Klang
2f62d30b91 Fixing import shadowing of TransactionLog 2011-05-20 13:56:13 +02:00
Viktor Klang
5a9be1be06 Adding the migration guide from 0.10 to 1.0 closing ticket #871 2011-05-20 13:37:28 +02:00
Viktor Klang
cd3cb8cd57 Renaming akka.routing.Dispatcher to Router, as per ticket #729 2011-05-20 12:29:48 +02:00
Viktor Klang
f9a335ea13 Adding support for obtaining the reference to the proxy of the currently executing TypedActor, this is suitable for passing on a safe alternative to _this_ 2011-05-20 11:45:14 +02:00
Jonas Bonér
b95382c3e2 Merge branch 'wip-new-serialization' 2011-05-20 09:31:57 +02:00
Jonas Bonér
b63709d82c Removed typeclass serialization in favor of reflection-based.
Removed possibility to create multiple ClusterNode, now just one in Cluster.node.
Changed timestamp format for default EventHandler listener to display NANOS.
Cleaned up ClusterModule in ReflectiveAccess.

Signed-off-by: Jonas Bonér <jonasremove@jonasboner.com>
2011-05-20 09:08:11 +02:00
Derek Williams
e4b96b16aa Refactor for improved clarity and performance.
'Either' already uses pattern matching internally for all of it's methods,
and the 'right' and 'left' methods allocate an 'Option' which is now avoided.
2011-05-19 21:08:27 -06:00
Derek Williams
3008aa7b03 Merge branch 'master' into promisestream 2011-05-19 17:23:45 -06:00
Derek Williams
5b99014cba Refactor to avoid allocations 2011-05-19 17:23:19 -06:00
Roland
4809b63fda fix bad move of CallingThreadDispatcherModelSpec 2011-05-19 23:08:39 +02:00
Derek Williams
634d26aa86 Add PromiseStream 2011-05-19 14:43:58 -06:00
Derek Williams
8058a5514a Specialize monadic methods for AlreadyCompletedFuture, fixes #853 2011-05-19 14:37:54 -06:00
Roland
a48f6fdf90 add copyright headers 2011-05-19 21:34:21 +02:00
Viktor Klang
7955912593 Reverting use of esoteric character for field 2011-05-19 18:58:11 +02:00
Viktor Klang
e3daf11425 Removed some more boilerplate 2011-05-19 18:50:28 +02:00
Viktor Klang
1e5e46c089 Cleaned up the TypedActor coe some more 2011-05-19 18:31:22 +02:00
Viktor Klang
23614fe306 Removing some boilerplate 2011-05-19 17:36:32 +02:00
Viktor Klang
d3e85f079b Implementing the typedActor-methods in ActorRegistry AND added support for multi-interface proxying 2011-05-19 16:53:40 +02:00
Viktor Klang
59025e558b Merge with master 2011-05-19 15:03:47 +02:00
Viktor Klang
c49498f463 Merge with master 2011-05-19 14:30:41 +02:00
Viktor Klang
236d8e07e9 Removing the old typed actors 2011-05-19 14:29:21 +02:00
Jonas Bonér
88946889b4 Fixed wrong import in multi-jvm-test.rst. Plus added info about where the trait resides. 2011-05-19 03:15:39 -07:00
Jonas Bonér
76d9c3c33a 1. Added docs on how to run the multi-jvm tests
2. Fixed cyclic dependency in deployer/cluster boot up
3. Refactored actorOf for clustered actor deployment, all actorOf now works
2011-05-19 10:58:30 +02:00
Jonas Bonér
8741454e89 Added copyright header 2011-05-18 20:29:53 +02:00
Viktor Klang
08ee4829aa Merge branch 'master' of github.com:jboner/akka 2011-05-18 17:45:36 +02:00
Viktor Klang
c29ef4ba7a Merge with master 2011-05-18 17:45:17 +02:00
Jonas Bonér
34f4fd728f Turned of verbose mode of formatting 2011-05-18 17:41:10 +02:00
Viktor Klang
6461de7e7e Removed the not implemented transactor code and removed duplicate code 2011-05-18 17:39:52 +02:00
Jonas Bonér
f7ff547839 merged with scalariform branch 2011-05-18 17:34:27 +02:00
Jonas Bonér
4deeb775f4 converted tabs to spaces 2011-05-18 17:25:59 +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
Viktor Klang
8f281254ab Normalizing the constructors, mixing manifests and java api wasn`t ideal 2011-05-18 17:24:46 +02:00
Viktor Klang
07acfb49ee Making the MethodCall:s serializable so that they can be stored in durable mailboxes, and can be sent to remote nodes 2011-05-18 17:10:22 +02:00