Package 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, java.io.Serializable
RouterConfig
implementation for deployment on cluster nodes. Delegates other duties to the localRouterConfig
, which makes it possible to mix this with the built-in routers such asRoundRobinGroup
or custom routers.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ClusterRouterGroup(Group local, ClusterRouterGroupSettings settings)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ClusterRouterGroup
apply(Group local, ClusterRouterGroupSettings settings)
boolean
canEqual(java.lang.Object x$1)
ClusterRouterGroup
copy(Group local, ClusterRouterGroupSettings settings)
Group
copy$default$1()
ClusterRouterGroupSettings
copy$default$2()
boolean
equals(java.lang.Object x$1)
int
hashCode()
Group
local()
scala.collection.immutable.Iterable<java.lang.String>
paths(ActorSystem system)
int
productArity()
java.lang.Object
productElement(int x$1)
java.lang.String
productElementName(int x$1)
scala.collection.Iterator<java.lang.Object>
productIterator()
java.lang.String
productPrefix()
ClusterRouterGroupSettings
settings()
java.lang.String
toString()
static scala.Option<scala.Tuple2<Group,ClusterRouterGroupSettings>>
unapply(ClusterRouterGroup x$0)
RouterConfig
withFallback(RouterConfig other)
Overridable merge strategy, by default completely prefersthis
(i.e.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface akka.cluster.routing.ClusterRouterConfigBase
createRouter, isManagementMessage, routerDispatcher, routingLogicController, stopRouterWhenAllRouteesRemoved, super$isManagementMessage
-
Methods inherited from interface akka.routing.RouterConfig
verifyConfig
-
-
-
-
Constructor Detail
-
ClusterRouterGroup
public ClusterRouterGroup(Group local, ClusterRouterGroupSettings settings)
-
-
Method Detail
-
apply
public static ClusterRouterGroup apply(Group local, ClusterRouterGroupSettings settings)
-
unapply
public static scala.Option<scala.Tuple2<Group,ClusterRouterGroupSettings>> unapply(ClusterRouterGroup x$0)
-
local
public Group local()
- Specified by:
local
in interfaceClusterRouterConfigBase
-
settings
public ClusterRouterGroupSettings settings()
- Specified by:
settings
in interfaceClusterRouterConfigBase
-
paths
public scala.collection.immutable.Iterable<java.lang.String> paths(ActorSystem system)
-
withFallback
public RouterConfig withFallback(RouterConfig other)
Description copied from interface:RouterConfig
Overridable merge strategy, by default completely prefersthis
(i.e. no merge).- Specified by:
withFallback
in interfaceRouterConfig
-
copy
public ClusterRouterGroup copy(Group local, ClusterRouterGroupSettings settings)
-
copy$default$1
public Group copy$default$1()
-
copy$default$2
public ClusterRouterGroupSettings copy$default$2()
-
productPrefix
public java.lang.String productPrefix()
- Specified by:
productPrefix
in interfacescala.Product
-
productArity
public int productArity()
- Specified by:
productArity
in interfacescala.Product
-
productElement
public java.lang.Object productElement(int x$1)
- Specified by:
productElement
in interfacescala.Product
-
productIterator
public scala.collection.Iterator<java.lang.Object> productIterator()
- Specified by:
productIterator
in interfacescala.Product
-
canEqual
public boolean canEqual(java.lang.Object x$1)
- Specified by:
canEqual
in interfacescala.Equals
-
productElementName
public java.lang.String productElementName(int x$1)
- Specified by:
productElementName
in interfacescala.Product
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object x$1)
- Specified by:
equals
in interfacescala.Equals
- Overrides:
equals
in classjava.lang.Object
-
-