Class LoomGSet<E>

java.lang.Object
com.loomcache.client.LoomGSet<E>

public final class LoomGSet<E> extends Object
Client-side grow-only set CRDT proxy.

A G-Set supports monotonic additions only. There is intentionally no remove or clear operation because either would violate CRDT merge safety.

  • Method Details

    • add

      public boolean add(@Nullable E element)
    • contains

      public boolean contains(@Nullable E element)
    • size

      public int size()
    • isEmpty

      public boolean isEmpty()
    • members

      public Set<E> members()