Class Key<T extends ReplicatedData>

java.lang.Object
org.apache.pekko.cluster.ddata.Key<T>
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
FlagKey, GCounterKey, GSetKey, LWWMapKey, LWWRegisterKey, ORMapKey, ORMultiMapKey, ORSetKey, PNCounterKey, PNCounterMapKey

public abstract class Key<T extends ReplicatedData> extends Object implements Serializable
Key for the key-value data in Replicator. The type of the data value is defined in the key. Keys are compared equal if the id strings are equal, i.e. use unique identifiers.

Specific classes are provided for the built in data types, e.g. ORSetKey, and you can create your own keys.

See Also:
  • Constructor Details

  • Method Details