Class BucketCompareAndSetOperation<V>
- java.lang.Object
-
- org.redisson.transaction.operation.TransactionalOperation
-
- org.redisson.transaction.operation.bucket.BucketCompareAndSetOperation<V>
-
- Type Parameters:
V
- value type
public class BucketCompareAndSetOperation<V> extends TransactionalOperation
- Author:
- Nikita Koksharov
-
-
Field Summary
-
Fields inherited from class org.redisson.transaction.operation.TransactionalOperation
codec, name, threadId
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
commit(CommandAsyncExecutor commandExecutor)
V
getExpected()
String
getLockName()
V
getValue()
void
rollback(CommandAsyncExecutor commandExecutor)
-
Methods inherited from class org.redisson.transaction.operation.TransactionalOperation
getCodec, getName, getThreadId
-
-
-
-
Method Detail
-
commit
public void commit(CommandAsyncExecutor commandExecutor)
- Specified by:
commit
in classTransactionalOperation
-
rollback
public void rollback(CommandAsyncExecutor commandExecutor)
- Specified by:
rollback
in classTransactionalOperation
-
getExpected
public V getExpected()
-
getValue
public V getValue()
-
getLockName
public String getLockName()
-
-