Commit graph

8220 commits

Author SHA1 Message Date
Viktor Klang
b126a720fb Merge branch 'master' into wip-1456-document-typed-actors-√ 2011-12-14 18:28:38 +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
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
Roland
ba4e2cb47c fix stupid compile error 2011-12-14 16:32:25 +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
Roland
7d6c74d75c UntypedActor hooks default to super.<whatever> now, plus updated ScalaDoc 2011-12-14 12:47:44 +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
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
patriknw
2f8706ee3a Merge pull request #149 from jboner/wip-doc-dispatchers-scala-patriknw
DOC: Update Dispatchers (Scala) Chapter
2011-12-13 06:05:47 -08:00
Patrik Nordwall
7a17eb00bf DOC: Corrections of dispatcher docs from review. See #1471 2011-12-13 15:03:32 +01:00
Viktor Klang
afd8b89033 Merge branch 'master' of github.com:jboner/akka 2011-12-13 15:02:59 +01:00
Viktor Klang
f72264186f Making owner in PinnedDispatcher private 2011-12-13 15:02:48 +01:00
Jonas Bonér
d725c9c681 Updated docs with changes to 'actorOf(Props(..))'
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-12-13 14:53:18 +01:00
patriknw
237f6c3d53 Merge pull request #150 from jboner/wip-1467-logging-docs-patriknw
DOC: Updated logging documentation. See #1467
2011-12-13 05:49:49 -08:00
Patrik Nordwall
0f41cee6de Split logging doc into scala and java. See #1467 2011-12-13 14:46:15 +01:00
Jonas Bonér
c9b787f029 Removed all 'actorOf' methods that does not take a 'Props', and changed all callers to use 'actorOf(Props(..))'
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-12-13 14:09:40 +01:00
Patrik Nordwall
4cf3a11833 Added with ActorLogging 2011-12-13 13:32:58 +01:00
Roland
8617f9293d make writing custom routers even easier 2011-12-13 12:39:02 +01:00