Commit graph

99 commits

Author SHA1 Message Date
Patrik Nordwall
c1178c9b1a DOC: Better use of pipeTo in FaultHandlingDocSample 2012-01-30 11:56:09 +01:00
patriknw
ef80eb1ccd Merge pull request #267 from jboner/wip-1722-fault-sample-java-patriknw
DOC: Java version of the fault tolerance sample. See #1722
2012-01-26 05:39:34 -08:00
Patrik Nordwall
60fd3c2964 Removed the need for passing in 'this' as log source to LoggingReceive. See #1720 2012-01-26 13:24:48 +01:00
Patrik Nordwall
52aa4f2a64 LoggingReceive with implicit ActorContext instead of ActorSystem. See #1720 2012-01-26 10:58:35 +01:00
Patrik Nordwall
2aa72993d6 Rearanged declaration of messages. Improvements from review. See #1722 2012-01-26 09:28:37 +01:00
Patrik Nordwall
4e0bd947be DOC: Java version of the fault tolerance sample. See #1722 2012-01-25 18:17:16 +01:00
Derek Williams
2ac8a25b72 More work on IO reST docs 2012-01-24 13:37:26 -07:00
Patrik Nordwall
96e072602e DOC: Typo 2012-01-24 17:44:01 +01:00
patriknw
11b489eefd Merge pull request #257 from jboner/wip-1574-fault-tolerance-sample-patriknw
DOC: Added new fault handling sample. See #1574
2012-01-24 08:20:25 -08:00
Patrik Nordwall
e4cd3c3277 Minor adjustments based on feedback. See #1574 2012-01-24 17:16:11 +01:00
Viktor Klang
eca809675a Merge branch 'master' into wip-1537-moar-futuredocs-√ 2012-01-24 16:31:52 +01:00
Roland Kuhn
1399b048e1 Merge pull request #251 from jboner/wip-1719-ExtendedActorSystem-∂π
add ExtendedActorSystem to shield ActorSystemImpl
2012-01-24 06:36:05 -08:00
Viktor Klang
28dfdaba32 Correcting after review 2012-01-24 15:03:32 +01:00
Patrik Nordwall
4c6eba57db DOC: Added new fault handling sample. See #1574 2012-01-24 14:43:33 +01:00
Roland Kuhn
dcdbca1167 Merge pull request #250 from jboner/wip-1714-withinTimeRange-patriknw
Improved API of OneForOneStrategy and AllForOneStrategy. See #1714
2012-01-24 04:13:36 -08:00
Viktor Klang
36ef8820b8 Adding docs and samples for onSuccess, onFailure, onComplete, filter, or, zip and successful/failed 2012-01-24 12:13:13 +01:00
Roland
d5c23bcb76 add ExtendedActorSystem to shield ActorSystemImpl
- add provider, guardian, systemGuardian and deathWatch to it
- make ActorSystemImpl extend ExtendedActorSystem
- use ExtendedActorSystem for creating extensions, thereby limiting the
  access extensions get to just those four published methods.
2012-01-24 11:33:40 +01:00
Patrik Nordwall
2a6b7f9b03 Moved decider to separate parameter list, and implicit conversion from Seq[Throwable]. See #1714 2012-01-24 10:35:09 +01:00
Roland
ee5ae1068b Merge branch 'wip-1485-fsm-docs-∂π' 2012-01-24 09:35:35 +01:00
Patrik Nordwall
abc072ef0a Improved API of OneForOneStrategy and AllForOneStrategy. See #1714
* withinTimeRange: Duration
* Removed need for Options in API
2012-01-24 08:46:27 +01:00
Roland
2a0c4ca145 Merge branch 'wip-1581-patterns-ask' 2012-01-23 18:35:30 +01:00
Roland
e087c6fd8c include FSMDocSpec example in fsm.rst and fix a few outdated things 2012-01-23 17:43:30 +01:00
patriknw
d21d03207f Merge pull request #247 from jboner/wip-1711-supervisorStrategy-patriknw
FaultHandler as method in Actor instead of in Props. See #1711
2012-01-23 08:40:59 -08:00
Patrik Nordwall
9e15d2062b Renamed more things to SupervisorStrategy. Updated more docs. See #1711 2012-01-23 17:18:49 +01:00
patriknw
45d178c276 Merge pull request #236 from jboner/wip-1702-settings-ext-patriknw
DOC: Extension sample for application specific settings. See #1702
2012-01-23 07:12:49 -08:00
Roland
5e11b2df9d add FSMDocSpec and improve FSM API
- don’t require Option[Duration] and its implicit conversion
- provider “->” extractor inside the FSM trait
2012-01-23 15:37:43 +01:00
Patrik Nordwall
66e0a7cf0b Moved definition of fault handler from Props to overridable method supervisorStrategy in Actor. See #1711
* New trait SupervisorStrategy for TypedActors
* Adjustments of docs
* Updated tests
2012-01-23 13:49:19 +01:00
Viktor Klang
f8186e53d7 Merging in master 2012-01-23 11:30:36 +01:00
Patrik Nordwall
6a4d7f547c Improvement based on feedback. See #1702 2012-01-21 11:05:30 +01:00
Viktor Klang
1333700c0d Unborkening master 2012-01-20 19:52:50 +01:00
Roland
34a0f005b1 Merge branch 'master' into wip-1581-patterns-ask 2012-01-20 19:29:17 +01:00
Roland
1f99b425de docs for ask/pipeTo patterns 2012-01-20 18:09:26 +01:00
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
Viktor Klang
8dfe619140 #1703 & #1693 - moving daemonicity to one place, and in doing so creating a thread factory in ActorSystem 2012-01-20 12:30:19 +01:00
Patrik Nordwall
05d4a6ed38 DOC: Extension sample for application specific settings. See #1702
* Added sample and documentation for how to create extension for application specific config
* Simplified java usage of ExtensionIdProvider, more aligned with how it is done in scala
2012-01-20 11:30:33 +01:00
Viktor Klang
149fbea5a7 Updating Copyright as per #1660 2012-01-19 18:21:06 +01:00
Viktor Klang
19347dadbc Renaming TestActorRef.apply to receive, in order to get forwarders generated & improve Java API 2012-01-19 15:49:44 +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 Kuhn
312ea1bef1 Merge pull request #212 from jboner/wip-1621-logging-∂π
fix RemoteDeathWatchSpec and improve logging
2012-01-13 05:59:03 -08:00
Roland
b01640fddb incorporate review feedback
- tons of documentation added
- lift extraction of logClass into LogSource type-class
- prefer Props.empty
2012-01-13 13:50:42 +01: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
6a12fb7876 Implemented SmallestMailboxRouter. See #1619 2012-01-11 14:06:47 +01:00
Patrik Nordwall
19845d93e8 Improvements and finalization of dynamically resizable routers, replaces ActorPool. See 1557
* resize on nth message instead of always each message
* improved pressure evaluation
* more tests
* documentation
* removed ActorPool
2012-01-10 15:53:27 +01:00
Patrik Nordwall
ed2b65c402 DOC: Routing (Java). See #1600 2012-01-05 17:59:19 +01:00