public abstract class TransactionalOperation extends Object
Modifier and Type | Field and Description |
---|---|
protected Codec |
codec |
protected String |
name |
Constructor and Description |
---|
TransactionalOperation() |
TransactionalOperation(String name,
Codec codec) |
Modifier and Type | Method and Description |
---|---|
abstract void |
commit(CommandAsyncExecutor commandExecutor) |
Codec |
getCodec() |
String |
getName() |
abstract void |
rollback(CommandAsyncExecutor commandExecutor) |
public Codec getCodec()
public String getName()
public abstract void commit(CommandAsyncExecutor commandExecutor)
public abstract void rollback(CommandAsyncExecutor commandExecutor)
Copyright © 2014–2018 The Redisson Project. All rights reserved.