parent
e41ee67dc1
commit
5221b23aa7
2 changed files with 4 additions and 4 deletions
|
|
@ -113,13 +113,13 @@ trait ActorContext extends ActorRefFactory {
|
|||
|
||||
/**
|
||||
* Returns the dispatcher (MessageDispatcher) that is used for this Actor.
|
||||
* Importing this member will place a implicit ExecutionContext in scope.
|
||||
* Importing this member will place an implicit ExecutionContext in scope.
|
||||
*/
|
||||
implicit def dispatcher: ExecutionContext
|
||||
|
||||
/**
|
||||
* The system that the actor belongs to.
|
||||
* Importing this member will place a implicit ExecutionContext in scope.
|
||||
* Importing this member will place an implicit ActorSystem in scope.
|
||||
*/
|
||||
implicit def system: ActorSystem
|
||||
|
||||
|
|
|
|||
|
|
@ -375,7 +375,7 @@ abstract class SupervisorStrategy {
|
|||
* @param maxNrOfRetries the number of times an actor is allowed to be restarted, negative value means no limit
|
||||
* @param withinTimeRange duration of the time window for maxNrOfRetries, Duration.Inf means no window
|
||||
* @param decider mapping from Throwable to [[akka.actor.SupervisorStrategy.Directive]], you can also use a
|
||||
* `Seq` of Throwables which maps the given Throwables to restarts, otherwise escalates.
|
||||
* [[scala.collection.immutable.Seq]] of Throwables which maps the given Throwables to restarts, otherwise escalates.
|
||||
* @param loggingEnabled the strategy logs the failure if this is enabled (true), by default it is enabled
|
||||
*/
|
||||
case class AllForOneStrategy(
|
||||
|
|
@ -421,7 +421,7 @@ case class AllForOneStrategy(
|
|||
* @param maxNrOfRetries the number of times an actor is allowed to be restarted, negative value means no limit
|
||||
* @param withinTimeRange duration of the time window for maxNrOfRetries, Duration.Inf means no window
|
||||
* @param decider mapping from Throwable to [[akka.actor.SupervisorStrategy.Directive]], you can also use a
|
||||
* `Seq` of Throwables which maps the given Throwables to restarts, otherwise escalates.
|
||||
* [[scala.collection.immutable.Seq]] of Throwables which maps the given Throwables to restarts, otherwise escalates.
|
||||
* @param loggingEnabled the strategy logs the failure if this is enabled (true), by default it is enabled
|
||||
*/
|
||||
case class OneForOneStrategy(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue