Class AddCacheOperation
java.lang.Object
org.redisson.transaction.operation.TransactionalOperation
org.redisson.transaction.operation.set.SetOperation
org.redisson.transaction.operation.set.AddCacheOperation
- Author:
- Nikita Koksharov
-
Field Summary
Fields inherited from class org.redisson.transaction.operation.TransactionalOperation
codec, name, threadId
-
Constructor Summary
ConstructorDescriptionAddCacheOperation
(String name, Codec codec, Object value, long ttl, TimeUnit timeUnit, String transactionId, long threadId) AddCacheOperation
(RObject set, Object value, long ttl, TimeUnit timeUnit, String transactionId, long threadId) AddCacheOperation
(RObject set, Object value, String transactionId, long threadId) -
Method Summary
Modifier and TypeMethodDescriptionvoid
commit
(CommandAsyncExecutor commandExecutor) long
getTTL()
getValue()
void
rollback
(CommandAsyncExecutor commandExecutor) Methods inherited from class org.redisson.transaction.operation.set.SetOperation
getLock, getLock, getReadLock
Methods inherited from class org.redisson.transaction.operation.TransactionalOperation
getCodec, getName, getThreadId
-
Constructor Details
-
AddCacheOperation
-
AddCacheOperation
-
AddCacheOperation
-
-
Method Details
-
commit
- Specified by:
commit
in classTransactionalOperation
-
rollback
- Specified by:
rollback
in classTransactionalOperation
-
getValue
-
getTimeUnit
-
getTTL
public long getTTL()
-