Commit graph

8384 commits

Author SHA1 Message Date
patriknw
0b2a5ee325 Merge pull request #163 from jboner/wip-1486-testing-doc-patriknw
DOC: Update Testing Actor Systems (TestKit) Chapter. See #1486
2011-12-15 06:45:08 -08:00
Jonas Bonér
65efba2da3 Merge branch 'master' of github.com:jboner/akka 2011-12-15 15:22:55 +01:00
Roland
c6afb5ba2d polish some more and add remoting.rst 2011-12-15 15:09:16 +01:00
Jonas Bonér
d9217e4803 Added 'notes' section formatting and some more content to the cluster, spring and camel pages.
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-12-15 15:05:09 +01:00
Patrik Nordwall
30416af3c4 DOC: Update Testing Actor Systems (TestKit) Chapter. See #1486 2011-12-15 15:04:14 +01:00
Jonas Bonér
ce296b0481 Misc additions to, and rewrites and formatting of, the documentation.
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-12-15 14:26:17 +01:00
Viktor Klang
a5613729fa Removing Guice docs 2011-12-15 14:22:28 +01:00
Viktor Klang
009853f2f6 Merge with master 2011-12-15 14:10:08 +01:00
Viktor Klang
73b79d6e3e Adding a Scala and a Java guide to Akka Extensions 2011-12-15 14:01:04 +01:00
Viktor Klang
866e47c97c Adding Scala documentation for Akka Extensions 2011-12-15 14:01:04 +01:00
Roland
31591d4ec2 polish and add general/actors 2011-12-15 12:05:48 +01:00
Jonas Bonér
b0e630a239 Merge remote-tracking branch 'origin/simplified-multi-jvm-test'
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-12-15 11:43:26 +01:00
Viktor Klang
c47d3ef0a1 Adding a note describing the serialization of Typed Actor method calls 2011-12-15 11:24:51 +01:00
Jonas Bonér
b4f1978b37 Merge remote-tracking branch 'origin/wip-simplify-configuring-new-router-in-props-jboner'
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-12-15 10:32:31 +01:00
Jonas Bonér
f59b4c642f Merge branch 'master' of github.com:jboner/akka 2011-12-15 08:48:01 +01:00
Jonas Bonér
9c18b8cb49 Merge branch 'wip-remove-timeout-jboner'
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-12-15 08:47:52 +01:00
Patrik Nordwall
44a82be86f DOC: Disabled agents chapter, since it's in the akka-stm module. See #1488 2011-12-15 08:36:00 +01:00
Peter Vlugter
1d8bd1b67f Update akka sbt plugin
- compatible with both 1.x and 2.x microkernels
- fix sbt deprecation warnings
2011-12-15 17:23:40 +13:00
Peter Vlugter
37efb72f22 Some documentation fixes
- microkernel information
- repository links
- akka download description
2011-12-15 15:39:30 +13:00
Peter Vlugter
a3af3626ce Merge pull request #153 from jboner/docs-intro-he
Updated introduction documents to Akka 2.0. Fixes #1480
2011-12-14 17:30:30 -08:00
Peter Vlugter
cf27ca0ab4 Merge with master 2011-12-15 14:27:57 +13:00
Roland
0fa4f3504c first stab at actor-systems.rst 2011-12-15 01:49:02 +01:00
Roland
1ef5145dc9 fix hideous and well-hidden oversight
Thank you, Jenkins and CallingThreadDispatcher, for without you both I
would probably not have found this bug before the milestone release. So,
what happened? Well, ActorModelSpec for the CallingThreadDispatcher
tries to have an actor kill itself twice with InterruptedException (of
all things!) and wants to verify that everything still works. Given the
right timing (which was rare) the semantics of the
CallingThreadDispatcher would mean that the actor would suspend itself
(first failure), inform its supervisor (“/user”, not on CTD) and return
to the spec. If the supervisor was too slow to finish the restart which
includes a resume which will process all messages enqueued meanwhile
from the test BEFORE the test enqueued the second failure, the failure
would actually happen on the supervisor’s thread. Now
InterruptedException is the ONLY exception which always gets passed up,
and thus it is the only Exception which can ever occur genuinely within
a top-level supervisor which will trigger its restart: if it’s an
unhandled one, the actor system will stop, and if it’s a handled one
from a child there will be no problem.

So, having these very special circumstances combined just so, the
“guardian” would restart, and after today’s changes that meant killing
all its children. Boom.

