Commit graph

1610 commits

Author SHA1 Message Date
Roland
37284bab4f remove ActorContext.suspendForChildTermination, handle exceptions, add docs 2012-03-01 17:36:05 +01:00
Viktor Klang
4876eb037f Removing legacy section of documentation 2012-03-01 11:31:50 +01:00
Viktor Klang
2bc78e1026 Fixing broken link in docs 2012-03-01 10:14:39 +01:00
Roland
64b523638e rework childrenRefs to make context.stop(child) fully asynchronous
- replace TreeMap with custom ChildrenContainer, which has three
  implementations: empty, normal and “terminating” (i.e. waiting for
  some child to terminate)
- split recreate() in the same way as terminate(), so that there is a
  phase during which the suspended actor waits for termination of all
  children which were stopped in preRestart
- do not null out “actor” in ActorCell during restart, because we do
  need the supervisionStrategy and nulling it out does not buy us much
  in this case anyway
- provide new ActorContext.suspendForChildTermination(), which enters
  limbo for as long there are outstanding termination requests; this
  enables code which is very similar to previously (half-working) setups
  with “synchronous” context.stop(child)

docs are still missing, plus a little polishing here and there; oh, and
before I forget: ActorCell NOW is 64 bytes again ;-)
2012-02-29 21:10:31 +01:00
Jonas Bonér
e91af31fb9 Added FSM to the Node's ClusterCommandDaemon to manage the cluster command state as an FSM. Also added tests for all the FSM state changes.
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2012-02-28 17:04:48 +01:00
Jonas Bonér
517981101f Added docs about how to enable 'long-running' and 'timing' tests.
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2012-02-28 11:46:37 +01:00
Jonas Bonér
3b5c5e5f0f Removed cluster seed nodes, added 'join.contact-point', changed joining phase, added singleton cluster mode plus misc other changes.
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2012-02-28 11:14:25 +01:00
Jonas Bonér
bf7c307424 Changes to cluster specification.
- Added section on single-node cluster.
- Changed seed nodes to deputy nodes.
- Seed nodes are no longer used as contact points only to break logical partitions.

Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2012-02-28 11:14:24 +01:00
Jonas Bonér
bb0e5536be Removed cluster seed nodes, added 'join.contact-point', changed joining phase, added singleton cluster mode plus misc other changes.
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2012-02-28 11:14:24 +01:00
Jonas Bonér
5726481601 Changes to cluster specification.
- Added section on single-node cluster.
- Changed seed nodes to deputy nodes.
- Seed nodes are no longer used as contact points only to break logical partitions.

Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2012-02-28 11:13:31 +01:00
Roland
73170d1f4b Merge remote-tracking branch 'origin/master' into testing-2.9.2 2012-02-28 10:52:27 +01:00
Viktor Klang
db6bad7fc0 spelling 2012-02-28 10:32:14 +01:00
Viktor Klang
778bab40ea Removing dataflow docs for Java, as there is no such thing 2012-02-28 00:23:47 +01:00
Viktor Klang
b9359a82a6 Adding docs about how to do remoting with TypedActors 2012-02-27 15:19:07 +01:00
Viktor Klang
572382b220 Removing playMini as to avoid the cyclic dependency, please look at the play-mini docs for examples 2012-02-27 14:02:27 +01:00
Viktor Klang
46b9b3cd43 Removing the Filter class, keeping Filter.filterOf 2012-02-27 11:08:02 +01:00
Roland
5fe27b523b rename AddressExtractor to AddressFromURIString, see #1865 2012-02-27 10:28:20 +01:00
Roland
b4fcc3b2f2 Merge remote-tracking branch 'origin/master' into wip-1836-durMB-settings-∂π
... and fix up MailboxType docs with new constructor signature.
2012-02-26 21:38:56 +01:00
Roland
eaee16c7d3 include system.settings when constructing MailboxType, see #1864
- necessary to not have to construct one Settings object per
  MessageQueue
- added system.settings to DispatcherPrerequisites
2012-02-26 21:26:25 +01:00
Roland
0cb2184904 make it compile in SBT & Eclipse with 2.9.2-SNAPSHOT
- there is one remaining bug, which makes it impossible to implement
  Function1[T, Boolean] from Java (I wonder if this will ever work,
  given that there is no equivalent type expressible in Java)
- hence create Function1 in Scala code, Java only prepares a Filter SAM
  which does not inherit from anything
- ugly (one more alloc) but the only way I see right now.
2012-02-25 19:34:59 +01:00
Viktor Klang
e14a64be5b Updating misc docs 2012-02-25 17:08:48 +01:00
Viktor Klang
20e88024e1 Making sure that the java and scala extension docs mention thread safety 2012-02-25 15:00:09 +01:00
Viktor Klang
29303f28a4 Adding Gatling to the third-party integrations 2012-02-24 14:36:52 +01:00
Viktor Klang
1e7ce2bfc7 #1859 - rewriting dispatcher docs 2012-02-24 14:28:17 +01:00
viktorklang
194ec7558d Merge pull request #347 from lespea/patch-1
Remove unneeded word "that".
2012-02-22 07:48:32 -08:00
Roland
18cd7f8d5f Merge branch 'wip-1854-fix-restart-∂π' 2012-02-22 15:52:11 +01:00
Roland
ae4a1960ad document multi-arg logging, see #1856 2012-02-22 11:00:00 +01:00
Adam Lesperance
4a47ce8ba3 Remove unneeded word "that". 2012-02-21 13:35:07 -06:00
Viktor Klang
98b74a974c Last minute awesomization of the priority based mailbox API docs 2012-02-21 18:24:56 +01:00
Viktor Klang
2b4c8b2508 Changing so that PriorityMailboxes can be used 2012-02-21 17:24:09 +01:00
Roland
c84daf83e8 clean up mailbox types configurability, see #1843
- add (config) constructors to std mailbox types
- update docs for prio mailbox to directly implement MailboxType
2012-02-21 16:40:34 +01:00
Roland
ef0af0b47f document RemoteRouterConfig, see #1846
- fix Java API
- change to pass in Addresses so that validation happens earlier
2012-02-21 15:37:51 +01:00
Viktor Klang
445ffa3a7d #1842 - Documenting initial behavior 2012-02-21 12:03:14 +01:00
viktorklang
1ea4dd210f Merge pull request #341 from jboner/wip-1851-AllForOne-∂π
remove termination-triggered slaughter, see #1851
2012-02-21 00:29:50 -08:00
Roland
72ab6429c2 document AllForOneStrategy better, see #1851 2012-02-21 08:51:51 +01:00
viktorklang
a0bb415393 Merge pull request #338 from jboner/wip-1845-monitor-typed-actors-√
Wip 1845 monitor typed actors √
2012-02-20 13:02:42 -08:00
Viktor Klang
a2a9996ee6 Fixing typo 2012-02-20 22:02:15 +01:00
viktorklang
c435f10613 Merge pull request #337 from jboner/wip-1828-document-ec-√
Adding example on how to roll your own ExecutionContext
2012-02-20 12:59:38 -08:00
Viktor Klang
7c43d049a9 Adding Receiver-docs 2012-02-20 16:25:01 +01:00
Viktor Klang
0f685bdaae Adding example on how to roll your own ExecutionContext 2012-02-20 15:43:17 +01:00
Viktor Klang
da00a37f64 Removing unused RemoteServerWriteFailed event, and added docs describing the possibility to listen to remote events 2012-02-20 15:14:23 +01:00
Roland Kuhn
ea45c8bdbb Merge pull request #334 from jboner/wip-system-and-routers-∂π
Wip system and routers ∂π
2012-02-20 01:59:32 -08:00
viktorklang
5e2b74bfe6 Merge pull request #328 from jboner/wip-1821-checked-exceptions-√
First stab, do we want to go for throws Throwable or even just switch to...
2012-02-19 13:49:56 -08:00
Roland
62be4dafee fix Java API for creating SupervisorStrategy from array 2012-02-19 10:13:53 +01:00
Roland
ec15fd6cfd add TestKit.setAutoPilot, see #1807 2012-02-19 00:09:04 +01:00
Roland
0f48b9f3eb make supervisorStrategy of Router configurable, see #1835
- also do not scrap router’s children upon restart
- and add docs and tests
2012-02-18 22:15:39 +01:00
Henrik Engstrom
f4069ee776 Fixed minor typos in the Futures doc 2012-02-18 14:01:43 +01:00
Viktor Klang
ee08695e6f #1830 - Adding warning section in dispatcher docs for the default dispatcher 2012-02-17 13:06:50 +01:00
Viktor Klang
ee6e7e3a2d Fixing #1837 2012-02-17 13:01:22 +01:00
Henrik Engstrom
3955813db7 Missed one place in the documentation containing a reference to an old version of play-mini. All refs are now ok. 2012-02-17 10:36:44 +01:00