object SupervisorStrategy extends SupervisorStrategyLowPriorityImplicits
- Alphabetic
- By Inheritance
- SupervisorStrategy
- SupervisorStrategyLowPriorityImplicits
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
Value Members
-   final  def !=(arg0: Any): Boolean- Definition Classes
- AnyRef → Any
 
-   final  def ##: Int- Definition Classes
- AnyRef → Any
 
-   final  def ==(arg0: Any): Boolean- Definition Classes
- AnyRef → Any
 
-   final  def asInstanceOf[T0]: T0- Definition Classes
- Any
 
-    def clone(): AnyRef- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
 
-   final  val defaultDecider: DeciderWhen supervisorStrategy is not specified for an actor this Decideris used by default in the supervisor strategy.When supervisorStrategy is not specified for an actor this Decideris used by default in the supervisor strategy. The child will be stopped when akka.actor.ActorInitializationException, akka.actor.ActorKilledException, or akka.actor.DeathPactException is thrown. It will be restarted for otherExceptiontypes. The error is escalated if it's aThrowable, i.e.Error.
-   final  val defaultStrategy: SupervisorStrategyWhen supervisorStrategy is not specified for an actor this is used by default. When supervisorStrategy is not specified for an actor this is used by default. OneForOneStrategy with decider defined in #defaultDecider. 
-   final  def eq(arg0: AnyRef): Boolean- Definition Classes
- AnyRef
 
-    def equals(arg0: AnyRef): Boolean- Definition Classes
- AnyRef → Any
 
-    def escalate: EscalateJava API: Returning this directive escalates the failure to the supervisor of the supervisor, by rethrowing the cause of the failure, i.e. Java API: Returning this directive escalates the failure to the supervisor of the supervisor, by rethrowing the cause of the failure, i.e. the supervisor fails with the same exception as the child. 
-   final  def getClass(): Class[_ <: AnyRef]- Definition Classes
- AnyRef → Any
- Annotations
- @HotSpotIntrinsicCandidate() @native()
 
-    def hashCode(): Int- Definition Classes
- AnyRef → Any
- Annotations
- @HotSpotIntrinsicCandidate() @native()
 
-   final  def isInstanceOf[T0]: Boolean- Definition Classes
- Any
 
-    def makeDecider(func: JDecider): DeciderConverts a Java Decider into a Scala Decider 
-    def makeDecider(flat: Iterable[CauseDirective]): DeciderDecider builder for Iterables of cause-directive pairs, e.g. Decider builder for Iterables of cause-directive pairs, e.g. a map obtained from configuration; will sort the pairs so that the most specific type is checked before all its subtypes, allowing carving out subtrees of the Throwable hierarchy. 
-    def makeDecider(trapExit: Iterable[Class[_ <: Throwable]]): DeciderDecider builder which just checks whether one of the given Throwables matches the cause and restarts, otherwise escalates. 
-    def makeDecider(trapExit: Seq[Class[_ <: Throwable]]): DeciderDecider builder which just checks whether one of the given Throwables matches the cause and restarts, otherwise escalates. 
-   final  def ne(arg0: AnyRef): Boolean- Definition Classes
- AnyRef
 
-   final  def notify(): Unit- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
 
-   final  def notifyAll(): Unit- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
 
-    def restart(logLevel: LogLevel): DirectiveReturning this directive discards the old Actor instance and replaces it with a new, then resumes message processing. Returning this directive discards the old Actor instance and replaces it with a new, then resumes message processing. - logLevel
- Log level which will be used to log the failure 
 
-    def restart: RestartJava API: Returning this directive discards the old Actor instance and replaces it with a new, then resumes message processing. 
-    def resume(logLevel: LogLevel): DirectiveReturning this directive resumes message processing for the failed Actor. Returning this directive resumes message processing for the failed Actor. - logLevel
- Log level which will be used to log the failure 
 
-    def resume: ResumeJava API: Returning this directive resumes message processing for the failed Actor 
-   implicit  def seqCauseDirective2Decider(trapExit: Iterable[CauseDirective]): DeciderImplicit conversion from Seqof Cause-Directive pairs to aDecider.Implicit conversion from Seqof Cause-Directive pairs to aDecider. See makeDecider(causeDirective).- Definition Classes
- SupervisorStrategyLowPriorityImplicits
 
-   implicit  def seqThrowable2Decider(trapExit: Seq[Class[_ <: Throwable]]): DeciderImplicit conversion from Seqof Throwables to aDecider.Implicit conversion from Seqof Throwables to aDecider. This maps the given Throwables to restarts, otherwise escalates.
-    def stop(logLevel: LogLevel): DirectiveReturning this directive stops the Actor Returning this directive stops the Actor - logLevel
- Log level which will be used to log the failure 
 
-    def stop: StopJava API: Returning this directive stops the Actor 
-   final  val stoppingStrategy: SupervisorStrategyThis strategy resembles Erlang in that failing children are always terminated (one-for-one). 
-   final  def synchronized[T0](arg0: => T0): T0- Definition Classes
- AnyRef
 
-    def toString(): String- Definition Classes
- AnyRef → Any
 
-   final  def wait(arg0: Long, arg1: Int): Unit- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
 
-   final  def wait(arg0: Long): Unit- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
 
-   final  def wait(): Unit- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
 
-    case object Escalate extends Directive with Product with SerializableEscalates the failure to the supervisor of the supervisor, by rethrowing the cause of the failure, i.e. Escalates the failure to the supervisor of the supervisor, by rethrowing the cause of the failure, i.e. the supervisor fails with the same exception as the child. 
-    case object Restart extends Restart with Product with SerializableDiscards the old Actor instance and replaces it with a new, then resumes message processing. 
-    case object Resume extends Resume with Product with SerializableResumes message processing for the failed Actor 
-    case object Stop extends Stop with Product with SerializableStops the Actor