akka.cluster.routing
Class ClusterRouterGroup

java.lang.Object
  extended by akka.cluster.routing.ClusterRouterGroup
All Implemented Interfaces:
ClusterRouterConfigBase, Group, RouterConfig, java.io.Serializable, scala.Equals, scala.Product

public final class ClusterRouterGroup
extends java.lang.Object
implements Group, ClusterRouterConfigBase, scala.Product, scala.Serializable

RouterConfig implementation for deployment on cluster nodes. Delegates other duties to the local RouterConfig, which makes it possible to mix this with the built-in routers such as RoundRobinRouter or custom routers.

See Also:
Serialized Form

Constructor Summary
ClusterRouterGroup(Group local, ClusterRouterGroupSettings settings)
           
 
Method Summary
 RouterActor createRouterActor()
          INTERNAL API
 Group local()
           
 scala.collection.immutable.Iterable<java.lang.String> paths()
           
 ClusterRouterGroupSettings settings()
           
 RouterConfig withFallback(RouterConfig other)
          Overridable merge strategy, by default completely prefers this (i.e.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface akka.routing.Group
props, routeeFor
 
Methods inherited from interface akka.cluster.routing.ClusterRouterConfigBase
createRouter, isManagementMessage, routerDispatcher, routingLogicController, stopRouterWhenAllRouteesRemoved
 
Methods inherited from interface akka.routing.RouterConfig
verifyConfig
 
Methods inherited from interface scala.Product
productArity, productElement, productIterator, productPrefix
 
Methods inherited from interface scala.Equals
canEqual, equals
 

Constructor Detail

ClusterRouterGroup

public ClusterRouterGroup(Group local,
                          ClusterRouterGroupSettings settings)
Method Detail

local

public Group local()
Specified by:
local in interface ClusterRouterConfigBase

settings

public ClusterRouterGroupSettings settings()
Specified by:
settings in interface ClusterRouterConfigBase

paths

public scala.collection.immutable.Iterable<java.lang.String> paths()
Specified by:
paths in interface Group

createRouterActor

public RouterActor createRouterActor()
INTERNAL API

Specified by:
createRouterActor in interface Group
Specified by:
createRouterActor in interface RouterConfig
Returns:
(undocumented)

withFallback

public RouterConfig withFallback(RouterConfig other)
Description copied from interface: RouterConfig
Overridable merge strategy, by default completely prefers this (i.e. no merge).

Specified by:
withFallback in interface RouterConfig
Parameters:
other - (undocumented)
Returns:
(undocumented)