Package akka.cluster.ddata
Interface ReplicatedDelta
-
- All Superinterfaces:
ReplicatedData
- All Known Subinterfaces:
ORMap.DeltaOp
,ORSet.DeltaOp
,RequiresCausalDeliveryOfDeltas
- All Known Implementing Classes:
GCounter
,GSet
,ORMap.AtomicDeltaOp
,ORMap.DeltaGroup
,ORMap.PutDeltaOp
,ORMap.RemoveDeltaOp
,ORMap.RemoveKeyDeltaOp
,ORMap.UpdateDeltaOp
,ORSet.AddDeltaOp
,ORSet.AtomicDeltaOp
,ORSet.DeltaGroup
,ORSet.FullStateDeltaOp
,ORSet.RemoveDeltaOp
,PNCounter
public interface ReplicatedDelta extends ReplicatedData
The delta must implement this type.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DeltaReplicatedData
zero()
The empty full state.-
Methods inherited from interface akka.cluster.ddata.ReplicatedData
merge
-
-
-
-
Method Detail
-
zero
DeltaReplicatedData zero()
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 thezero
to create the initial full state.
-
-