The fix is of course trivial, as always. And the bug is extremely
obvious, once found. Cost me five hours.
2011-12-15 01:43:56 +01:00
Roland
05461cd531 fix log statement in ActorModelSpec 2011-12-15 01:43:56 +01:00
Viktor Klang
66c89fee4b Minor touchups after review 2011-12-15 01:41:15 +01:00
Peter Vlugter
14e6ee564f Merge pull request #152 from jboner/enable-akka-kernel
Re-enable akka kernel
2011-12-14 14:56:02 -08:00
Viktor Klang
77e5596ad6 Removing conflicting versions of typedActorOf and added Scala docs for TypedActor 2011-12-14 23:43:21 +01:00
Roland Kuhn
8cb682c5ee Merge pull request #159 from jboner/wip-1516-ActorContext-cleanup-rk
remove non-user API from ActorContext, see #1516
2011-12-14 14:42:13 -08:00
Peter Vlugter
ad8a050d05 Updated microkernel
- no config files used by microkernel
- boot classes are specified as main arguments
- actor system creation is left to user in Bootable
- added on-out-of-memory handler to java args
- updated docs
2011-12-15 11:42:06 +13:00
Peter Vlugter
0772d018fb Merge branch 'master' into enable-akka-kernel 2011-12-15 10:48:59 +13:00
Jonas Bonér
a18206b81a Merge branch 'wip-remove-timeout-jboner' into master
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-12-14 22:46:43 +01:00
Patrik Nordwall
fabe475f64 DOC: Improved scheduler doc. Split into Java/Scala samples 2011-12-14 21:52:39 +01:00
Peter Vlugter
55594a241b Merge with master 2011-12-15 08:56:48 +13:00
Patrik Nordwall
c57b2732e7 DOC: Another correction of stop description 2011-12-14 20:40:01 +01:00
Viktor Klang
0c44258050 Reducing the number of typedActorOf-methods 2011-12-14 20:30:42 +01:00
Patrik Nordwall
7b2349c0d9 DOC: Correction of stop description 2011-12-14 20:26:27 +01:00
Patrik Nordwall
ab1c4c6833 DOC: Updated stop description 2011-12-14 19:39:51 +01:00
Roland
cdff927e0e remove non-user API from ActorContext, see #1516
- handleChildTerminated/handleFailure: no discussion
- currentMessage was (ab)used by IO, fixed by down-casting which IO
  already does for writing to currentMessage (ewww)
- Actor.apply() could now as well be moved to ActorCell, leaving Actor
  as user-API-only, which would be nice but not for M1
2011-12-14 19:34:08 +01:00
Patrik Nordwall
6bbbceaf6c DOC: Updated preRestart 2011-12-14 19:27:57 +01:00
patriknw
9ad2580ea2 Merge pull request #154 from jboner/wip-1503-remove-stm-patriknw
Removed STM module. See #1503
2011-12-14 10:03:12 -08:00
Patrik Nordwall
34252c592c A few more 2000 milliseconds 2011-12-14 19:00:22 +01:00
Patrik Nordwall
e456213e31 Merge branch 'master' into wip-1503-remove-stm-patriknw
Conflicts:
	akka-actor-tests/src/test/scala/akka/actor/SchedulerSpec.scala
	akka-actor-tests/src/test/scala/akka/dispatch/FutureSpec.scala
	akka-docs/modules/camel.rst
2011-12-14 18:56:39 +01:00
Viktor Klang
b126a720fb Merge branch 'master' into wip-1456-document-typed-actors-√ 2011-12-14 18:28:38 +01:00
Roland
85602fdc89 Merge branch 'wip-1514-duration-inf-rk' 2011-12-14 18:14:01 +01:00
Roland
e96db77fe5 make infinite durations compare true to themselves, see #1514 2011-12-14 18:11:12 +01:00
patriknw
d9e9efe2d7 Merge pull request #156 from jboner/wip-1504-config-comments-patriknw
Rewrite config comments
2011-12-14 08:47:19 -08:00
Patrik Nordwall
b243374ebd Review comments. Config lib v0.2.0. 2011-12-14 17:45:42 +01:00
Viktor Klang
353aa8811d Merge branch 'master' into integration 2011-12-14 17:37:34 +01:00
Viktor Klang
e959493e12 Enormous merge with master which probably led to the indirect unfortunate deaths of several kittens 2011-12-14 17:36:39 +01:00
Jonas Bonér
04cd2adee9 Moved Timeout classes from akka.actor._ to akka.util._.
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-12-14 17:34:56 +01:00