Class InitialGroupRouterImpl<T>
java.lang.Object
org.apache.pekko.actor.typed.Behavior<T>
org.apache.pekko.actor.typed.ExtensibleBehavior<T>
org.apache.pekko.actor.typed.scaladsl.AbstractBehavior<T>
org.apache.pekko.actor.typed.internal.routing.InitialGroupRouterImpl<T>
INTERNAL API
Starting behavior for a group router before it got a first listing back from the receptionist
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.pekko.actor.typed.Behavior
Behavior.BehaviorDecorators<Inner>, Behavior.BehaviorDecorators$ -
Constructor Summary
ConstructorsConstructorDescriptionInitialGroupRouterImpl(ActorContext<T> ctx, ServiceKey<T> serviceKey, boolean preferLocalRoutees, RoutingLogic<T> routingLogic) -
Method Summary
Methods inherited from class org.apache.pekko.actor.typed.scaladsl.AbstractBehavior
context, onSignal, receive, receiveSignalMethods inherited from class org.apache.pekko.actor.typed.Behavior
BehaviorDecorators, canonicalize, existsInStack, interpretMessage, interpretSignal, isAlive, isDeferred, isUnhandled, narrow, start, validateAsInitial
-
Constructor Details
-
InitialGroupRouterImpl
public InitialGroupRouterImpl(ActorContext<T> ctx, ServiceKey<T> serviceKey, boolean preferLocalRoutees, RoutingLogic<T> routingLogic)
-
-
Method Details
-
onMessage
Description copied from class:AbstractBehaviorImplement 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
stoppedwill terminate this Behavior - returning
thisorsamedesignates to reuse the current Behavior - returning
unhandledkeeps the same Behavior and signals that the message was not yet handled
- Specified by:
onMessagein classAbstractBehavior<T>
- returning
-