Package org.apache.pekko.cluster.ddata
Interface ReplicatedDeltaSize
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 in
pekko.cluster.distributed-data.delta-crdt.max-delta-size
or corresponding ReplicatorSettings.-
Method Summary
-
Method Details
-
deltaSize
int deltaSize()
-