Commit graph

57 commits

Author SHA1 Message Date
Patrik Nordwall
164f92afd7 DOC: Added recommendation about naming actors and added name to some samples 2011-12-16 00:39:29 +01:00
patriknw
51781962ec Merge pull request #167 from jboner/wip-1487-future-doc-patriknw
DOC: Update Future (Scala) Chapter. See #1487
2011-12-15 14:48:46 -08:00
Patrik Nordwall
ff35ae9e37 Minor corrections from review comments 2011-12-15 23:43:04 +01:00
Roland Kuhn
7dad0a3a78 Merge pull request #169 from jboner/rk-doc-fault-handling
document FaultHandlingStrategy for Scala
2011-12-15 14:33:54 -08:00
Roland
5298d80846 document FaultHandlingStrategy for Scala 2011-12-15 21:04:19 +01:00
Henrik Engstrom
26d49fecb9 Merge branch 'master' into 1063-docs-routing-he
Conflicts:
	akka-docs/java/routing.rst
	akka-docs/scala/routing.rst
2011-12-15 20:15:32 +01:00
Viktor Klang
6c96397711 Merge branch 'wip-1456-document-typed-actors-√' 2011-12-15 19:09:57 +01:00
Henrik Engstrom
d68777e76e Updated after feedback. See #1063 2011-12-15 18:21:56 +01:00
Patrik Nordwall
3b6c3e28d3 DOC: Update Future (Scala) Chapter. See #1487 2011-12-15 18:00:36 +01:00
Viktor Klang
5e03cda4bb Adding Typed Actor docs for Java, as well as some minor tweaks on some Java APIs 2011-12-15 16:57:29 +01:00
Henrik Engstrom
41ce42c8f7 Upgraded routing documentation to Akka 2.0. See #1063 2011-12-15 16:36:04 +01:00
Patrik Nordwall
30416af3c4 DOC: Update Testing Actor Systems (TestKit) Chapter. See #1486 2011-12-15 15:04:14 +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
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
Viktor Klang
77e5596ad6 Removing conflicting versions of typedActorOf and added Scala docs for TypedActor 2011-12-14 23:43:21 +01:00
Patrik Nordwall
fabe475f64 DOC: Improved scheduler doc. Split into Java/Scala samples 2011-12-14 21:52:39 +01:00
Viktor Klang
0c44258050 Reducing the number of typedActorOf-methods 2011-12-14 20:30:42 +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
patriknw
d9e9efe2d7 Merge pull request #156 from jboner/wip-1504-config-comments-patriknw
Rewrite config comments
2011-12-14 08:47:19 -08: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
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
1ab2cecc2c Merge branch 'wip-1466-remove-stop-rk' 2011-12-14 15:56:08 +01:00
Patrik Nordwall
8ffa85c590 DOC: Rewrite config comments. See #1505 2011-12-14 15:12:40 +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
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
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
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
89e29b07e1 Adding daemonicity to the dispatcher configurator 2011-12-13 20:24:09 +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
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
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
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
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
Jonas Bonér
86a5114d79 Cleaned up ActorCell, removed all Java-unfriendly methods 2011-12-13 11:11:21 +01:00
Viktor Klang
bf01045779 Merged with current master 2011-12-13 10:18:15 +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
Viktor Klang
2673a9c047 Removing Future.as[] and commenting out 2 Java Specs because the compiler can't find them? 2011-12-11 20:12:55 +01:00
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
Viktor Klang
9cc8b67cf4 Merging in the hotswap docs into master 2011-12-08 15:12:54 +01:00
Patrik Nordwall
c8472826fe Fixed review comments 2011-12-07 16:44:52 +01:00
Patrik Nordwall
5cee76820e Updated documentation of Actors Scala. See #1435 2011-12-07 11:56:58 +01:00
Patrik Nordwall
f7d6393027 Removed actorOf methods from AkkaSpec. See #1439 2011-12-07 11:10:54 +01:00
Patrik Nordwall
3204269f6a Cleanup of methods in Actor and ActorContext trait. See #1377
* Added JavaActorContext, UntypedActor.getContext
* implicit val context in Actor needs to be implicit to support forward,
it would be nice if it wasn't implicit because now I can't override context
in UntypedActor
* Removed implicit def system in Actor
* Removed implicit def defaultTimeout in Actor
* Removed receiveTimeout, children, dispatcher, become, unbecome, watch,
unwatch in Actor
* Removed corresponding as above from UntypedActor
* Removed implicit from dispatcher in ActorSystem
* Removed implicit def timeout in TypedActor
* Changed receiveTimeout to use Duration (in api)
* Changed many tests and samples to match new api
2011-12-06 09:50:16 +01:00
Patrik Nordwall
3d6c0fbae6 Removed unecessary import 2011-11-18 11:34:52 +01:00
Patrik Nordwall
4b8f11ea92 Replaced akka.config with new configuration utility. See #1141 and see #1342
* All default values removed from code and loaded from akka-actor-reference.conf, located in src/main/resources (included in jar)
* Default test configuration included in AkkaSpec instead of using akka.test.conf, avoids problems when running test (in IDE) and forgetting to use -Dakka.mode=test.
* System.properties used first, if availble
* Next step will be to split akka-actor-reference.conf in separate -reference for each module
2011-11-18 10:05:40 +01:00
Roland
648661c548 clean up initialization of ActorSystem, fixes #1050
- create ActorSystemImpl trait to make ActorSystem fully abstract
- add Java API for constructing (ActorSystem.create(...))
- only go through factory methods because .start() has become necessary
- rename all user-facing occurrences of “app” to “system” (Actor trait
  and TestKit/AkkaSpec)
- pass ActorSystemImpl to ActorRefs upon creation, which means that
  actorOf() and friends need such an argument, which must be provided to
  the ActorRefProvider by the ActorRefFactory implementation
2011-11-16 17:18:36 +01:00