Class InitialGroupRouterImpl<T>
- java.lang.Object
-
- akka.actor.typed.Behavior<T>
-
- akka.actor.typed.ExtensibleBehavior<T>
-
- akka.actor.typed.scaladsl.AbstractBehavior<T>
-
- akka.actor.typed.internal.routing.InitialGroupRouterImpl<T>
-
public final class InitialGroupRouterImpl<T> extends AbstractBehavior<T>
INTERNAL APIStarting behavior for a group router before it got a first listing back from the receptionist
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class akka.actor.typed.Behavior
Behavior.BehaviorDecorators<Inner>, Behavior.BehaviorDecorators$
-
-
Constructor Summary
Constructors Constructor Description InitialGroupRouterImpl(ActorContext<T> ctx, ServiceKey<T> serviceKey, boolean preferLocalRoutees, RoutingLogic<T> routingLogic)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Behavior<T>
onMessage(T msg)
Implement this method to process an incoming message and return the next behavior.-
Methods inherited from class akka.actor.typed.scaladsl.AbstractBehavior
context, onSignal, receive, receiveSignal
-
Methods inherited from class akka.actor.typed.Behavior
BehaviorDecorators, canonicalize, existsInStack, interpretMessage, interpretSignal, isAlive, isDeferred, isUnhandled, narrow, start, validateAsInitial
-
-
-
-
Constructor Detail
-
InitialGroupRouterImpl
public InitialGroupRouterImpl(ActorContext<T> ctx, ServiceKey<T> serviceKey, boolean preferLocalRoutees, RoutingLogic<T> routingLogic)
-
-
Method Detail
-
onMessage
public Behavior<T> onMessage(T msg)
Description copied from class:AbstractBehavior
Implement this method to process an incoming message and return the next behavior.The returned behavior can in addition to normal behaviors be one of the canned special objects:
- returning
stopped
will terminate this Behavior - returning
this
orsame
designates to reuse the current Behavior - returning
unhandled
keeps the same Behavior and signals that the message was not yet handled
- Specified by:
onMessage
in classAbstractBehavior<T>
- returning
-
-