t

akka.cluster.ddata

RequiresCausalDeliveryOfDeltas

trait RequiresCausalDeliveryOfDeltas extends ReplicatedDelta

Marker that specifies that the deltas must be applied in causal order. There is some overhead of managing the causal delivery so it should only be used for types that need it.

Note that if the full state type T is different from the delta type D it is the delta D that should be marked with this.

Source
ReplicatedData.scala
Known Subclasses
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RequiresCausalDeliveryOfDeltas
  2. ReplicatedDelta
  3. ReplicatedData
  4. AnyRef
  5. 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

Type Members

  1. abstract type T <: ReplicatedData

    The type of the concrete implementation, e.g.

    The type of the concrete implementation, e.g. GSet[A]. To be specified by subclass.

    Definition Classes
    ReplicatedData

Abstract Value Members

  1. abstract def merge(that: T): T

    Monotonic merge function.

    Monotonic merge function.

    Definition Classes
    ReplicatedData
  2. abstract def zero: DeltaReplicatedData

    The empty full state.

    The empty full state. This is used when a delta is received and no existing full state exists on the receiving side. Then the delta is merged into the zero to create the initial full state.

    Definition Classes
    ReplicatedDelta