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