public abstract class MapOperation extends TransactionalOperation
codec, name
Constructor and Description |
---|
MapOperation() |
MapOperation(RMap<?,?> map,
Object key,
Object value) |
MapOperation(RMap<?,?> map,
Object key,
Object value,
Object oldValue) |
Modifier and Type | Method and Description |
---|---|
void |
commit(CommandAsyncExecutor commandExecutor) |
protected abstract void |
commit(RMap<Object,Object> map) |
Object |
getKey() |
RMap<?,?> |
getMap() |
protected RMap<Object,Object> |
getMap(CommandAsyncExecutor commandExecutor) |
Object |
getOldValue() |
Object |
getValue() |
void |
rollback(CommandAsyncExecutor commandExecutor) |
getCodec, getName
public Object getKey()
public RMap<?,?> getMap()
public final void commit(CommandAsyncExecutor commandExecutor)
commit
in class TransactionalOperation
protected RMap<Object,Object> getMap(CommandAsyncExecutor commandExecutor)
public void rollback(CommandAsyncExecutor commandExecutor)
rollback
in class TransactionalOperation
public Object getValue()
public Object getOldValue()
Copyright © 2014–2018 The Redisson Project. All rights reserved.