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
Linear Supertypes
Known Subclasses
Type Hierarchy
Ordering
- Alphabetic
- By Inheritance
Inherited
- RequiresCausalDeliveryOfDeltas
- ReplicatedDelta
- ReplicatedData
- AnyRef
- Any
Implicitly
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
Visibility
- Public
- All
Type Members
-
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
-
abstract
def
merge(that: T): T
Monotonic merge function.
Monotonic merge function.
- Definition Classes
- ReplicatedData
-
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