Package io.atomix.client.set
Interface AsyncDistributedSet<E>
- Type Parameters:
E- set entry type
- All Superinterfaces:
AsyncDistributedCollection<E>,AsyncIterable<E>,AsyncPrimitive,DistributedPrimitive
-
Field Summary
Fields inherited from interface io.atomix.client.DistributedPrimitive
DEFAULT_OPERATION_TIMEOUT_MILLIS -
Method Summary
Modifier and TypeMethodDescriptiondefault DistributedSet<E>sync()Returns a synchronous wrapper around the asynchronous primitive.Returns a synchronous wrapper around the asynchronous primitive.Methods inherited from interface io.atomix.client.collection.AsyncDistributedCollection
add, addAll, clear, contains, containsAll, isEmpty, listen, listen, remove, removeAll, retainAll, sizeMethods inherited from interface io.atomix.client.iterator.AsyncIterable
iterator, streamMethods inherited from interface io.atomix.client.AsyncPrimitive
closeMethods inherited from interface io.atomix.client.DistributedPrimitive
addStateChangeListener, name, removeStateChangeListener
-
Method Details
-
sync
Description copied from interface:AsyncPrimitiveReturns a synchronous wrapper around the asynchronous primitive.- Specified by:
syncin interfaceAsyncDistributedCollection<E>- Specified by:
syncin interfaceAsyncPrimitive- Returns:
- the synchronous primitive
-
sync
Description copied from interface:AsyncPrimitiveReturns a synchronous wrapper around the asynchronous primitive.- Specified by:
syncin interfaceAsyncDistributedCollection<E>- Specified by:
syncin interfaceAsyncPrimitive- Parameters:
operationTimeout- the synchronous operation timeout- Returns:
- the synchronous primitive
-