V
- value typepublic abstract class BaseTransactionalSet<V> extends BaseTransactionalObject
Constructor and Description |
---|
BaseTransactionalSet(CommandAsyncExecutor commandExecutor,
long timeout,
List<TransactionalOperation> operations,
RCollectionAsync<V> set) |
clearExpireAsync, expireAsync, expireAtAsync, expireAtAsync, migrateAsync, moveAsync
public BaseTransactionalSet(CommandAsyncExecutor commandExecutor, long timeout, List<TransactionalOperation> operations, RCollectionAsync<V> set)
public RFuture<Boolean> unlinkAsync(CommandAsyncExecutor commandExecutor)
public RFuture<Boolean> touchAsync(CommandAsyncExecutor commandExecutor)
public RFuture<Boolean> deleteAsync(CommandAsyncExecutor commandExecutor)
protected RFuture<Boolean> deleteAsync(CommandAsyncExecutor commandExecutor, TransactionalOperation operation)
protected abstract ListScanResult<ScanObjectEntry> scanIteratorSource(String name, RedisClient client, long startPos, String pattern)
protected ListScanResult<ScanObjectEntry> scanIterator(String name, RedisClient client, long startPos, String pattern)
public RFuture<Boolean> addAsync(V value, TransactionalOperation operation)
protected abstract TransactionalOperation createAddOperation(V value)
protected abstract MoveOperation createMoveOperation(String destination, V value, long threadId)
protected abstract TransactionalOperation createRemoveOperation(Object value)
public RFuture<Boolean> containsAllAsync(Collection<?> c)
public RFuture<Boolean> addAllAsync(Collection<? extends V> c)
public RFuture<Boolean> retainAllAsync(Collection<?> c)
public RFuture<Boolean> removeAllAsync(Collection<?> c)
public <T> RFuture<Collection<T>> readSortAsync(String byPattern, List<String> getPatterns, SortOrder order, int offset, int count)
public RFuture<Integer> sortToAsync(String destName, String byPattern, List<String> getPatterns, SortOrder order, int offset, int count)
protected <R> void executeLocked(RPromise<R> promise, Object value, Runnable runnable)
protected <R> void executeLocked(RPromise<R> promise, Runnable runnable, Collection<?> values)
Copyright © 2014–2018 The Redisson Project. All rights reserved.