Package akka.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 akka.routing.RouterActor
createRouterActor()
INTERNAL APIscala.collection.immutable.Iterable<java.lang.String>
paths(ActorSystem system)
Props
props()
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 akka.routing.RouterConfig
createRouter, isManagementMessage, routerDispatcher, routingLogicController, stopRouterWhenAllRouteesRemoved, verifyConfig, withFallback
-
-
-
-
Method Detail
-
createRouterActor
akka.routing.RouterActor createRouterActor()
INTERNAL API- Specified by:
createRouterActor
in interfaceRouterConfig
-
paths
scala.collection.immutable.Iterable<java.lang.String> paths(ActorSystem system)
-
routeeFor
Routee routeeFor(java.lang.String path, ActorContext context)
INTERNAL API
-
-