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
RouterConfig
for 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.RouterActor
createRouterActor()
INTERNAL APIscala.collection.immutable.Iterable<java.lang.String>
paths(ActorSystem system)
Props
props()
pekko.actor.Props
for a group router based on the settings defined by this instance.Routee
routeeFor(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:
createRouterActor
in interfaceRouterConfig
-
paths
scala.collection.immutable.Iterable<java.lang.String> paths(ActorSystem system)
-
props
Props props()
pekko.actor.Props
for a group router based on the settings defined by this instance.
-
routeeFor
Routee routeeFor(java.lang.String path, ActorContext context)
INTERNAL API
-
-