final case class ClusterRouterPoolSettings(totalInstances: Int, maxInstancesPerNode: Int, allowLocalRoutees: Boolean, useRoles: Set[String]) extends ClusterRouterSettingsBase with Product with Serializable
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
- Annotations
- @SerialVersionUID()
- Source
- ClusterRouterConfig.scala
Linear Supertypes
Type Hierarchy
Ordering
- Alphabetic
- By Inheritance
Inherited
- ClusterRouterPoolSettings
- Serializable
- Serializable
- Product
- Equals
- ClusterRouterSettingsBase
- AnyRef
- Any
Implicitly
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
-
new
ClusterRouterPoolSettings(totalInstances: Int, maxInstancesPerNode: Int, allowLocalRoutees: Boolean, useRoles: Set[String])
Java API
- new ClusterRouterPoolSettings(totalInstances: Int, maxInstancesPerNode: Int, allowLocalRoutees: Boolean, useRoles: Set[String])
-
new
ClusterRouterPoolSettings(totalInstances: Int, maxInstancesPerNode: Int, allowLocalRoutees: Boolean, useRole: String)
Java API
Java API
- Annotations
- @deprecated
- Deprecated
(Since version 2.5.4) useRole has been replaced with useRoles
-
new
ClusterRouterPoolSettings(totalInstances: Int, maxInstancesPerNode: Int, allowLocalRoutees: Boolean, useRole: Option[String])
- Annotations
- @deprecated
- Deprecated
(Since version 2.5.4) useRole has been replaced with useRoles
Value Members
-
val
allowLocalRoutees: Boolean
- Definition Classes
- ClusterRouterPoolSettings → ClusterRouterSettingsBase
- val maxInstancesPerNode: Int
-
val
totalInstances: Int
- Definition Classes
- ClusterRouterPoolSettings → ClusterRouterSettingsBase
-
val
useRoles: Set[String]
- Definition Classes
- ClusterRouterPoolSettings → ClusterRouterSettingsBase
-
def
withUseRoles(useRoles: Set[String]): ClusterRouterPoolSettings
Java API
-
def
withUseRoles(useRoles: String*): ClusterRouterPoolSettings
- Annotations
- @varargs()
- def withUseRoles(useRoles: Set[String]): ClusterRouterPoolSettings
Deprecated Value Members
-
def
copy(totalInstances: Int = totalInstances, maxInstancesPerNode: Int = maxInstancesPerNode, allowLocalRoutees: Boolean = allowLocalRoutees, useRole: Option[String] = useRole): ClusterRouterPoolSettings
- Annotations
- @deprecated @silent()
- Deprecated
(Since version 2.5.4) Use copy with useRoles instead
-
def
useRole: Option[String]
- Annotations
- @deprecated
- Deprecated
(Since version 2.5.4) useRole has been replaced with useRoles