Commit graph

8193 commits

Author SHA1 Message Date
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
Roland
488576c62a make Davy Jones configurable 2011-12-14 01:34:04 +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
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
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
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
Patrik Nordwall
0239106fcc DOC: Updated logging documentation. See #1467 2011-12-13 12:33:58 +01:00
Roland
4bd9f6ae1a rename Props.withRouting to .withRouter 2011-12-13 11:32:24 +01:00
Roland
4b2b41e725 fix two comments from Patrik
- map Iterable to Vector using breakOut instead of «Vector() ++ ...»
- give a name to the Pi sample actor system
2011-12-13 11:20:36 +01:00
Jonas Bonér
86a5114d79 Cleaned up ActorCell, removed all Java-unfriendly methods 2011-12-13 11:11:21 +01:00
viktorklang
d7840fe9cc Merge pull request #148 from jboner/wip-1470-document-scheduler-√
#1470 - Document Scheduler
2011-12-13 02:06:38 -08:00
Viktor Klang
ec1c108838 More docs 2011-12-13 11:04:23 +01:00
Roland
db7dd9450c re-enable the missing three multi-jvm tests
- mostly a matter of putting correct target.nodes URIs into configs and
  adding withRouting to Props
- ScatterGather test was wrong to assume equal distribution of replies
  from connections; it is random and only the sum should add up
2011-12-13 10:58:09 +01:00
Patrik Nordwall
b500f4af3a DOC: Removed stability-matrix 2011-12-13 08:09:54 +01:00
Patrik Nordwall
eede488fd3 Added lookup method in Dispatchers to provide a registry of configured dispatchers to be shared between actors. See #1458 2011-12-13 07:37:23 +01:00
Patrik Nordwall
03e731e098 DOC: Update Dispatchers (Scala) Chapter. See #1471 2011-12-13 07:37:23 +01:00
Patrik Nordwall
69ea6db3f1 gitignore _mb, which is created by file based durable mailbox tests 2011-12-13 07:37:23 +01:00