Package org.redisson.transaction
Class TransactionalSetCache<V>
java.lang.Object
org.redisson.transaction.BaseTransactionalObject
org.redisson.transaction.BaseTransactionalSet<V>
org.redisson.transaction.TransactionalSetCache<V>
- Type Parameters:
V- value type
- Author:
- Nikita Koksharov
-
Constructor Summary
ConstructorsConstructorDescriptionTransactionalSetCache(CommandAsyncExecutor commandExecutor, long timeout, List<TransactionalOperation> operations, RSetCache<V> set, String transactionId) -
Method Summary
Modifier and TypeMethodDescriptionprotected TransactionalOperationcreateAddOperation(V value, long threadId) protected MoveOperationcreateMoveOperation(String destination, V value, long threadId) protected TransactionalOperationcreateRemoveOperation(Object value, long threadId) protected ScanResult<Object> scanIteratorSource(String name, RedisClient client, long startPos, String pattern, int count) Methods inherited from class org.redisson.transaction.BaseTransactionalSet
addAllAsync, addAsync, addAsync, clearExpireAsync, containsAllAsync, containsAsync, deleteAsync, deleteAsync, diffAsync, executeLocked, executeLocked, expireAsync, expireAtAsync, 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, unlinkAsyncMethods inherited from class org.redisson.transaction.BaseTransactionalObject
executeLocked, executeLocked, executeLocked, getLockName, getReadLock, getWriteLock, migrateAsync, moveAsync
-
Constructor Details
-
TransactionalSetCache
public TransactionalSetCache(CommandAsyncExecutor commandExecutor, long timeout, List<TransactionalOperation> operations, RSetCache<V> set, String transactionId)
-
-
Method Details
-
scanIteratorSource
protected ScanResult<Object> scanIteratorSource(String name, RedisClient client, long startPos, String pattern, int count) - Specified by:
scanIteratorSourcein classBaseTransactionalSet<V>
-
readAllAsyncSource
- Specified by:
readAllAsyncSourcein classBaseTransactionalSet<V>
-
addAsync
-
createAddOperation
- Specified by:
createAddOperationin classBaseTransactionalSet<V>
-
createMoveOperation
- Specified by:
createMoveOperationin classBaseTransactionalSet<V>
-
createRemoveOperation
- Specified by:
createRemoveOperationin classBaseTransactionalSet<V>
-