Package org.apache.pekko.routing
Interface Group
-
- All Superinterfaces:
RouterConfig,java.io.Serializable
- All Known Implementing Classes:
AdaptiveLoadBalancingGroup,BroadcastGroup,ClusterRouterGroup,ConsistentHashingGroup,GroupBase,RandomGroup,RoundRobinGroup,ScatterGatherFirstCompletedGroup,TailChoppingGroup
public interface Group extends RouterConfig
RouterConfigfor router actor with routee actors that are created external to the router and the router sends messages to the specified path using actor selection, without watching for termination.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.apache.pekko.routing.RouterActorcreateRouterActor()INTERNAL APIscala.collection.immutable.Iterable<java.lang.String>paths(ActorSystem system)Propsprops()pekko.actor.Propsfor a group router based on the settings defined by this instance.RouteerouteeFor(java.lang.String path, ActorContext context)INTERNAL API-
Methods inherited from interface org.apache.pekko.routing.RouterConfig
createRouter, isManagementMessage, routerDispatcher, routingLogicController, stopRouterWhenAllRouteesRemoved, verifyConfig, withFallback
-
-
-
-
Method Detail
-
createRouterActor
org.apache.pekko.routing.RouterActor createRouterActor()
INTERNAL API- Specified by:
createRouterActorin interfaceRouterConfig
-
paths
scala.collection.immutable.Iterable<java.lang.String> paths(ActorSystem system)
-
props
Props props()
pekko.actor.Propsfor a group router based on the settings defined by this instance.
-
routeeFor
Routee routeeFor(java.lang.String path, ActorContext context)
INTERNAL API
-
-