V
- value typepublic class BucketCompareAndSetOperation<V> extends TransactionalOperation
codec, name
Constructor and Description |
---|
BucketCompareAndSetOperation(String name,
String lockName,
Codec codec,
V expected,
V value) |
Modifier and Type | Method and Description |
---|---|
void |
commit(CommandAsyncExecutor commandExecutor) |
V |
getExpected() |
String |
getLockName() |
V |
getValue() |
void |
rollback(CommandAsyncExecutor commandExecutor) |
getCodec, getName
public void commit(CommandAsyncExecutor commandExecutor)
commit
in class TransactionalOperation
public void rollback(CommandAsyncExecutor commandExecutor)
rollback
in class TransactionalOperation
public V getExpected()
public V getValue()
public String getLockName()
Copyright © 2014–2019 The Redisson Project. All rights reserved.