akka.cluster.routing
Class ClusterRouterGroup
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface scala.Product |
productArity, productElement, productIterator, productPrefix |
Methods inherited from interface scala.Equals |
canEqual, equals |
ClusterRouterGroup
public ClusterRouterGroup(Group local,
ClusterRouterGroupSettings settings)
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)