org.apache.pekko.cluster.singleton
ClusterSingletonProxySettings
Companion object ClusterSingletonProxySettings
final class ClusterSingletonProxySettings extends NoSerializationVerificationNeeded
- Alphabetic
- By Inheritance
- ClusterSingletonProxySettings
- NoSerializationVerificationNeeded
- AnyRef
- Any
- 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
roleused by theClusterSingletonManager. If the role is not specified it's a singleton among all nodes in the cluster, and theClusterSingletonManagermust 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
- 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]
- 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