V
- value typepublic class TransactionalSetCache<V> extends BaseTransactionalSet<V>
Constructor and Description |
---|
TransactionalSetCache(CommandAsyncExecutor commandExecutor,
long timeout,
List<TransactionalOperation> operations,
RSetCache<V> set,
String transactionId) |
Modifier and Type | Method and Description |
---|---|
RFuture<Boolean> |
addAsync(V value,
long ttl,
TimeUnit ttlUnit) |
protected TransactionalOperation |
createAddOperation(V value,
long threadId) |
protected MoveOperation |
createMoveOperation(String destination,
V value,
long threadId) |
protected TransactionalOperation |
createRemoveOperation(Object value,
long threadId) |
protected RLock |
getLock(RCollectionAsync<V> set,
V value) |
protected RFuture<Set<V>> |
readAllAsyncSource() |
protected ListScanResult<Object> |
scanIteratorSource(String name,
RedisClient client,
long startPos,
String pattern,
int count) |
addAllAsync, addAsync, addAsync, containsAllAsync, containsAsync, deleteAsync, deleteAsync, diffAsync, executeLocked, executeLocked, executeLocked, intersectionAsync, isExistsAsync, moveAsync, readAllAsync, readDiffAsync, readIntersectionAsync, readSortAlphaAsync, readSortAlphaAsync, readSortAlphaAsync, readSortAlphaAsync, readSortAlphaAsync, readSortAlphaAsync, readSortAsync, readSortAsync, readSortAsync, readSortAsync, readUnionAsync, removeAllAsync, removeAsync, removeRandomAsync, removeRandomAsync, retainAllAsync, scanIterator, sortToAsync, touchAsync, unionAsync, unlinkAsync
clearExpireAsync, expireAsync, expireAtAsync, expireAtAsync, migrateAsync, moveAsync
public TransactionalSetCache(CommandAsyncExecutor commandExecutor, long timeout, List<TransactionalOperation> operations, RSetCache<V> set, String transactionId)
protected ListScanResult<Object> scanIteratorSource(String name, RedisClient client, long startPos, String pattern, int count)
scanIteratorSource
in class BaseTransactionalSet<V>
protected RFuture<Set<V>> readAllAsyncSource()
readAllAsyncSource
in class BaseTransactionalSet<V>
protected TransactionalOperation createAddOperation(V value, long threadId)
createAddOperation
in class BaseTransactionalSet<V>
protected MoveOperation createMoveOperation(String destination, V value, long threadId)
createMoveOperation
in class BaseTransactionalSet<V>
protected TransactionalOperation createRemoveOperation(Object value, long threadId)
createRemoveOperation
in class BaseTransactionalSet<V>
protected RLock getLock(RCollectionAsync<V> set, V value)
getLock
in class BaseTransactionalSet<V>
Copyright © 2014–2020 Redisson. All rights reserved.