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, getName
public BucketSetOperation(String name, String lockName, Codec codec, Object value, long timeToLive, TimeUnit timeUnit)
public void commit(CommandAsyncExecutor commandExecutor)
commit
in class TransactionalOperation
public void rollback(CommandAsyncExecutor commandExecutor)
rollback
in class TransactionalOperation
public Object getValue()
public String getLockName()
public long getTimeToLive()
public TimeUnit getTimeUnit()
Copyright © 2014–2018 The Redisson Project. All rights reserved.