Patrik Nordwall
ce128740ab
Updated documentation of Actors (Java). See #1435
...
* Aligned the Java and Scala documentation for Actors
* Implemented hotswap samples in Java, and documented in same way as Scala docs
* Improved Actors (Scala) docs
* Fixed wrong preRestart and postRestart in UntypedActor
* Changed name of Dispatchers.fromConfig to newFromConfig and made it Java friendly
* Added ActorRef.ask with Timeout parameter in addition to the timeoutMillis
2011-12-08 19:30:04 +01:00
viktorklang
b4f486667f
Merge pull request #142 from jboner/wip-1447-actor-context-not-serializable-√
...
Making sure that ActorCell isn't serializable
2011-12-08 08:45:34 -08:00
Viktor Klang
3b5d45feac
Minor corrections after review
2011-12-08 17:45:02 +01:00
Viktor Klang
712805baec
Making sure that ActorCell isn't serializable
2011-12-08 16:07:03 +01:00
viktorklang
2b17415535
Merge pull request #141 from jboner/wip-1290-clarify-pitfalls
...
Clarifying some do's and dont's on Actors in the jmm docs
2011-12-08 06:16:27 -08:00
Viktor Klang
c2d9e70645
Fixing indentation and adding another common pitfall
2011-12-08 15:16:04 +01:00
Viktor Klang
9cc8b67cf4
Merging in the hotswap docs into master
2011-12-08 15:12:54 +01:00
Viktor Klang
519aa39f18
Removing 1-entry lists
2011-12-08 15:03:23 +01:00
Viktor Klang
8870c584d3
Clarifying some do's and dont's on Actors in the jmm docs
2011-12-08 14:59:39 +01:00
Viktor Klang
6cdb0126ad
Removing HotSwap and revertHotSwap
2011-12-08 14:44:18 +01:00
viktorklang
dd35b18664
Merge pull request #139 from jboner/wip-768-message-send-semantics
...
Elaborating on the message send semantics as per the ticket
2011-12-08 05:07:38 -08:00
Viktor Klang
210fd096c5
Corrections based on review
2011-12-08 14:04:58 +01:00
Viktor Klang
d7771dc596
Elaborating on the message send semantics as per the ticket
2011-12-08 12:09:19 +01:00
Peter Vlugter
9848fdc706
Update to sbt 0.11.2
2011-12-08 17:05:01 +13:00
patriknw
738857ccc2
Merge pull request #137 from jboner/wip-1435-doc-scala-actors-patriknw
...
Updated documentation of Actors Scala. See #1435
2011-12-07 08:11:06 -08:00
Patrik Nordwall
c8472826fe
Fixed review comments
2011-12-07 16:44:52 +01:00
Viktor Klang
4803ba517c
Making sure that it doesn't break for the dlq itself
2011-12-07 16:38:09 +01:00
Viktor Klang
b6f89e3cd2
Merge branch 'master' of github.com:jboner/akka
2011-12-07 15:52:24 +01:00
Viktor Klang
72d69cb7cc
Moving all the logic for cleaning up mailboxes into the mailbox implementation itself
2011-12-07 15:51:46 +01:00
Roland
5fc9eb2061
fix failing ActorLookupSpec: implied synchronicity in AskActorRef.whenDone which does not exist
2011-12-07 15:01:58 +01:00
viktorklang
bf3ce9bb87
Merge pull request #138 from jboner/wip-reset_behaviors_on_restart
...
#1429 - reverting hotswap on restart and termination
2011-12-07 05:23:00 -08:00
Patrik Nordwall
81492ce84b
Changed to Debug log level on some shutdown logging
2011-12-07 14:08:20 +01:00
Patrik Nordwall
2721a879c2
Use Config in benchmarks
2011-12-07 14:08:20 +01:00
Viktor Klang
119ceb0278
Since there is no user API for remoting anymore, remove the old docs
2011-12-07 13:40:29 +01:00
Viktor Klang
5c3c24bc58
Merge branch 'master' of github.com:jboner/akka
2011-12-07 13:37:05 +01:00
Viktor Klang
2872d8b987
#1339 - adding docs to testing.rst describing how to get testActor to be the implicit sender in TestKit tests
2011-12-07 13:36:53 +01:00
Viktor Klang
4084c017a3
Adding docs to clarify that restarting resets the actor to the original behavior
2011-12-07 13:30:56 +01:00
Viktor Klang
cde4576cc7
#1429 - reverting hotswap on restart and termination
2011-12-07 13:04:44 +01:00
Roland
75c8ac33b4
make next state’s data available in onTransition blocks, fixes #1422
...
cherry-picked from release-1.3
2011-12-07 11:59:04 +01:00
Patrik Nordwall
5cee76820e
Updated documentation of Actors Scala. See #1435
2011-12-07 11:56:58 +01:00
Viktor Klang
7351523585
Merge branch 'master' of github.com:jboner/akka
2011-12-07 11:51:40 +01:00
Roland
a0a44abe0d
add and verify Java API for actorFor/ActorPath, fixes #1343
2011-12-07 11:42:44 +01:00
Viktor Klang
50febc5c5a
Merge branch 'master' of github.com:jboner/akka
2011-12-07 11:38:51 +01:00
Patrik Nordwall
56dc18106b
ActorContext instead of ActorRef in HotSwap code parameter. See #1441
2011-12-07 11:25:35 +01:00
Viktor Klang
aa9b077657
Adding support for range-based setting of pool sizes
2011-12-07 11:25:27 +01:00
Patrik Nordwall
f7d6393027
Removed actorOf methods from AkkaSpec. See #1439
2011-12-07 11:10:54 +01:00
Patrik Nordwall
eb61173ff9
API doc clarification of context and getContext
2011-12-07 10:47:07 +01:00
patriknw
87fc7ea536
Merge pull request #136 from jboner/wip-1377-context-patriknw
...
Cleanup of methods in Actor and ActorContext trait. See #1377
2011-12-07 01:10:27 -08:00
Patrik Nordwall
9c73c8eac3
Merge branch 'master' into wip-1377-context-patriknw
2011-12-07 10:08:17 +01:00
Patrik Nordwall
1402c7692e
Minor fixes from review comments. See #1377
2011-12-07 10:07:46 +01:00
Roland
0f922a39ab
fix ordering issue in ActorLookupSpec
...
There is no guarantee concerning the order in which children are
traversed during an ActorSelection send operation.
2011-12-07 08:46:40 +01:00
Patrik Nordwall
1a93ddb7c0
Merge branch 'master' into wip-1377-context-patriknw
2011-12-07 08:07:58 +01:00
Patrik Nordwall
bfa14a692c
Merge branch 'master' into wip-1377-context-patriknw
...
Conflicts:
akka-actor/src/main/scala/akka/actor/ActorCell.scala
akka-actor/src/main/scala/akka/actor/ActorRef.scala
akka-actor/src/main/scala/akka/dispatch/AbstractDispatcher.scala
akka-actor/src/main/scala/akka/event/EventStream.scala
akka-tutorials/akka-tutorial-first/src/main/java/akka/tutorial/first/java/Pi.java
akka-tutorials/akka-tutorial-first/src/main/scala/Pi.scala
2011-12-07 07:49:34 +01:00
Roland
d8ede288d7
improve ScalaDoc of actorOf methods (esp. their blocking on ActorSystem)
2011-12-06 23:09:29 +01:00
Roland
c4ed57100e
make Jenkins wait for Davy Jones
...
- AkkaSpecSpec failed with nothing in the locker, but only on Jenkins
- cause: Davy Jones doesn’t get a chance to run because nobody actually
waits for his processing
- thus, give him permission to leave this world and have him confirm
that
2011-12-06 22:50:19 +01:00
Roland
a1d8f30669
fix bug in creating anonymous actors
...
- when no name was given, it resulted in a simple call to the provider
- which is completely the wrong thing to do in case of ActorSystem
- so, introduce CreateRandomNameChild op for guardians and use that
2011-12-06 21:34:29 +01:00
Roland
831b3272ad
add min/max bounds on absolute number of threads for dispatcher
...
The reason for the previously failing test case was that Jenkins has
only two (logical) cores and the test config sets the
core-pool-size-factor to 2, meaning four threads. This is not enough to
have four Futures waiting (as per the test) and one actor which actually
does the work (the guardian in this case). Hence, make it so that
core-pool-size-min gives the absolute minimum and set the default of
that to eight.
While doing so I cleaned up the MessageDispatcherConfigurator to not use
HOF since now configuration items are not optional anymore, yielding a
flow which is much more readily understandable.
2011-12-06 20:39:26 +01:00
Jonas Bonér
f7f36ac98c
Merge branch 'master' of github.com:jboner/akka
...
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-12-06 17:29:21 +01:00
Roland
d6fc97c48d
introduce akka.actor.creation-timeout to make Jenkins happy
...
- I had reused akka.actor.timeout for ActorSystem.actorOf calls (which
“ask” the guardian to create the actor), but 5sec proved too short for
Jenkins
- CreationTimeout defaults to 30sec now, let’s hope Jenkins is not
slower than _that_.
2011-12-06 16:36:49 +01:00
Jonas Bonér
05da3f3321
Minor formatting, docs and logging edits.
...
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-12-06 15:27:10 +01:00