final class ClusterSingletonProxySettings extends NoSerializationVerificationNeeded
- Alphabetic
- By Inheritance
- ClusterSingletonProxySettings
- NoSerializationVerificationNeeded
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new ClusterSingletonProxySettings(singletonName: String, role: Option[String], singletonIdentificationInterval: FiniteDuration, bufferSize: Int)
- new ClusterSingletonProxySettings(singletonName: String, role: Option[String], dataCenter: Option[DataCenter], singletonIdentificationInterval: FiniteDuration, bufferSize: Int)
- singletonName
The actor name of the singleton actor that is started by the ClusterSingletonManager.
- role
The role of the cluster nodes where the singleton can be deployed. Corresponding to the
role
used by theClusterSingletonManager
. If the role is not specified it's a singleton among all nodes in the cluster, and theClusterSingletonManager
must then also be configured in same way.- dataCenter
The data center of the cluster nodes where the singleton is running. If None then the same data center as current node.
- singletonIdentificationInterval
Interval at which the proxy will try to resolve the singleton instance.
- bufferSize
If the location of the singleton is unknown the proxy will buffer this number of messages and deliver them when the singleton is identified. When the buffer is full old messages will be dropped when new messages are sent viea the proxy. Use 0 to disable buffering, i.e. messages will be dropped immediately if the location of the singleton is unknown.
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 ClusterSingletonProxySettings toany2stringadd[ClusterSingletonProxySettings] performed by method any2stringadd in scala.Predef.
- Definition Classes
- any2stringadd
- def ->[B](y: B): (ClusterSingletonProxySettings, B)
- Implicit
- This member is added by an implicit conversion from ClusterSingletonProxySettings toArrowAssoc[ClusterSingletonProxySettings] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @inline()
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- val bufferSize: Int
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- val dataCenter: Option[DataCenter]
- def ensuring(cond: (ClusterSingletonProxySettings) => Boolean, msg: => Any): ClusterSingletonProxySettings
- Implicit
- This member is added by an implicit conversion from ClusterSingletonProxySettings toEnsuring[ClusterSingletonProxySettings] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: (ClusterSingletonProxySettings) => Boolean): ClusterSingletonProxySettings
- Implicit
- This member is added by an implicit conversion from ClusterSingletonProxySettings toEnsuring[ClusterSingletonProxySettings] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: Boolean, msg: => Any): ClusterSingletonProxySettings
- Implicit
- This member is added by an implicit conversion from ClusterSingletonProxySettings toEnsuring[ClusterSingletonProxySettings] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: Boolean): ClusterSingletonProxySettings
- Implicit
- This member is added by an implicit conversion from ClusterSingletonProxySettings toEnsuring[ClusterSingletonProxySettings] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- 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()
- val role: Option[String]
- val singletonIdentificationInterval: FiniteDuration
- val singletonName: String
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- def withBufferSize(bufferSize: Int): ClusterSingletonProxySettings
- def withDataCenter(dataCenter: Option[DataCenter]): ClusterSingletonProxySettings
- def withDataCenter(dataCenter: DataCenter): ClusterSingletonProxySettings
- def withRole(role: Option[String]): ClusterSingletonProxySettings
- def withRole(role: String): ClusterSingletonProxySettings
- def withSingletonIdentificationInterval(singletonIdentificationInterval: FiniteDuration): ClusterSingletonProxySettings
- def withSingletonName(name: String): ClusterSingletonProxySettings
Deprecated Value Members
- 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 ClusterSingletonProxySettings toStringFormat[ClusterSingletonProxySettings] 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,formatted
resolves to the new method in String which has reversed parameters.
- def →[B](y: B): (ClusterSingletonProxySettings, B)
- Implicit
- This member is added by an implicit conversion from ClusterSingletonProxySettings toArrowAssoc[ClusterSingletonProxySettings] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use
->
instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.