Packages

final class ClusterSingletonProxySettings extends NoSerializationVerificationNeeded

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ClusterSingletonProxySettings
  2. NoSerializationVerificationNeeded
  3. AnyRef
  4. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ClusterSingletonProxySettings(singletonName: String, role: Option[String], singletonIdentificationInterval: FiniteDuration, bufferSize: Int)
  2. 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

  1. val bufferSize: Int
  2. val dataCenter: Option[DataCenter]
  3. val role: Option[String]
  4. val singletonIdentificationInterval: FiniteDuration
  5. val singletonName: String
  6. def withBufferSize(bufferSize: Int): ClusterSingletonProxySettings
  7. def withDataCenter(dataCenter: Option[DataCenter]): ClusterSingletonProxySettings
  8. def withDataCenter(dataCenter: DataCenter): ClusterSingletonProxySettings
  9. def withRole(role: Option[String]): ClusterSingletonProxySettings
  10. def withRole(role: String): ClusterSingletonProxySettings
  11. def withSingletonIdentificationInterval(singletonIdentificationInterval: FiniteDuration): ClusterSingletonProxySettings
  12. def withSingletonName(name: String): ClusterSingletonProxySettings