final case class ClusterRouterGroupSettings(totalInstances: Int, routeesPaths: Seq[String], allowLocalRoutees: Boolean, useRoles: Set[String]) extends ClusterRouterSettingsBase with Product with Serializable
totalInstances
of cluster router must be > 0
- Annotations
- @SerialVersionUID()
- Source
- ClusterRouterConfig.scala
Linear Supertypes
Type Hierarchy
Ordering
- Alphabetic
- By Inheritance
Inherited
- ClusterRouterGroupSettings
- 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
ClusterRouterGroupSettings(totalInstances: Int, routeesPaths: Iterable[String], allowLocalRoutees: Boolean, useRoles: Set[String])
Java API
- new ClusterRouterGroupSettings(totalInstances: Int, routeesPaths: Seq[String], allowLocalRoutees: Boolean, useRoles: Set[String])
-
new
ClusterRouterGroupSettings(totalInstances: Int, routeesPaths: Iterable[String], allowLocalRoutees: Boolean, useRole: String)
Java API
Java API
- Annotations
- @deprecated
- Deprecated
(Since version 2.5.4) useRole has been replaced with useRoles
-
new
ClusterRouterGroupSettings(totalInstances: Int, routeesPaths: Seq[String], 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
- ClusterRouterGroupSettings → ClusterRouterSettingsBase
- val routeesPaths: Seq[String]
-
val
totalInstances: Int
- Definition Classes
- ClusterRouterGroupSettings → ClusterRouterSettingsBase
-
val
useRoles: Set[String]
- Definition Classes
- ClusterRouterGroupSettings → ClusterRouterSettingsBase
-
def
withUseRoles(useRoles: Set[String]): ClusterRouterGroupSettings
Java API
-
def
withUseRoles(useRoles: String*): ClusterRouterGroupSettings
- Annotations
- @varargs()
- def withUseRoles(useRoles: Set[String]): ClusterRouterGroupSettings
Deprecated Value Members
-
def
copy(totalInstances: Int = totalInstances, routeesPaths: Seq[String] = routeesPaths, allowLocalRoutees: Boolean = allowLocalRoutees, useRole: Option[String] = useRole): ClusterRouterGroupSettings
- Annotations
- @deprecated @silent()
- Deprecated
(Since version 2.5.4) Use constructor with useRoles instead
-
def
useRole: Option[String]
- Annotations
- @deprecated
- Deprecated
(Since version 2.5.4) useRole has been replaced with useRoles