Package org.apache.pekko.cluster.ddata
Class GSet$
java.lang.Object
org.apache.pekko.cluster.ddata.GSet$
- All Implemented Interfaces:
Serializable
- See Also:
-
Field Details
-
MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Constructor Details
-
GSet$
public GSet$()
-
-
Method Details
-
empty
-
apply
-
create
Java API -
apply
Implements a 'Add Set' CRDT, also called a 'G-Set'. You can't remove elements of a G-Set.It is described in the paper A comprehensive study of Convergent and Commutative Replicated Data Types.
A G-Set doesn't accumulate any garbage apart from the elements themselves.
This class is immutable, i.e. "modifying" methods return a new instance.
-
unapply
-