Package akka.cluster.routing
Class ClusterRouterPoolSettings$
- java.lang.Object
-
- akka.cluster.routing.ClusterRouterPoolSettings$
-
- All Implemented Interfaces:
java.io.Serializable
,scala.Serializable
public class ClusterRouterPoolSettings$ extends java.lang.Object implements scala.Serializable
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static ClusterRouterPoolSettings$
MODULE$
Static reference to the singleton instance of this Scala object.
-
Constructor Summary
Constructors Constructor Description ClusterRouterPoolSettings$()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description ClusterRouterPoolSettings
apply(int totalInstances, int maxInstancesPerNode, boolean allowLocalRoutees, java.lang.String... useRoles)
ClusterRouterPoolSettings
apply(int totalInstances, int maxInstancesPerNode, boolean allowLocalRoutees, scala.collection.immutable.Set<java.lang.String> useRoles)
totalInstances
of cluster router must be > 0maxInstancesPerNode
of cluster router must be > 0maxInstancesPerNode
of cluster router must be 1 when routeesPath is definedClusterRouterPoolSettings
apply(int totalInstances, int maxInstancesPerNode, boolean allowLocalRoutees, scala.collection.Seq<java.lang.String> useRoles)
ClusterRouterPoolSettings
apply(int totalInstances, int maxInstancesPerNode, boolean allowLocalRoutees, scala.Option<java.lang.String> useRole)
Deprecated.useRole has been replaced with useRoles.ClusterRouterPoolSettings
fromConfig(com.typesafe.config.Config config)
scala.Option<scala.Tuple4<java.lang.Object,java.lang.Object,java.lang.Object,scala.collection.immutable.Set<java.lang.String>>>
unapply(ClusterRouterPoolSettings x$0)
-
-
-
Field Detail
-
MODULE$
public static final ClusterRouterPoolSettings$ MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Method Detail
-
apply
public ClusterRouterPoolSettings apply(int totalInstances, int maxInstancesPerNode, boolean allowLocalRoutees, java.lang.String... useRoles)
-
apply
public ClusterRouterPoolSettings apply(int totalInstances, int maxInstancesPerNode, boolean allowLocalRoutees, scala.Option<java.lang.String> useRole)
Deprecated.useRole has been replaced with useRoles. Since 2.5.4.
-
apply
public ClusterRouterPoolSettings apply(int totalInstances, int maxInstancesPerNode, boolean allowLocalRoutees, scala.collection.Seq<java.lang.String> useRoles)
-
fromConfig
public ClusterRouterPoolSettings fromConfig(com.typesafe.config.Config config)
-
apply
public ClusterRouterPoolSettings apply(int totalInstances, int maxInstancesPerNode, boolean allowLocalRoutees, scala.collection.immutable.Set<java.lang.String> useRoles)
totalInstances
of cluster router must be > 0maxInstancesPerNode
of cluster router must be > 0maxInstancesPerNode
of cluster router must be 1 when routeesPath is defined- Parameters:
totalInstances
- (undocumented)maxInstancesPerNode
- (undocumented)allowLocalRoutees
- (undocumented)useRoles
- (undocumented)- Returns:
- (undocumented)
-
unapply
public scala.Option<scala.Tuple4<java.lang.Object,java.lang.Object,java.lang.Object,scala.collection.immutable.Set<java.lang.String>>> unapply(ClusterRouterPoolSettings x$0)
-
-