Commit graph

580 commits

Author SHA1 Message Date
Roland
422cf386c8 incorporate review comments, add docs, see #2031
also add Java sample for creating custom MailboxType
2012-06-19 14:52:02 +02:00
Roland
b60210362e make system.actorOf() non-blocking (and working), see #2031
- introducing RepointableActorRef, which starts out with an
  UnstartedActorCell which can cheaply be created; the Supervise()
  message will trigger child.activate() in the supervisor, which means
  that the actual creation (now with normal ActorCell) happens exactly
  in the right place and with the right semantics. Messages which were
  enqueued to the dummy cell are transferred atomically into the
  ActorCell (using normal .tell()), so message sends keep working
  exactly as they used to
- this enables getting rid of the brittle synchronization around
  RoutedActorRef by replacing that one with a RepointableActorRef
  subclass which creates RoutedActorCells upon activate(), with the nice
  benefit that there is no hurry then to get it right because the new
  cell is constructed “on the side”

misc fixes:

- InvalidMessageException is now actually enforced when trying to send
  “null”
- Mailboxes may be created without having an ActorCell, which can come
  in handy later, because the cell is only needed when this mailbox is
  going to be scheduled on some executor
- remove occurrences of Props(), which is equivalent to Props[Nothing],
  which is equivalent to «bug»
- add test case which verifies that context.actorOf is still synchronous
- plus all the stuff I have forgotten.
2012-06-13 17:57:56 +02:00
Patrik Nordwall
f6365e83e7 Change to logback 1.0.4, see #2198 2012-06-07 20:40:14 +02:00
Viktor Klang
211435048a #2189 - Removing RemoteClientWriteFailed and log it as a RemoteClientError and send the message to DeadLetters 2012-06-06 13:56:46 +02:00
viktorklang
9581ec8403 Merge pull request #511 from akka/wip-2134-deathwatch2.0-√
Wip 2134 deathwatch2.0 √
2012-06-05 03:33:01 -07:00
Roland
0a011ee50e fix a few doubled the’s 2012-06-04 23:35:52 +02:00
Roland
b98fb0e37a clarify deployment using anonymous factories 2012-06-04 23:10:03 +02:00
Roland
b840624b78 warn against using TestKitBase trait 2012-06-04 19:28:58 +02:00
Viktor Klang
a5127b12dd Merge branch 'master' into wip-2134-deathwatch2.0-√ 2012-06-04 13:58:09 +02:00
Roland
df479a0bf0 add back TestProbe.reply, see #2172 2012-06-04 11:29:56 +02:00
Roland
de59444795 offer TestKitBase trait, see #2174 2012-06-04 10:03:41 +02:00
Viktor Klang
17ee47079a Incorporating Roland's feedback 2012-06-02 14:49:28 +02:00
Viktor Klang
fca5b9afbd #2166 - Adding link to Kryo serialization by Roman Levenstein 2012-05-31 21:58:24 +02:00
viktorklang
346f8be047 Correcting typo 2012-05-31 21:14:43 +03:00
Viktor Klang
90344b657e Removing doc references to onResult and onTimeout 2012-05-30 23:32:22 +02:00
Viktor Klang
96f264e842 Initial stab at DeathWatch 2.0, tests don't pass just yet 2012-05-28 16:49:49 +02:00
Björn Antonsson
5fd1aad0d0 added docs about BalancingDispatcher and routers, see #2080 2012-05-28 10:33:59 +02:00
Roland
0a09cfc893 kick off pattern collection 2012-05-27 14:18:35 +02:00
Roland
e748da6f49 improve one word, see #2131 2012-05-25 18:17:13 +02:00
Roland
178c9145fe document creator requirement, see #2131 2012-05-25 18:17:13 +02:00
Viktor Klang
021d7fcfeb #2136 - Making it possible to use balancing dispatcher for routees but not routers, changing the docs and updating the tests 2012-05-25 17:42:12 +02:00
Roland
24f6406634 fix specs2 samples so they system.shutdown 2012-05-25 14:42:39 +02:00
Viktor Klang
dc17bba62f Removing warning from serialization.rst by adding whitespace, thanks reST. 2012-05-25 14:33:28 +02:00
Viktor Klang
fdd4a85ab0 Adding docs about creating TypedActor children 2012-05-25 00:49:45 +02:00
Roland
dd30e81a1a document Specs2 + TestKit, see #2068, plus fix up broken includes
- include move of doc samples out of akka package also in the
  includecode directives
- fix broken serialization docs, which require one thing in the akka
  package
2012-05-24 22:23:36 +02:00
Roland
7d342e5c96 add docs about how to serialize ActorRefs
- scala & java samples of how to obtain the correct address to inject
  when calling ActorPath.toStringWithAddress
2012-05-24 19:27:29 +02:00
Viktor Klang
ea1817b6d8 Merging with latest master 2012-05-24 11:59:36 +02:00
Jonas Bonér
63e4b6e96e Merge pull request #464 from akka/wip-verify-balancing-dispatcher-is-not-used-with-any-kind-of-router-jboner
Added verification that a BalancingDispatcher can not be used with any kind of Router.
2012-05-23 04:30:28 -07:00
Viktor Klang
5bafa2d3a0 Merge branch 'master' into wip-2006-binary-compat-√ 2012-05-23 12:05:30 +02:00
Viktor Klang
f92f7431dd Adding references to Roman Levensteins akka-protostuff and akka-quickser in the serialization docs 2012-05-22 14:57:27 +02:00
Viktor Klang
60dd03d0a2 Merge branch 'master' into wip-2006-binary-compat-√ 2012-05-22 14:32:05 +02:00
Roland
9ac11a6432 improve documentation of explicitly given routees 2012-05-22 13:07:05 +02:00
Jonas Bonér
5c48cbb145 Added section to remote docs about remote security as well as improved doc in reference config 2012-05-22 12:08:49 +02:00
Patrik Nordwall
0eae9d8d22 Move all doc examples out of the akka-package to avoid use of private APIs. See #2092 2012-05-22 11:37:09 +02:00
Viktor Klang
fad9470005 Merge branch 'master' into wip-2006-binary-compat-√ 2012-05-21 20:21:27 +02:00
Jonas Bonér
ae84ee0a57 Updated copyright to 2012 2012-05-21 16:45:15 +02:00
Viktor Klang
3ba5db053a Merge branch 'master' into wip-2006-binary-compat-√ 2012-05-21 14:37:42 +02:00
Viktor Klang
26f6c48ae1 HUGE CHANGE - moving behaviorStack into ActorCell 2012-05-21 13:47:48 +02:00
patriknw
d64020a2cc Merge pull request #455 from akka/wip-2061-dmb-tests-patriknw
Create test-fixture for durable mailboxes. See #2061
2012-05-20 22:48:54 -07:00
Patrik Nordwall
6eb8da6eb5 Minor adjustments from feedback. See #2072 2012-05-20 21:00:18 +02:00
Viktor Klang
1a3329baa2 #2091 - Adding a small intro to the Microkernel docs to state what the purpose of it is. 2012-05-20 16:00:24 +02:00
Viktor Klang
ae8a65c8e0 Merge branch 'master' into wip-2006-binary-compat-√ 2012-05-18 19:33:55 +02:00
Jonas Bonér
6d962174fe Added documentation about the verification of BalancingDispatcher + Router (added to both Dispatcher and Routing docs) 2012-05-18 16:16:41 +02:00
Viktor Klang
2bb255b480 Removing ActorTimeoutException everywhere... I swear it... 2012-05-18 15:23:21 +02:00
Patrik Nordwall
877981caef DOC: TestKit sample is wrong. See #2072
* Added code to TestKitUsageSpec.scala
* Fixed errors
* Fixed race
2012-05-18 13:28:53 +02:00
Roland
4256522fc8 clarify semantics of name reuse/gracefulStop, see #2073 2012-05-16 13:43:00 +02:00
Patrik Nordwall
8924080017 Create test-fixture for durable mailboxes. See #2061
* Improved DurableMailboxSpec for stand alone usage
* Changed build to publish DurableMailboxSpec in akka-mailboxes-common-test
* Changed documentation of durable mailboxes and added full example of
  how to implement a durable mailbox, with test
2012-05-15 16:11:00 +02:00
Jonas Bonér
1c426e4772 Improved the docs for dataflow concurrency 2012-05-14 15:43:58 +02:00
Björn Antonsson
38d43aee13 Added caution about custom routers to docs 2012-05-11 18:31:20 +02:00
Jonas Bonér
79751232ef Fixed minor sphinx complaint in microkernel docs 2012-05-11 10:36:43 +02:00