final class ClusterSingletonSettings extends AnyRef

Annotations
@nowarn()
Source
ClusterSingleton.scala
Linear Supertypes
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ClusterSingletonSettings
  2. AnyRef
  3. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new ClusterSingletonSettings(role: Option[String], dataCenter: [DataCenter], singletonIdentificationInterval: FiniteDuration, removalMargin: FiniteDuration, handOverRetryInterval: FiniteDuration, bufferSize: Int, leaseSettings: [LeaseUsageSettings])
  2. new ClusterSingletonSettings(role: Option[String], dataCenter: [DataCenter], singletonIdentificationInterval: FiniteDuration, removalMargin: FiniteDuration, handOverRetryInterval: FiniteDuration, bufferSize: Int)
    Annotations
    @deprecated
    Deprecated

    (Since version 2.6.15) Use constructor with leaseSettings

Value Members

  1. val bufferSize: Int
  2. val handOverRetryInterval: FiniteDuration
  3. val leaseSettings: [LeaseUsageSettings]
  4. val removalMargin: FiniteDuration
  5. val role: Option[String]
  6. val singletonIdentificationInterval: FiniteDuration
  7. def toString(): String
    Definition Classes
    ClusterSingletonSettings → AnyRef → Any
  8. def withBufferSize(bufferSize: Int): ClusterSingletonSettings
  9. def withHandoverRetryInterval(handOverRetryInterval: Duration): ClusterSingletonSettings
  10. def withHandoverRetryInterval(handOverRetryInterval: FiniteDuration): ClusterSingletonSettings
  11. def withLeaseSettings(leaseSettings: LeaseUsageSettings): ClusterSingletonSettings

    Note that if you define a custom lease name and have several singletons each one must have a unique lease name.

    Note that if you define a custom lease name and have several singletons each one must have a unique lease name. If the lease name is undefined it will be derived from ActorSystem name and singleton actor path, but that may result in too long lease names.

  12. def withNoRole(): ClusterSingletonSettings
  13. def withRemovalMargin(removalMargin: Duration): ClusterSingletonSettings
  14. def withRemovalMargin(removalMargin: FiniteDuration): ClusterSingletonSettings
  15. def withRole(role: String): ClusterSingletonSettings

Deprecated Value Members

  1. val dataCenter: [DataCenter]
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use Akka Distributed Cluster instead

  2. def withDataCenter(dataCenter: DataCenter): ClusterSingletonSettings
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use Akka Distributed Cluster instead

  3. def withNoDataCenter(): ClusterSingletonSettings
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use Akka Distributed Cluster instead