Package akka.actor.typed
Interface BehaviorInterceptor.ReceiveTarget<T>
-
- Enclosing class:
- BehaviorInterceptor<Outer,Inner>
public static interface BehaviorInterceptor.ReceiveTarget<T>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Behavior<T>
apply(TypedActorContext<?> ctx, T msg)
void
signalRestart(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
. APreRestart
will be sent to the current behavior but the returned Behavior is ignored as a restart is taking place.- Parameters:
ctx
- (undocumented)
-
-