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, getNamepublic void commit(CommandAsyncExecutor commandExecutor)
commit in class TransactionalOperationpublic void rollback(CommandAsyncExecutor commandExecutor)
rollback in class TransactionalOperationpublic V getExpected()
public V getValue()
public String getLockName()
Copyright © 2014–2018 The Redisson Project. All rights reserved.