V
- type of valuepublic interface RCollectionAsync<V> extends RExpirableAsync
Modifier and Type | Method and Description |
---|---|
RFuture<Boolean> |
addAllAsync(Collection<? extends V> c) |
RFuture<Boolean> |
addAsync(V e) |
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 the specified element.
|
RFuture<Boolean> |
removeAllAsync(Collection<?> c)
Removes all of this collection's elements that are also contained in the
specified collection (optional operation).
|
RFuture<Boolean> |
removeAsync(Object o)
Removes a single instance of the specified element from this
collection, if it is present (optional operation).
|
RFuture<Boolean> |
retainAllAsync(Collection<?> c)
Retains only the elements in this collection that are contained in the
specified collection (optional operation).
|
RFuture<Integer> |
sizeAsync()
Returns the number of elements in this collection.
|
clearExpireAsync, expireAsync, expireAtAsync, expireAtAsync, remainTimeToLiveAsync
deleteAsync, isExistsAsync, migrateAsync, moveAsync, renameAsync, renamenxAsync, touchAsync, unlinkAsync
RFuture<Boolean> retainAllAsync(Collection<?> c)
c
- collection containing elements to be retained in this collectionRFuture<Boolean> removeAllAsync(Collection<?> c)
c
- collection containing elements to be removed from this collectionRFuture<Boolean> containsAsync(Object o)
o
- element whose presence in this collection is to be testedRFuture<Boolean> containsAllAsync(Collection<?> c)
c
- collection to be checked for containment in this collectionRFuture<Boolean> removeAsync(Object o)
o
- element to be removed from this collection, if presentRFuture<Integer> sizeAsync()
RFuture<Boolean> addAllAsync(Collection<? extends V> c)
Copyright © 2014–2018 The Redisson Project. All rights reserved.