Commit graph

20 commits

Author SHA1 Message Date
Roland
020c6b61da move all Ask stuff to akka.pattern
- remove ?(msg, timeout), should always use ?(msg)(timeout) because of
  Scala’s only Martin-acknowledged design flaw of being able to pass
  tuples into single-arg methods without adding another pair of parens
- put a provider into all actor refs, because they all are created by
  and associated with one
- treat all terminated refs equally: tell(msg) and return broken promise
2012-01-20 15:45:53 +01:00
Roland
1daaee98aa Merge remote-tracking branch 'origin/master' into wip-1581-patterns-ask 2012-01-18 14:20:13 +01:00
Roland
2bed2cb954 move everything into package akka.pattern 2012-01-18 10:18:51 +01:00
Roland
9c762dec20 polish “ask” pattern, see #1581
- move package objects into their respective package.scala file in the
  right directories
- make implicit conversion as well as explicit facility available under
  the same name akka.patterns.ask for easy import
- revert the logic to produce the Promise for the PromiseActorRef within
  the ActorRefProvider; supporting wrapping of external Promises does
  not seem to justify doing needless extra allocations in case of
  failure
- add scaladocs
- factor out “def provider” into trait ActorRefWithProvider, as it
  didn’t feel right attaching this information “by exception” to
  MinimalActorRef
2012-01-17 17:35:33 +01:00
Viktor Klang
f4b9733c03 Merge branch 'master' into wip-1626-1627-typed-actors-√ 2012-01-16 15:48:39 +01:00
Viktor Klang
de151617f2 Creating TypedProps and implementing support for wrapping an arbitrary ActorRef as a TypedActor 2012-01-16 14:11:29 +01:00
patriknw
43059d6584 Merge pull request #211 from jboner/wip-1406-migration-patriknw
Migration kit and start of migration documentation. See #1406.
2012-01-16 01:20:18 -08:00
Roland
d0498eb32e add Class[_] to LogEvent
- it is customary to use class name for categorizing logs, hence we
  should support it; class is taken from logSource.getClass
- update SLF4J module to use logClass as category and set logSource in
  MDC "akkaSource"
- add docs
2012-01-12 13:29:17 +01:00
Patrik Nordwall
4dd5e9612b Migration kit and start of migration documentation. See #1406.
* Documentation of migration kit
* Documentation of some of the changes
* akka-actor-migration module containing GlobalActorSystem, OldXxx classes and some implicit conversions
* Tried migration of WebWords sample
* Tried migration of akka-samples/async-workers
* Tried migration of akka-samples-trading
2012-01-12 13:27:58 +01:00
Patrik Nordwall
5ba0963d71 Added documentation. See #1583 2012-01-03 11:41:49 +01:00
Nikolay Botev
ce1d2f4721 akka.patterns.ask everywhere 2012-01-01 22:23:19 -08:00
Nikolay Botev
a44da38e2b ask-2.0 2012-01-01 22:23:08 -08:00
Roland
6f721ec106 fix eclipse build: config/ is gone, must not depend on it 2011-12-28 16:50:57 +01:00
Roland
2fbef5b5ce various documentation improvements
- document DeathWatch
- actorOf vs. actorFor
2011-12-28 13:13:39 +01:00
Patrik Nordwall
f772b0183e Initial commit of dispatcher key refactoring, for review. See #1458
* Changed signatures and constructor of MessageDispatcherConfigurator
* Changed Dispatchers.lookup, keep configurators instead of dispatchers
* Removed most of the Dispatchers.newX methods, newDispatcher is still there because of priority mailbox
* How should we make it easy to configure priority mailbox?
* Changed tons tests
* Documentation and ScalaDoc is not updated yet
* Some tests in ActorModelSpec are temporary ignored due to failure
2011-12-21 13:27:50 +01:00
Patrik Nordwall
e82ea3c8b0 DOC: Extracted sample for explicit and implicit timeout with ask. Correction of akka.util.Timeout 2011-12-20 08:12:20 +01:00
Henrik Engstrom
419b69438f Added copyright header to all samples in docs. Fixes #1531 2011-12-19 11:07:59 +01:00
Patrik Nordwall
164f92afd7 DOC: Added recommendation about naming actors and added name to some samples 2011-12-16 00:39:29 +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
Patrik Nordwall
fabe475f64 DOC: Improved scheduler doc. Split into Java/Scala samples 2011-12-14 21:52:39 +01:00
Renamed from akka-docs/scala/code/ActorDocSpec.scala (Browse further)