Class MapOperation
java.lang.Object
org.redisson.transaction.operation.TransactionalOperation
org.redisson.transaction.operation.map.MapOperation
- Direct Known Subclasses:
MapAddAndGetOperation,MapCacheFastPutIfAbsentOperation,MapCacheFastPutOperation,MapCachePutIfAbsentOperation,MapCachePutOperation,MapFastPutIfAbsentOperation,MapFastPutIfExistsOperation,MapFastPutOperation,MapFastRemoveOperation,MapPutIfAbsentOperation,MapPutIfExistsOperation,MapPutOperation,MapRemoveOperation,MapReplaceOperation
- Author:
- Nikita Koksharov
-
Field Summary
Fields inherited from class org.redisson.transaction.operation.TransactionalOperation
codec, name, threadId -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract voidfinal voidcommit(CommandAsyncExecutor commandExecutor) getKey()protected RLockgetLock(RMap<?, ?> map, CommandAsyncExecutor commandExecutor, Object key) RMap<?,?> getMap()getMap(CommandAsyncExecutor commandExecutor) getValue()voidrollback(CommandAsyncExecutor commandExecutor) Methods inherited from class org.redisson.transaction.operation.TransactionalOperation
getCodec, getName, getThreadId
-
Constructor Details
-
MapOperation
public MapOperation() -
MapOperation
-
MapOperation
-
-
Method Details
-
getKey
-
getMap
-
commit
- Specified by:
commitin classTransactionalOperation
-
getMap
-
rollback
- Specified by:
rollbackin classTransactionalOperation
-
getLock
-
commit
-
getValue
-
getOldValue
-