public class AddCacheOperation extends SetOperation
codec, name| Constructor and Description |
|---|
AddCacheOperation(RObject set,
Object value,
long ttl,
TimeUnit timeUnit,
String transactionId,
long threadId) |
AddCacheOperation(RObject set,
Object value,
String transactionId,
long threadId) |
AddCacheOperation(String name,
Codec codec,
Object value,
long ttl,
TimeUnit timeUnit,
String transactionId,
long threadId) |
| Modifier and Type | Method and Description |
|---|---|
void |
commit(CommandAsyncExecutor commandExecutor) |
TimeUnit |
getTimeUnit() |
long |
getTTL() |
Object |
getValue() |
void |
rollback(CommandAsyncExecutor commandExecutor) |
getLock, getLockgetCodec, getNamepublic AddCacheOperation(RObject set, Object value, String transactionId, long threadId)
public AddCacheOperation(RObject set, Object value, long ttl, TimeUnit timeUnit, String transactionId, long threadId)
public void commit(CommandAsyncExecutor commandExecutor)
commit in class TransactionalOperationpublic void rollback(CommandAsyncExecutor commandExecutor)
rollback in class TransactionalOperationpublic Object getValue()
public TimeUnit getTimeUnit()
public long getTTL()
Copyright © 2014–2020 Redisson. All rights reserved.