Packages

final class ClusterSingletonManagerSettings extends NoSerializationVerificationNeeded

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ClusterSingletonManagerSettings
  2. NoSerializationVerificationNeeded
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new ClusterSingletonManagerSettings(singletonName: String, role: Option[String], removalMargin: FiniteDuration, handOverRetryInterval: FiniteDuration)
  2. new ClusterSingletonManagerSettings(singletonName: String, role: Option[String], removalMargin: FiniteDuration, handOverRetryInterval: FiniteDuration, leaseSettings: Option[LeaseUsageSettings])

    singletonName

    The actor name of the child singleton actor.

    role

    Singleton among the nodes tagged with specified role. If the role is not specified it's a singleton among all nodes in the cluster.

    removalMargin

    Margin until the singleton instance that belonged to a downed/removed partition is created in surviving partition. The purpose of this margin is that in case of a network partition the singleton actors in the non-surviving partitions must be stopped before corresponding actors are started somewhere else. This is especially important for persistent actors.

    handOverRetryInterval

    When a node is becoming oldest it sends hand-over request to previous oldest, that might be leaving the cluster. This is retried with this interval until the previous oldest confirms that the hand over has started or the previous oldest member is removed from the cluster (+ removalMargin).

    leaseSettings

    LeaseSettings for acquiring before creating the singleton actor

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  8. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  9. val handOverRetryInterval: FiniteDuration
  10. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  11. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  12. val leaseSettings: Option[LeaseUsageSettings]
  13. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  15. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  16. val removalMargin: FiniteDuration
  17. val role: Option[String]
  18. val singletonName: String
  19. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  20. def toString(): String
    Definition Classes
    AnyRef → Any
  21. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  22. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  23. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  24. def withHandOverRetryInterval(retryInterval: FiniteDuration): ClusterSingletonManagerSettings
  25. def withLeaseSettings(leaseSettings: LeaseUsageSettings): ClusterSingletonManagerSettings
  26. def withRemovalMargin(removalMargin: FiniteDuration): ClusterSingletonManagerSettings
  27. def withRole(role: Option[String]): ClusterSingletonManagerSettings
  28. def withRole(role: String): ClusterSingletonManagerSettings
  29. def withSingletonName(name: String): ClusterSingletonManagerSettings

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated @Deprecated
    Deprecated

Inherited from AnyRef

Inherited from Any

Ungrouped