Commit graph

424 commits

Author SHA1 Message Date
Roland
f75d16f710 fix small naming errors in supervision.rst 2011-10-17 17:59:04 +02:00
Roland
ab4f62cebe add first draft of supervision spec 2011-10-17 16:17:28 +02:00
Viktor Klang
5788ed4281 Renaming link/unlink to startsMonitoring/stopsMonitoring 2011-10-14 15:09:46 +02:00
Roland
44b94643e5 Merge with Peter's work (i.e. merging master into tame-globals) 2011-10-13 14:17:07 +02:00
Roland
3709a8f828 fix akka-docs compilation, remove duplicate applications from STM tests 2011-10-13 13:53:09 +02:00
Peter Vlugter
317b8bc03b Merge master into tame-globals branch 2011-10-13 13:41:44 +02:00
Roland
e2f9528bc0 fix compilation of akka-docs 2011-10-12 15:25:04 +02:00
Peter Vlugter
b4a1c95f78 Fix for right arrows in pdf docs 2011-10-12 10:55:35 +02:00
Jonas Bonér
e20866c982 Moved method for creating a RoutedActorRef from 'Routing.actorOf' to 'Actor.actorOf' 2011-10-11 11:55:59 +02:00
Jonas Bonér
114abe19bd Merge branch 'failure-detector-refactoring' 2011-10-07 16:21:27 +02:00
Jonas Bonér
4ec050c12e Major refactoring of RemoteActorRefProvider, remote Routing and FailureDetector, including lots of fixes and improvements.
- Decoupled FailureDetector from Routing by introducing ConnectionManager which uses FailureDetector instead of it being the same thing.
- Added ConnectionManager
- Added LocalConnectionManager
- Added RemoteConnectionManager
- Improved RoutedProps
- Integrated and added configuration for Scatter Gather router
- Added NoOpFailureDetector
-  Misc API and documentation improvements

Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-10-07 15:42:55 +02:00
Viktor Klang
913ef5d232 Implementing support for custom eviction actions in ActorPool as well as providing default Props for workers 2011-10-07 11:20:49 +02:00
Peter Vlugter
7884691d3a Begin using compiled code examples in the docs. See #781 2011-10-05 17:41:29 +02:00
Viktor Klang
815f710e11 Removing PriorityDispatcher since you can now use Dispatcher with UnboundedPriorityMailbox or BoundedProprityMailbox 2011-10-04 20:10:04 +02:00
Viktor Klang
a12ee36151 Merge commit 2011-09-29 13:11:35 +02:00
Jonas Bonér
0957e41d19 Renamed 'replication-factor' config element to 'nr-of-instances' and 'ReplicationFactor' case class to 'NrOfInstances'.
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-09-28 19:42:12 +02:00
Viktor Klang
a6f53d8605 Major rework of supervision and death watch, still not fully functioning 2011-09-28 14:19:59 +02:00
Jonas Bonér
db8a20ea37 Changed all 'def foo(): Unit = { .. }' to 'def foo() { .. }' 2011-09-27 17:41:02 +02:00
Viktor Klang
a7cb5b5212 Upgrading to SBT 0.11 2011-09-27 10:37:53 +02:00
Viktor Klang
1b90a467bc Removing freshInstance and reverting some of the new BalancingDispatcher code to expose the race condition better 2011-09-26 11:08:45 +02:00
Viktor Klang
6e0e9910e9 Fixing the camel tests for real this time by introducing separate registered/unregistered events for actors and typed actors 2011-09-22 17:15:51 +02:00
Jonas Bonér
00d3b87586 Merge branch 'remote-actorref-provider'
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-09-22 04:38:33 +02:00
Jonas Bonér
af49b99d6f Completed RemoteActorRefProvider and parsing/management of 'remote' section akka.conf, now does provisioning and local instantiation of remote actor on its home node. Also changed command line option 'akka.cluster.port' to 'akka.remote.port'.
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-09-22 03:36:59 +02:00
Jonas Bonér
db51115a0e Added doc about message ordering guarantees.
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-09-21 23:41:52 +02:00
Jonas Bonér
7bc698f864 Moved remote-centric config sections out of 'cluster' to 'remote'. Minor renames and refactorings.
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-09-20 16:30:21 +02:00
Viktor Klang
f9e23c3102 Resolve merge conflict with master 2011-09-19 19:01:23 +02:00
Viktor Klang
b66d45ec6c Removing deployId from config, should be replaced with patterns in deployment configuration that is checked towards the address 2011-09-19 15:20:52 +02:00
Peter Vlugter
7b1cdb4457 Remove SelfActorRef and use ActorContext to access state in ActorInstance. See #1202
- removed SelfActorRef
- added an ActorContext interface that provides a view into ActorInstance
- the ActorInstance (as ActorContext) gets injected into the Actor
- moved self methods like sender and reply directly to the Actor
2011-09-19 12:03:15 +02:00
Viktor Klang
4a0358ad7d Removing LifeCycle from Props, it's now a part of AllForOnePermanent, OneForOnePermanent etc 2011-09-14 18:01:43 +02:00
Viktor Klang
8a7eacb3c6 Merge with master 2011-09-09 12:00:19 +02:00
Jonas Bonér
2dea305136 Merge branch 'master' into wip-remote-connection-failover 2011-09-08 19:50:33 +02:00
Viktor Klang
6114df1efd Merge branch 'master' into wip-nostart 2011-09-08 17:22:52 +02:00
Jonas Bonér
603a0624bc Added old 'clustering.rst' to disabled documents. To be edited and included into the documentation.
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-09-08 16:03:59 +02:00
Viktor Klang
d8390a61f6 #1180 - moving the Java API to Futures and Scala API to Future 2011-09-08 15:54:06 +02:00
Viktor Klang
bbb79d8e0d Start removed but cluster is broken 2011-09-08 11:02:17 +02:00
Roland Kuhn
06f28cbb09 Merge pull request #87 from jrudolph/patch-1
Just a little documentation fix where a bullet wasn't displayed correctly

