|
|||||||||
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
Constructor Summary | |
---|---|
ClusterRouterSettings(int totalInstances,
int maxInstancesPerNode,
boolean allowLocalRoutees,
java.lang.String useRole)
Java API: Settings for create and deploy of the routees |
|
ClusterRouterSettings(int totalInstances,
int maxInstancesPerNode,
java.lang.String routeesPath,
boolean allowLocalRoutees,
scala.Option<java.lang.String> useRole)
|
|
ClusterRouterSettings(int totalInstances,
java.lang.String routeesPath,
boolean allowLocalRoutees,
java.lang.String useRole)
Java API: Settings for lookup of the routees |
Method Summary | |
---|---|
boolean |
allowLocalRoutees()
|
static ClusterRouterSettings |
apply(int totalInstances,
int maxInstancesPerNode,
boolean allowLocalRoutees,
scala.Option<java.lang.String> useRole)
Settings for create and deploy of the routees |
static ClusterRouterSettings |
apply(int totalInstances,
int maxInstancesPerNode,
scala.Option<java.lang.String> useRole)
Settings for remote deployment of the routees, allowed to use routees on own node |
static ClusterRouterSettings |
apply(int totalInstances,
java.lang.String routeesPath,
boolean allowLocalRoutees,
scala.Option<java.lang.String> useRole)
Settings for lookup of the routees |
static ClusterRouterSettings |
apply(int totalInstances,
java.lang.String routeesPath,
scala.Option<java.lang.String> useRole)
Settings for lookup of the routees, allowed to use routees on own node |
boolean |
isRouteesPathDefined()
|
int |
maxInstancesPerNode()
|
java.lang.String |
routeesPath()
|
int |
totalInstances()
|
scala.Option<java.lang.String> |
useRole()
|
static scala.Option<java.lang.String> |
useRoleOption(java.lang.String role)
|
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, java.lang.String routeesPath, boolean allowLocalRoutees, scala.Option<java.lang.String> useRole)
public ClusterRouterSettings(int totalInstances, int maxInstancesPerNode, boolean allowLocalRoutees, java.lang.String useRole)
totalInstances
- (undocumented)maxInstancesPerNode
- (undocumented)allowLocalRoutees
- (undocumented)useRole
- (undocumented)public ClusterRouterSettings(int totalInstances, java.lang.String routeesPath, boolean allowLocalRoutees, java.lang.String useRole)
totalInstances
- (undocumented)routeesPath
- (undocumented)allowLocalRoutees
- (undocumented)useRole
- (undocumented)Method Detail |
---|
public static ClusterRouterSettings apply(int totalInstances, int maxInstancesPerNode, boolean allowLocalRoutees, scala.Option<java.lang.String> useRole)
totalInstances
- (undocumented)maxInstancesPerNode
- (undocumented)allowLocalRoutees
- (undocumented)useRole
- (undocumented)
public static ClusterRouterSettings apply(int totalInstances, int maxInstancesPerNode, scala.Option<java.lang.String> useRole)
totalInstances
- (undocumented)maxInstancesPerNode
- (undocumented)useRole
- (undocumented)
public static ClusterRouterSettings apply(int totalInstances, java.lang.String routeesPath, boolean allowLocalRoutees, scala.Option<java.lang.String> useRole)
totalInstances
- (undocumented)routeesPath
- (undocumented)allowLocalRoutees
- (undocumented)useRole
- (undocumented)
public static ClusterRouterSettings apply(int totalInstances, java.lang.String routeesPath, scala.Option<java.lang.String> useRole)
totalInstances
- (undocumented)routeesPath
- (undocumented)useRole
- (undocumented)
public static scala.Option<java.lang.String> useRoleOption(java.lang.String role)
public int totalInstances()
totalInstances
in interface ClusterRouterSettingsBase
public int maxInstancesPerNode()
public java.lang.String routeesPath()
public boolean allowLocalRoutees()
allowLocalRoutees
in interface ClusterRouterSettingsBase
public scala.Option<java.lang.String> useRole()
useRole
in interface ClusterRouterSettingsBase
public boolean isRouteesPathDefined()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |