public interface TransactionalSet<E> extends SyncPrimitive
DEFAULT_OPERATION_TIMEOUT_MILLIS| Modifier and Type | Method and Description |
|---|---|
boolean |
add(E e)
Adds the specified element to this set if it is not already present
(optional operation).
|
AsyncTransactionalSet<E> |
async()
Returns the underlying asynchronous primitive.
|
boolean |
contains(E e)
Returns true if this set contains the specified element.
|
boolean |
remove(E e)
Removes the specified element from this set if it is present
(optional operation).
|
close, deleteaddStateChangeListener, name, protocol, removeStateChangeListener, typeboolean add(E e)
e - element to be added to this setboolean remove(E e)
e - element to be removed to this setboolean contains(E e)
e - element whose presence in this set is to be testedClassCastException - if the type of the specified element
is incompatible with this setNullPointerException - if the specified element is null and this
set does not permit null elementsAsyncTransactionalSet<E> async()
SyncPrimitiveasync in interface SyncPrimitiveCopyright © 2013–2018. All rights reserved.