public class MapTransactionLog extends Object implements KeyAwareTransactionLog
| Constructor and Description |
|---|
MapTransactionLog() |
MapTransactionLog(String name,
Data key,
Operation op,
long version,
String ownerUuid) |
| Modifier and Type | Method and Description |
|---|---|
Future |
commit(NodeEngine nodeEngine) |
void |
commitAsync(NodeEngine nodeEngine,
ExecutionCallback callback) |
Object |
getKey() |
Future |
prepare(NodeEngine nodeEngine) |
void |
readData(ObjectDataInput in)
Reads fields from the input stream
|
Future |
rollback(NodeEngine nodeEngine) |
void |
rollbackAsync(NodeEngine nodeEngine,
ExecutionCallback callback) |
String |
toString() |
void |
writeData(ObjectDataOutput out)
Writes object fields to output stream
|
public Future prepare(NodeEngine nodeEngine) throws TransactionException
prepare in interface TransactionLogTransactionExceptionpublic Future commit(NodeEngine nodeEngine)
commit in interface TransactionLogpublic void commitAsync(NodeEngine nodeEngine, ExecutionCallback callback)
commitAsync in interface TransactionLogpublic Future rollback(NodeEngine nodeEngine)
rollback in interface TransactionLogpublic void rollbackAsync(NodeEngine nodeEngine, ExecutionCallback callback)
rollbackAsync in interface TransactionLogpublic void writeData(ObjectDataOutput out) throws IOException
DataSerializablewriteData in interface DataSerializableout - outputIOExceptionpublic void readData(ObjectDataInput in) throws IOException
DataSerializablereadData in interface DataSerializablein - inputIOExceptionpublic Object getKey()
getKey in interface KeyAwareTransactionLogCopyright © 2015 Hazelcast, Inc.. All Rights Reserved.