final class ClusterSingletonProxySettings extends NoSerializationVerificationNeeded
Ordering
- Alphabetic
- By Inheritance
Inherited
- ClusterSingletonProxySettings
- NoSerializationVerificationNeeded
- AnyRef
- Any
Implicitly
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
Visibility
- Public
- All
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. If None, then any node will do.
- 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
- val bufferSize: Int
- val dataCenter: Option[DataCenter]
- val role: Option[String]
- val singletonIdentificationInterval: FiniteDuration
- val singletonName: String
- 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