Package akka.actor.typed.scaladsl
Class Behaviors.Supervise<T>
- java.lang.Object
-
- scala.AnyVal
-
- akka.actor.typed.scaladsl.Behaviors.Supervise<T>
-
- Enclosing class:
- Behaviors
public static final class Behaviors.Supervise<T> extends scala.AnyVal
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object x$1)
int
hashCode()
<Thr extends java.lang.Throwable>
Behavior<T>onFailure(SupervisorStrategy strategy, scala.reflect.ClassTag<Thr> tag)
Specify theSupervisorStrategy
to be invoked when the wrapped behavior throws.<Thr extends java.lang.Throwable>
scala.reflect.ClassTag<scala.runtime.Nothing$>onFailure$default$2(SupervisorStrategy strategy)
Behavior<T>
wrapped()
-
-
-
Method Detail
-
onFailure
public <Thr extends java.lang.Throwable> Behavior<T> onFailure(SupervisorStrategy strategy, scala.reflect.ClassTag<Thr> tag)
Specify theSupervisorStrategy
to be invoked when the wrapped behavior throws.
-
onFailure$default$2
public <Thr extends java.lang.Throwable> scala.reflect.ClassTag<scala.runtime.Nothing$> onFailure$default$2(SupervisorStrategy strategy)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object x$1)
- Overrides:
equals
in classjava.lang.Object
-
-