Interface DistributedSet<E>

  • Type Parameters:
    E - set entry type
    All Superinterfaces:
    java.util.Collection<E>, DistributedPrimitive, java.lang.Iterable<E>, java.util.Set<E>
    All Known Implementing Classes:

    public interface DistributedSet<E>
    extends java.util.Set<E>, DistributedPrimitive
    A distributed collection designed for holding unique elements.
    • Method Detail

      • addListener

        void addListener​(SetEventListener<E> listener)
        Registers the specified listener to be notified whenever the set is updated.
        listener - listener to notify about set update events
      • removeListener

        void removeListener​(SetEventListener<E> listener)
        Unregisters the specified listener.
        listener - listener to unregister.