Commit graph

14 commits

Author SHA1 Message Date
Viktor Klang
12b9af25cf #2168 - Exposing more Netty options in remtoe config 2012-06-01 21:29:47 +02:00
Brian Scully
6a415f0e9b * Add Circuit Breaker to akka.pattern for general use. Circuit breaker implementation as described by Michael T. Nygard in Release It!. Fixes #1734
* Uses finite state machine for three states: Closed, Open, Half-Open
    * Closed state allows calls through, and on sequential failures exceeding the max# set - transitions to Open state. Intervening successes cause the failure count to reset to 0
    * Open state throws a CircuitOpenException on every call until the reset timeout is reached which causes a transition to Half-Open state
    * Half-Open state will allow the next single call through, if it succeeds - transition to Closed state, if it fails - transition back to Open state, starting the reset timer again
  * Allow configuration for the call and reset timeouts, as well as the maximum number of sequential failures before opening
  * Supports async or synchronous call protection
  * Callbacks are supported for state entry into Closed, Open, Half-Open.  These are run in the supplied execution context
  * Both thrown exceptions and calls exceeding max call time are considered failures
  * Uses akka scheduler for timer events
  * Integrated into File-Based durable mailbox
  * Sample documented for other durable mailboxes
2012-06-01 08:24:47 -04:00
Patrik Nordwall
fabe475f64 DOC: Improved scheduler doc. Split into Java/Scala samples 2011-12-14 21:52:39 +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
f72264186f Making owner in PinnedDispatcher private 2011-12-13 15:02:48 +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
Patrik Nordwall
b500f4af3a DOC: Removed stability-matrix 2011-12-13 08:09:54 +01:00
Viktor Klang
34ddca0fda #1470 - Document Scheduler 2011-12-13 01:44:18 +01:00
Roland
baf2a1746a add docs for Deadline 2011-12-11 13:34:57 +01:00
Viktor Klang
050411bf3b Making a Java API for Scheduler (JScheduler) and an abstract class Scheduler that extends it, to make the Scheduler pluggable, moving it into AkkaApplication and migrating the code. 2011-10-17 18:35:36 +02:00
Roland
d175ef4139 fix pygments dependency and add forgotten common/duration.rst 2011-05-02 23:45:40 +02:00
Roland Kuhn
859b61d582 move Duration docs below common/ next to Scheduler 2011-05-02 21:40:35 +02:00
Viktor Klang
15c2e1070d Adding a Common section to the docs and fixing the Scheduler docs 2011-05-02 18:22:13 +02:00