Package akka.cluster.routing
Interface ClusterRouterConfigBase
- 
- All Superinterfaces:
- RouterConfig,- java.io.Serializable
 - All Known Implementing Classes:
- ClusterRouterGroup,- ClusterRouterPool
 
 public interface ClusterRouterConfigBase extends RouterConfig INTERNAL API
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description RoutercreateRouter(ActorSystem system)Create the actual router, responsible for routing messages to routees.booleanisManagementMessage(java.lang.Object msg)Is the message handled by the router head actor or theRouterConfig.routingLogicController(akka.routing.RoutingLogic)actor.RouterConfiglocal()java.lang.StringrouterDispatcher()Dispatcher ID to use for running the “head” actor, which handles supervision, death watch and router management messagesscala.Option<Props>routingLogicController(RoutingLogic routingLogic)Possibility to define an actor for controlling the routing logic from external stimuli (e.g.ClusterRouterSettingsBasesettings()booleanstopRouterWhenAllRouteesRemoved()booleansuper$isManagementMessage(java.lang.Object msg)- 
Methods inherited from interface akka.routing.RouterConfigcreateRouterActor, verifyConfig, withFallback
 
- 
 
- 
- 
- 
Method Detail- 
createRouterRouter createRouter(ActorSystem system) Description copied from interface:RouterConfigCreate the actual router, responsible for routing messages to routees.- Specified by:
- createRouterin interface- RouterConfig
- Parameters:
- system- the ActorSystem this router belongs to
 
 - 
isManagementMessageboolean isManagementMessage(java.lang.Object msg) Description copied from interface:RouterConfigIs the message handled by the router head actor or theRouterConfig.routingLogicController(akka.routing.RoutingLogic)actor.- Specified by:
- isManagementMessagein interface- RouterConfig
 
 - 
localRouterConfig local() 
 - 
routerDispatcherjava.lang.String routerDispatcher() Description copied from interface:RouterConfigDispatcher ID to use for running the “head” actor, which handles supervision, death watch and router management messages- Specified by:
- routerDispatcherin interface- RouterConfig
 
 - 
routingLogicControllerscala.Option<Props> routingLogicController(RoutingLogic routingLogic) Description copied from interface:RouterConfigPossibility to define an actor for controlling the routing logic from external stimuli (e.g. monitoring metrics). This actor will be a child of the router "head" actor. Management messages not handled by the "head" actor are delegated to this controller actor.- Specified by:
- routingLogicControllerin interface- RouterConfig
 
 - 
settingsClusterRouterSettingsBase settings() 
 - 
stopRouterWhenAllRouteesRemovedboolean stopRouterWhenAllRouteesRemoved() - Specified by:
- stopRouterWhenAllRouteesRemovedin interface- RouterConfig
 
 - 
super$isManagementMessageboolean super$isManagementMessage(java.lang.Object msg) 
 
- 
 
-