ReplicatedDeltaSize

org.apache.pekko.cluster.ddata.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.

Attributes

Source
ReplicatedData.scala
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Abstract methods

def deltaSize: Int

Attributes

Source
ReplicatedData.scala