public class CollectionTransactionLog extends Object implements KeyAwareTransactionLog
| Constructor and Description |
|---|
CollectionTransactionLog() |
CollectionTransactionLog(long itemId,
String name,
int partitionId,
String serviceName,
String transactionId,
Operation op) |
| Modifier and Type | Method and Description |
|---|---|
Future |
commit(NodeEngine nodeEngine) |
Object |
getKey() |
Future |
prepare(NodeEngine nodeEngine) |
void |
readData(ObjectDataInput in)
Reads fields from the input stream
|
Future |
rollback(NodeEngine nodeEngine) |
String |
toString() |
void |
writeData(ObjectDataOutput out)
Writes object fields to output stream
|
public Object getKey()
getKey in interface KeyAwareTransactionLogpublic Future prepare(NodeEngine nodeEngine)
prepare in interface TransactionLogpublic Future commit(NodeEngine nodeEngine)
commit in interface TransactionLogpublic Future rollback(NodeEngine nodeEngine)
rollback in interface TransactionLogpublic void writeData(ObjectDataOutput out) throws IOException
DataSerializablewriteData in interface DataSerializableout - outputIOExceptionpublic void readData(ObjectDataInput in) throws IOException
DataSerializablereadData in interface DataSerializablein - inputIOExceptionCopyright © 2015 Hazelcast, Inc.. All Rights Reserved.