V - type of valuepublic interface RCollectionAsync<V> extends RExpirableAsync
| Modifier and Type | Method and Description |
|---|---|
RFuture<Boolean> |
addAllAsync(Collection<? extends V> c)
Adds all elements contained in the specified collection
|
RFuture<Boolean> |
addAsync(V e)
Adds element into this collection.
|
RFuture<Boolean> |
containsAllAsync(Collection<?> c)
Returns
true if this collection contains all of the elements
in the specified collection. |
RFuture<Boolean> |
containsAsync(Object o)
Returns
true if this collection contains encoded state of the specified element. |
RFuture<Boolean> |
removeAllAsync(Collection<?> c)
Removes all of this collection's elements that are also contained in the
specified collection.
|
RFuture<Boolean> |
removeAsync(Object o)
Removes a single instance of the specified element from this
collection, if it is present.
|
RFuture<Boolean> |
retainAllAsync(Collection<?> c)
Retains only the elements in this collection that are contained in the
specified collection.
|
RFuture<Integer> |
sizeAsync()
Returns number of elements in this collection.
|
clearExpireAsync, expireAsync, expireAsync, expireAtAsync, expireAtAsync, remainTimeToLiveAsyncaddListenerAsync, copyAsync, deleteAsync, dumpAsync, getIdleTimeAsync, isExistsAsync, migrateAsync, moveAsync, removeListenerAsync, renameAsync, renamenxAsync, restoreAndReplaceAsync, restoreAndReplaceAsync, restoreAsync, restoreAsync, sizeInMemoryAsync, touchAsync, unlinkAsyncRFuture<Boolean> retainAllAsync(Collection<?> c)
c - collection containing elements to be retained in this collectiontrue if this collection changed as a result of the callRFuture<Boolean> removeAllAsync(Collection<?> c)
c - collection containing elements to be removed from this collectiontrue if this collection changed as a result of the
callRFuture<Boolean> containsAsync(Object o)
true if this collection contains encoded state of the specified element.o - element whose presence in this collection is to be testedtrue if this collection contains the specified
element and false otherwiseRFuture<Boolean> containsAllAsync(Collection<?> c)
true if this collection contains all of the elements
in the specified collection.c - collection to be checked for containment in this collectiontrue if this collection contains all of the elements
in the specified collectionRFuture<Boolean> removeAsync(Object o)
o - element to be removed from this collection, if presenttrue if an element was removed as a result of this callRFuture<Integer> sizeAsync()
RFuture<Boolean> addAsync(V e)
e - - element to addtrue if an element was added
and false if it is already presentRFuture<Boolean> addAllAsync(Collection<? extends V> c)
c - - collection of elements to addtrue if at least one element was added
and false if all elements are already presentCopyright © 2014–2021 Redisson. All rights reserved.