Merged by rkuhn: valid one-character fix should not be a problem
2011-09-03 02:32:41 -07:00
Jonas Bonér
5e290ec393 Merge branch 'master' of github.com:jboner/akka
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-08-29 14:26:24 +02:00
Jonas Bonér
66f339e202 Moved all 'akka.remote' to 'akka.cluster', no more 'remote' package.
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-08-29 11:44:33 +02:00
Peter Veentjer
650e78b2f7 Merge ClusterActoRef & RoutedActorRef: After merge with master, part 2 2011-08-29 12:07:34 +03:00
Peter Veentjer
56d4fc7d7c Merge ClusterActoRef & RoutedActorRef: After merge with master 2011-08-29 09:22:14 +03:00
Patrik Nordwall
e2ef8404b2 Added disclaimer about typesafe repo, and info about underlaying repositories. See #1127
(cherry picked from commit 11aef33e3913aee922b78fcc684416a03439d9a5)
2011-08-28 22:19:00 +02:00
Peter Veentjer
ee4d241ceb Use RoutedProps to configure Routing (local and remote). Ticket #1060 2011-08-27 08:10:25 +03:00
Viktor Klang
c7d58c600b Adding initial support for Props 2011-08-26 17:25:18 +02:00
Jonas Bonér
9a5b1a88e6 Added explicit call to Cluster.node.start() in various tests.
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-08-24 21:51:18 +02:00
Viktor Klang
b76c02d136 #1139 - Added akka.actor.DefaultBootableActorLoaderService for the Java API 2011-08-24 12:42:26 +02:00
Jonas Bonér
950ad21117 Fixed problem with node and test infrastructure initialization order causing multi-jvm test to fail randomly.
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-08-19 15:10:13 +02:00
Jonas Bonér
dfc1a68aac Fixed race condition in initial and dynamic management of node connections in Cluster
* Using CAS optimistic concurrency using versioning to fix initial and dynamic management of node connections in Cluster
* Fixed broken bootstrap of ClusterNode - reorganized booting and removed lazy from some fields
* Removed 'start' and 'isRunning' from Cluster
* Removed 'isStarted' Switch in Cluster which was sprinkled all-over cluster impl
* Added more and better logging
* Moved local Cluster ops from Cluster to LocalCluster
* Rewrote RoundRobinFailoverMultiJvmSpec to be correct
* RoundRobinFailoverMultiJvmSpec now passes
* Minor reformatting and edits

Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-08-18 11:35:14 +02:00
Patrik Nordwall
21be1ac45a Docs on how to use supervision from Java is wrong. Fixes #1114 2011-08-16 09:57:30 +02:00
Patrik Nordwall
4e312fcc0f Instruction of how to write reference to ticket number in first line. 2011-08-15 20:48:21 +02:00
Roland
2d1a54a50d Merge forward-ports from branch 'release-1.2' 2011-08-14 23:48:33 +02:00