public class AddOperation extends SetOperation
codec, name
Constructor and Description |
---|
AddOperation(RObject set,
Object value,
String transactionId,
long threadId) |
AddOperation(String name,
Codec codec,
Object value,
String transactionId,
long threadId) |
Modifier and Type | Method and Description |
---|---|
void |
commit(CommandAsyncExecutor commandExecutor) |
Object |
getValue() |
void |
rollback(CommandAsyncExecutor commandExecutor) |
getLock, getLock
getCodec, getName
public void commit(CommandAsyncExecutor commandExecutor)
commit
in class TransactionalOperation
public void rollback(CommandAsyncExecutor commandExecutor)
rollback
in class TransactionalOperation
public Object getValue()
Copyright © 2014–2020 Redisson. All rights reserved.