Roland
7ede6062c4
always start Davy Jones
...
- this is why I don’t really like lazy vals: not used during the whole
application life, only to be started after everything else is
shut-down, then complaining that the scheduler is gone
- better start it explicitly in .start(), where it can as well be a
volatile field
2011-12-14 17:26:28 +01:00
Patrik Nordwall
c1826abee1
Merge branch 'master' into wip-1504-config-comments-patriknw
...
Conflicts:
akka-actor/src/main/resources/reference.conf
2011-12-14 17:02:29 +01:00
Roland
ba4e2cb47c
fix stupid compile error
2011-12-14 16:32:25 +01:00
Jonas Bonér
2fd43bc4b1
Removed withRouter[TYPE] method and cleaned up some docs.
...
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-12-14 16:31:26 +01:00
Patrik Nordwall
328d62d16b
Minor review comment fix
2011-12-14 16:00:50 +01:00
Roland
1ab2cecc2c
Merge branch 'wip-1466-remove-stop-rk'
2011-12-14 15:56:08 +01:00
Roland
49837e4782
incorporate review comments
...
- fix some code formatting & docs
- make ActorCell.parent a volatile var
2011-12-14 15:24:29 +01:00
Jonas Bonér
7f93f56048
Rearranged ordering of sections in untyped actor docs
2011-12-14 15:22:04 +01:00
Jonas Bonér
f2e36f060d
Fix minor issue in the untyped actor docs
2011-12-14 15:20:17 +01:00
Patrik Nordwall
8ffa85c590
DOC: Rewrite config comments. See #1505
2011-12-14 15:12:40 +01:00
Jonas Bonér
8289ac2a29
Minor doc changes to Props docs
2011-12-14 15:10:42 +01:00
Patrik Nordwall
6045af5949
Updated to config lib 5302c1e
2011-12-14 14:08:30 +01:00
Jonas Bonér
80600abc33
Added 'withRouter[TYPE]' to 'Props'.
...
Added docs (Scala and Java) and (code for the docs) for 'Props'.
Renamed UntypedActorTestBase to UntypedActorDocTestBase.
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-12-14 14:05:44 +01:00
Roland
7d6c74d75c
UntypedActor hooks default to super.<whatever> now, plus updated ScalaDoc
2011-12-14 12:47:44 +01:00
Patrik Nordwall
06a08c5823
Removed STM module. See #1503
...
* Removed from build. Didn't remove akka-stm directory, contains transactors also.
* Replaced usage of org.multiverse.api.latches.StandardLatch in some tests with testkit.TestLatch
2011-12-14 12:39:27 +01:00
Henrik Engstrom
49e350a815
Updated introduction documents to Akka 2.0. Fixes #1480
2011-12-14 12:08:47 +01:00
Patrik Nordwall
5e2dff2356
DOC: Updated dispatcher chapter (Java). See #1471
...
* Aligned with scala chapter
* Impl priority dispatcher sample in java
* Removed newPinnedDispatcher methods that takes ActorRef. Updated docs for PinnedDispatcher
2011-12-14 09:19:28 +01:00
Peter Vlugter
b058e6a471
Add config spec for akka kernel
2011-12-14 17:15:06 +13:00
Peter Vlugter
ba9ed982ca
Re-enable akka-kernel and add small sample
...
Created a new simple version of the microkernel for
inclusion in the akka download and to be able to start
working on sample applications
2011-12-14 16:42:47 +13:00
Peter Vlugter
66e7155ef1
Fix compilation error in typed actor
2011-12-14 16:35:40 +13:00
Viktor Klang
a9fe796eae
Merge branch 'master' of github.com:jboner/akka
2011-12-14 02:39:22 +01:00
Viktor Klang
544bbf7760
Adding resource cleanup for TypedActors as to avoid memory leaks
2011-12-14 02:27:56 +01:00
Viktor Klang
0af92f2440
Fixing some ScalaDoc inaccuracies
2011-12-14 01:54:33 +01:00
Viktor Klang
97811a7fa4
Replacing old Future.fold impl with sequence,
...
avoiding to close over this on dispatchTask,
changing UnsupportedOperationException to NoSuchElementException
2011-12-14 01:45:20 +01:00
Roland
488576c62a
make Davy Jones configurable
2011-12-14 01:34:04 +01:00
Viktor Klang
b3e5da2377
Changing Akka Futures to better conform to spec
2011-12-14 01:24:55 +01:00
Roland
5eedbdd69f
rename ActorSystem.stop() to .shutdown()
2011-12-14 01:06:20 +01:00
Roland
9af58366f6
change default behavior to kill all children during preRestart
...
- adapted supervision doc accordingly
- had to override preRestart in two supervision tests, which is expected
2011-12-14 00:32:31 +01:00
Viktor Klang
48adb3c2b6
Adding Promise.future and the failed-projection to Future
2011-12-14 00:19:57 +01:00
Roland
cb85778b12
remove ActorRef.stop()
...
- replace ActorRef.stop() by ActorRefFactory.stop(child) everywhere
- ActorCell “optimizes” this to remove the child from its childrenRefs
in order to allow immediate recycling of the name
- the lost soul must have a place, for which the Locker has been
created, where Davy Jones will happily rebind the soul to his ship
(i.e. set “parent” to the locker to avoid mem leak) and periodically
revisit it (.stop(), in case of that being lost in comm failure,
similar .watch() to re-check liveness)
2011-12-14 00:10:53 +01:00
Viktor Klang
562646f89a
Removing the typed-actor docs for java, will redo later
2011-12-13 23:31:50 +01:00
Peter Vlugter
facd5be659
Remove bin and config dirs from distribution zip
...
Add these again when akka-kernel is re-enabled
2011-12-14 10:52:37 +13:00
Henrik Engstrom
4c6c316a76
Updated the Pi tutorial to reflect the changes in Akka 2.0. Fixes #1354
2011-12-13 22:41:38 +01:00
Viktor Klang
c64086fe4c
Merge branch 'master' of github.com:jboner/akka
2011-12-13 20:24:24 +01:00
Viktor Klang
89e29b07e1
Adding daemonicity to the dispatcher configurator
2011-12-13 20:24:09 +01:00
Viktor Klang
7b7402c723
Making it easier to specify daemon-ness for the ThreadPoolConfig
2011-12-13 20:23:58 +01:00
Viktor Klang
ead9c123ec
Adding daemonicity to the dispatcher configurator
2011-12-13 20:23:26 +01:00
Viktor Klang
973d5ab6e8
Making it easier to specify daemon-ness for the ThreadPoolConfig
2011-12-13 20:07:04 +01:00
Roland
7da61b6cc1
rename /null to /deadLetters, fixes #1492
2011-12-13 18:29:51 +01:00
Roland
c16fcebc21
fix docs generation
2011-12-13 17:53:59 +01:00
Roland
dde676927c
Merge branch 'wip-remote-supervision-rk'
...
fixing up small issue in Props
2011-12-13 17:16:28 +01:00
Roland
92e7693203
Merge remote-tracking branch 'origin/master' into wip-remote-supervision-rk
2011-12-13 16:59:43 +01:00
Jonas Bonér
c8c4f7aad0
Added ScalaDoc to Props.
...
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-12-13 16:54:44 +01:00
Roland
134fac4bfe
make routers monitor their children
2011-12-13 16:05:56 +01:00
Roland
040f3076bc
add watch/unwatch for testActor to TestKit
2011-12-13 15:41:00 +01:00
Jonas Bonér
e18c924cd6
Merge branch 'master' of github.com:jboner/akka
2011-12-13 15:37:25 +01:00
Jonas Bonér
b5d1785e05
Merge branch 'master' of github.com:jboner/akka
...
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-12-13 15:37:16 +01:00
Patrik Nordwall
31e2cb354f
Updated to latest config release from typesafehub, v0.1.8
2011-12-13 15:28:14 +01:00
Jonas Bonér
8c8680473a
Merge branch 'wip-clean-up-actor-cell-jboner'
...
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-12-13 15:14:23 +01:00
Viktor Klang
18601fbbb8
Merge branch 'master' of github.com:jboner/akka
2011-12-13 15:09:48 +01:00