c
org.apache.pekko.cluster.routing
ClusterRouterGroupSettings
Companion object ClusterRouterGroupSettings
final class ClusterRouterGroupSettings extends Product with Serializable with ClusterRouterSettingsBase
totalInstances of cluster router must be > 0
- Annotations
- @SerialVersionUID()
- Source
- ClusterRouterConfig.scala
Linear Supertypes
Type Hierarchy
Ordering
- Alphabetic
- By Inheritance
Inherited
- ClusterRouterGroupSettings
- ClusterRouterSettingsBase
- Serializable
- Serializable
- Product
- Equals
- 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 Akka 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 Akka 2.5.4) useRole has been replaced with useRoles
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
def
+(other: String): String
- Implicit
- This member is added by an implicit conversion from ClusterRouterGroupSettings to any2stringadd[ClusterRouterGroupSettings] performed by method any2stringadd in scala.Predef.
- Definition Classes
- any2stringadd
-
def
->[B](y: B): (ClusterRouterGroupSettings, B)
- Implicit
- This member is added by an implicit conversion from ClusterRouterGroupSettings to ArrowAssoc[ClusterRouterGroupSettings] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @inline()
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
val
allowLocalRoutees: Boolean
- Definition Classes
- ClusterRouterGroupSettings → ClusterRouterSettingsBase
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
canEqual(that: Any): Boolean
- Definition Classes
- ClusterRouterGroupSettings → Equals
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
-
def
ensuring(cond: (ClusterRouterGroupSettings) ⇒ Boolean, msg: ⇒ Any): ClusterRouterGroupSettings
- Implicit
- This member is added by an implicit conversion from ClusterRouterGroupSettings to Ensuring[ClusterRouterGroupSettings] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: (ClusterRouterGroupSettings) ⇒ Boolean): ClusterRouterGroupSettings
- Implicit
- This member is added by an implicit conversion from ClusterRouterGroupSettings to Ensuring[ClusterRouterGroupSettings] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean, msg: ⇒ Any): ClusterRouterGroupSettings
- Implicit
- This member is added by an implicit conversion from ClusterRouterGroupSettings to Ensuring[ClusterRouterGroupSettings] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean): ClusterRouterGroupSettings
- Implicit
- This member is added by an implicit conversion from ClusterRouterGroupSettings to Ensuring[ClusterRouterGroupSettings] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(obj: Any): Boolean
- Definition Classes
- ClusterRouterGroupSettings → Equals → AnyRef → Any
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
hashCode(): Int
- Definition Classes
- ClusterRouterGroupSettings → AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
productArity: Int
- Definition Classes
- ClusterRouterGroupSettings → Product
-
def
productElement(n: Int): Any
- Definition Classes
- ClusterRouterGroupSettings → Product
-
def
productIterator: Iterator[Any]
- Definition Classes
- Product
-
def
productPrefix: String
- Definition Classes
- Product
- val routeesPaths: Seq[String]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- ClusterRouterGroupSettings → AnyRef → Any
-
val
totalInstances: Int
- Definition Classes
- ClusterRouterGroupSettings → ClusterRouterSettingsBase
-
val
useRoles: Set[String]
- Definition Classes
- ClusterRouterGroupSettings → ClusterRouterSettingsBase
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
def
withUseRoles(useRoles: Set[String]): ClusterRouterGroupSettings
Java API
-
def
withUseRoles(useRoles: String*): ClusterRouterGroupSettings
- Annotations
- @varargs()
- def withUseRoles(useRoles: Set[String]): ClusterRouterGroupSettings
-
def
→[B](y: B): (ClusterRouterGroupSettings, B)
- Implicit
- This member is added by an implicit conversion from ClusterRouterGroupSettings to ArrowAssoc[ClusterRouterGroupSettings] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
Deprecated Value Members
-
def
copy(totalInstances: Int = totalInstances, routeesPaths: Seq[String] = routeesPaths, allowLocalRoutees: Boolean = allowLocalRoutees, useRole: Option[String] = useRole): ClusterRouterGroupSettings
- Annotations
- @deprecated @nowarn()
- Deprecated
(Since version Akka 2.5.4) Use constructor with useRoles instead
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated
-
def
formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from ClusterRouterGroupSettings to StringFormat[ClusterRouterGroupSettings] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.12.16) Use
formatString.format(value)instead ofvalue.formatted(formatString), or use thef""string interpolator. In Java 15 and later,formattedresolves to the new method in String which has reversed parameters.
-
def
useRole: Option[String]
- Annotations
- @deprecated
- Deprecated
(Since version Akka 2.5.4) useRole has been replaced with useRoles