|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object akka.cluster.routing.ClusterRouterSettings
public class ClusterRouterSettings
totalInstances
of cluster router must be > 0
maxInstancesPerNode
of cluster router must be > 0
maxInstancesPerNode
of cluster router must be 1 when routeesPath is defined
Constructor Summary | |
---|---|
ClusterRouterSettings(int totalInstances,
int maxInstancesPerNode,
boolean allowLocalRoutees)
Java API: Settings for create and deploy of the routees |
|
ClusterRouterSettings(int totalInstances,
java.lang.String routeesPath,
boolean allowLocalRoutees)
Java API: Settings for lookup of the routees |
Method Summary | |
---|---|
boolean |
allowLocalRoutees()
|
static ClusterRouterSettings |
apply(int totalInstances,
int maxInstancesPerNode)
Settings for remote deployment of the routees, allowed to use routees on own node |
static ClusterRouterSettings |
apply(int totalInstances,
int maxInstancesPerNode,
boolean allowLocalRoutees)
Settings for create and deploy of the routees |
static ClusterRouterSettings |
apply(int totalInstances,
java.lang.String routeesPath)
Settings for lookup of the routees, allowed to use routees on own node |
static ClusterRouterSettings |
apply(int totalInstances,
java.lang.String routeesPath,
boolean allowLocalRoutees)
Settings for lookup of the routees |
boolean |
isRouteesPathDefined()
|
int |
maxInstancesPerNode()
|
java.lang.String |
routeesPath()
|
scala.collection.Iterable<java.lang.String> |
routeesPathElements()
|
int |
totalInstances()
|
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 |
Constructor Detail |
---|
public ClusterRouterSettings(int totalInstances, int maxInstancesPerNode, boolean allowLocalRoutees)
public ClusterRouterSettings(int totalInstances, java.lang.String routeesPath, boolean allowLocalRoutees)
Method Detail |
---|
public static ClusterRouterSettings apply(int totalInstances, int maxInstancesPerNode, boolean allowLocalRoutees)
public static ClusterRouterSettings apply(int totalInstances, int maxInstancesPerNode)
public static ClusterRouterSettings apply(int totalInstances, java.lang.String routeesPath, boolean allowLocalRoutees)
public static ClusterRouterSettings apply(int totalInstances, java.lang.String routeesPath)
public int totalInstances()
public int maxInstancesPerNode()
public java.lang.String routeesPath()
public boolean allowLocalRoutees()
public scala.collection.Iterable<java.lang.String> routeesPathElements()
public boolean isRouteesPathDefined()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |