Package akka.actor.typed.internal
Class BehaviorImpl.StoppedBehavior<T>
- java.lang.Object
-
- akka.actor.typed.Behavior<T>
-
- akka.actor.typed.internal.BehaviorImpl.StoppedBehavior<T>
-
- Enclosing class:
- BehaviorImpl
public static final class BehaviorImpl.StoppedBehavior<T> extends Behavior<T>
When the cell is stopping this behavior is used, so that PostStop can be sent to previous behavior fromfinishTerminate
.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class akka.actor.typed.Behavior
Behavior.BehaviorDecorators<Inner>, Behavior.BehaviorDecorators$
-
-
Constructor Summary
Constructors Constructor Description StoppedBehavior(OptionVal<scala.Function1<TypedActorContext<T>,scala.runtime.BoxedUnit>> postStop)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
onPostStop(TypedActorContext<T> ctx)
OptionVal<scala.Function1<TypedActorContext<T>,scala.runtime.BoxedUnit>>
postStop()
java.lang.String
toString()
-
Methods inherited from class akka.actor.typed.Behavior
_tag, BehaviorDecorators, canonicalize, existsInStack, interpretMessage, interpretSignal, isAlive, isDeferred, isUnhandled, narrow, start, unsafeCast, validateAsInitial
-
-
-
-
Constructor Detail
-
StoppedBehavior
public StoppedBehavior(OptionVal<scala.Function1<TypedActorContext<T>,scala.runtime.BoxedUnit>> postStop)
-
-
Method Detail
-
onPostStop
public void onPostStop(TypedActorContext<T> ctx)
-
postStop
public OptionVal<scala.Function1<TypedActorContext<T>,scala.runtime.BoxedUnit>> postStop()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-