Package akka.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 inBehaviorInterceptor.aroundReceive(akka.actor.typed.TypedActorContext<Outer>, Outer, akka.actor.typed.BehaviorInterceptor.ReceiveTarget<Inner>).Not for user extension
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Behavior<T>apply(TypedActorContext<?> ctx, T msg)voidsignalRestart(TypedActorContext<?> ctx)INTERNAL API
-
-
-
Method Detail
-
apply
Behavior<T> apply(TypedActorContext<?> ctx, T msg)
-
signalRestart
void signalRestart(TypedActorContext<?> ctx)
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.
-
-