Package org.apache.pekko.actor.typed
Interface BehaviorInterceptor.ReceiveTarget<T>
- Enclosing class:
- BehaviorInterceptor<Outer,
Inner>
public static interface BehaviorInterceptor.ReceiveTarget<T>
Abstraction of passing the message on further in the behavior stack in
BehaviorInterceptor.aroundReceive(org.apache.pekko.actor.typed.TypedActorContext<Outer>, Outer, org.apache.pekko.actor.typed.BehaviorInterceptor.ReceiveTarget<Inner>).
Not for user extension
-
Method Summary
Modifier and TypeMethodDescriptionapply(TypedActorContext<?> ctx, T msg) voidsignalRestart(TypedActorContext<?> ctx) INTERNAL API
-
Method Details
-
apply
-
signalRestart
INTERNAL APISignal that the received message will result in a simulated restart by the
BehaviorInterceptor. APreRestartwill be sent to the current behavior but the returned Behavior is ignored as a restart is taking place.
-