Package io.atomix.client.set
Interface DistributedSet<E>
- Type Parameters:
E- set entry type
- All Superinterfaces:
Collection<E>,DistributedCollection<E>,DistributedPrimitive,Iterable<E>,Set<E>,SyncIterable<E>,SyncPrimitive
A distributed collection designed for holding unique elements.
-
Field Summary
Fields inherited from interface io.atomix.client.DistributedPrimitive
DEFAULT_OPERATION_TIMEOUT_MILLIS -
Method Summary
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface io.atomix.client.collection.DistributedCollection
iterator, listen, listenMethods inherited from interface io.atomix.client.DistributedPrimitive
addStateChangeListener, name, removeStateChangeListenerMethods inherited from interface java.util.Set
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, spliterator, toArray, toArrayMethods inherited from interface io.atomix.client.SyncPrimitive
close
-
Method Details
-
async
AsyncDistributedSet<E> async()Description copied from interface:SyncPrimitiveReturns the underlying asynchronous primitive.- Specified by:
asyncin interfaceDistributedCollection<E>- Specified by:
asyncin interfaceSyncPrimitive- Returns:
- the underlying asynchronous primitive
-