Package org.apache.pekko.cluster.ddata
Class GSet$
- java.lang.Object
- 
- org.apache.pekko.cluster.ddata.GSet$
 
- 
- All Implemented Interfaces:
- java.io.Serializable
 
 public class GSet$ extends java.lang.Object implements java.io.Serializable- See Also:
- Serialized Form
 
- 
- 
Constructor SummaryConstructors Constructor Description GSet$()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description GSet<java.lang.Object>apply()<A> GSet<A>apply(scala.collection.immutable.Set<A> elements, scala.Option<GSet<A>> delta)Implements a 'Add Set' CRDT, also called a 'G-Set'.<A> GSet<A>create()Java API<A> GSet<A>empty()<A> scala.Option<scala.collection.immutable.Set<A>>unapply(GSet<A> x$0)
 
- 
- 
- 
Field Detail- 
MODULE$public static final GSet$ MODULE$ Static reference to the singleton instance of this Scala object.
 
- 
 - 
Method Detail- 
emptypublic <A> GSet<A> empty() 
 - 
applypublic GSet<java.lang.Object> apply() 
 - 
createpublic <A> GSet<A> create() Java API
 - 
applypublic <A> GSet<A> apply(scala.collection.immutable.Set<A> elements, scala.Option<GSet<A>> delta) 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. 
 - 
unapplypublic <A> scala.Option<scala.collection.immutable.Set<A>> unapply(GSet<A> x$0) 
 
- 
 
-