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) |
Object |
getKey() |
Future |
prepare(NodeEngine nodeEngine) |
void |
readData(ObjectDataInput in) |
Future |
rollback(NodeEngine nodeEngine) |
void |
writeData(ObjectDataOutput out) |
public Future prepare(NodeEngine nodeEngine) throws TransactionException
prepare in interface TransactionLogTransactionExceptionpublic Future commit(NodeEngine nodeEngine)
commit in interface TransactionLogpublic Future rollback(NodeEngine nodeEngine)
rollback in interface TransactionLogpublic void writeData(ObjectDataOutput out) throws IOException
writeData in interface DataSerializableIOExceptionpublic void readData(ObjectDataInput in) throws IOException
readData in interface DataSerializableIOExceptionpublic Object getKey()
getKey in interface KeyAwareTransactionLogCopyright © 2021 Hazelcast, Inc.. All rights reserved.