RequiresCausalDeliveryOfDeltas

org.apache.pekko.cluster.ddata.RequiresCausalDeliveryOfDeltas

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.

Attributes

Source
ReplicatedData.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait DeltaOp
trait DeltaOp

Members list

Type members

Inherited types

type T <: ReplicatedData

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

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

Attributes

Inherited from:
ReplicatedData
Source
ReplicatedData.scala

Value members

Inherited methods

def merge(that: T): T

Monotonic merge function.

Monotonic merge function.

Attributes

Inherited from:
ReplicatedData
Source
ReplicatedData.scala

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.

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.

Attributes

Inherited from:
ReplicatedDelta
Source
ReplicatedData.scala