final class ReplicatorSettings extends AnyRef

Source
Replicator.scala
Linear Supertypes
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ReplicatorSettings
  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. All

Instance Constructors

  1. new ReplicatorSettings(role: Option[String], gossipInterval: FiniteDuration, notifySubscribersInterval: FiniteDuration, maxDeltaElements: Int, dispatcher: String, pruningInterval: FiniteDuration, maxPruningDissemination: FiniteDuration)
  2. new ReplicatorSettings(role: Option[String], gossipInterval: FiniteDuration, notifySubscribersInterval: FiniteDuration, maxDeltaElements: Int, dispatcher: String, pruningInterval: FiniteDuration, maxPruningDissemination: FiniteDuration, durableStoreProps: Either[(String, Config), Props], durableKeys: Set[String])

    role

    Replicas are running on members tagged with this role. All members are used if undefined.

    gossipInterval

    How often the Replicator should send out gossip information.

    notifySubscribersInterval

    How often the subscribers will be notified of changes, if any.

    maxDeltaElements

    Maximum number of entries to transfer in one gossip message when synchronizing the replicas. Next chunk will be transferred in next round of gossip.

    dispatcher

    Id of the dispatcher to use for Replicator actors. If not specified ("") the default dispatcher is used.

    pruningInterval

    How often the Replicator checks for pruning of data associated with removed cluster nodes.

    maxPruningDissemination

    How long time it takes (worst case) to spread the data to all other replica nodes. This is used when initiating and completing the pruning process of data associated with removed cluster nodes. The time measurement is stopped when any replica is unreachable, so it should be configured to worst case in a healthy cluster.

    durableStoreProps

    Props for the durable store actor, the Left alternative is a tuple of fully qualified actor class name and the config constructor parameter of that class, the Right alternative is the Props of the actor.

    durableKeys

    Keys that are durable. Prefix matching is supported by using * at the end of a key. All entries can be made durable by including "*" in the Set.

Value Members

  1. val dispatcher: String
  2. val durableKeys: Set[String]
  3. val durableStoreProps: Either[(String, Config), Props]
  4. val gossipInterval: FiniteDuration
  5. val maxDeltaElements: Int
  6. val maxPruningDissemination: FiniteDuration
  7. val notifySubscribersInterval: FiniteDuration
  8. val pruningInterval: FiniteDuration
  9. val role: Option[String]
  10. def withDispatcher(dispatcher: String): ReplicatorSettings
  11. def withDurableKeys(durableKeys: Set[String]): ReplicatorSettings

    Java API

  12. def withDurableKeys(durableKeys: Set[String]): ReplicatorSettings

    Scala API

  13. def withDurableStoreProps(durableStoreProps: Props): ReplicatorSettings
  14. def withGossipInterval(gossipInterval: FiniteDuration): ReplicatorSettings
  15. def withMaxDeltaElements(maxDeltaElements: Int): ReplicatorSettings
  16. def withNotifySubscribersInterval(notifySubscribersInterval: FiniteDuration): ReplicatorSettings
  17. def withPruning(pruningInterval: FiniteDuration, maxPruningDissemination: FiniteDuration): ReplicatorSettings
  18. def withRole(role: Option[String]): ReplicatorSettings
  19. def withRole(role: String): ReplicatorSettings