Packages

final class ClusterSingletonManagerSettings extends NoSerializationVerificationNeeded

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ClusterSingletonManagerSettings
  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 ClusterSingletonManagerSettings(singletonName: String, role: Option[String], removalMargin: FiniteDuration, handOverRetryInterval: FiniteDuration)

    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).

Value Members

  1. val handOverRetryInterval: FiniteDuration
  2. val removalMargin: FiniteDuration
  3. val role: Option[String]
  4. val singletonName: String
  5. def withHandOverRetryInterval(retryInterval: Duration): ClusterSingletonManagerSettings
  6. def withHandOverRetryInterval(retryInterval: FiniteDuration): ClusterSingletonManagerSettings
  7. def withRemovalMargin(removalMargin: Duration): ClusterSingletonManagerSettings
  8. def withRemovalMargin(removalMargin: FiniteDuration): ClusterSingletonManagerSettings
  9. def withRole(role: Option[String]): ClusterSingletonManagerSettings
  10. def withRole(role: String): ClusterSingletonManagerSettings
  11. def withSingletonName(name: String): ClusterSingletonManagerSettings