com.hazelcast.multimap.impl.txn
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) |
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) |
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 void commitAsync(NodeEngine nodeEngine, ExecutionCallback callback)
commitAsync
in interface TransactionLog
public Future rollback(NodeEngine nodeEngine)
rollback
in interface TransactionLog
public void rollbackAsync(NodeEngine nodeEngine, ExecutionCallback callback)
rollbackAsync
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 © 2015 Hazelcast, Inc.. All Rights Reserved.