Package akka.cluster.ddata
Interface ReplicatedDeltaSize
-
- All Known Implementing Classes:
ORMap.AtomicDeltaOp
,ORMap.DeltaGroup
,ORMap.PutDeltaOp
,ORMap.RemoveDeltaOp
,ORMap.RemoveKeyDeltaOp
,ORMap.UpdateDeltaOp
,ORSet.AddDeltaOp
,ORSet.AtomicDeltaOp
,ORSet.DeltaGroup
,ORSet.FullStateDeltaOp
,ORSet.RemoveDeltaOp
public interface ReplicatedDeltaSize
Some complex deltas grow in size for each update and above a configured threshold such deltas are discarded and sent as full state instead. This interface should be implemented by such deltas to define its size. This is number of elements or similar size hint, not size in bytes. The threshold is defined inakka.cluster.distributed-data.delta-crdt.max-delta-size
or correspondingReplicatorSettings
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
deltaSize()
-