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