public class MultiMapTransactionLog extends Object implements KeyAwareTransactionLog
Constructor and Description |
---|
MultiMapTransactionLog() |
MultiMapTransactionLog(Data key,
String name,
long ttl,
long threadId) |
Modifier and Type | Method and Description |
---|---|
void |
addOperation(Operation op) |
Future |
commit(NodeEngine nodeEngine) |
Object |
getKey() |
Future |
prepare(NodeEngine nodeEngine) |
void |
readData(ObjectDataInput in)
Reads fields from the input stream
|
Future |
rollback(NodeEngine nodeEngine) |
int |
size() |
String |
toString() |
void |
writeData(ObjectDataOutput out)
Writes object fields to output stream
|
public Future prepare(NodeEngine nodeEngine)
prepare
in interface TransactionLog
public Future commit(NodeEngine nodeEngine)
commit
in interface TransactionLog
public Future rollback(NodeEngine nodeEngine)
rollback
in interface TransactionLog
public void writeData(ObjectDataOutput out) throws IOException
DataSerializable
writeData
in interface DataSerializable
out
- outputIOException
public void readData(ObjectDataInput in) throws IOException
DataSerializable
readData
in interface DataSerializable
in
- inputIOException
public Object getKey()
getKey
in interface KeyAwareTransactionLog
public void addOperation(Operation op)
public int size()
Copyright © 2014 Hazelcast, Inc.. All Rights Reserved.