com.hazelcast.multimap.impl.txn
Class MultiMapTransactionLog

java.lang.Object
  extended by com.hazelcast.multimap.impl.txn.MultiMapTransactionLog
All Implemented Interfaces:
DataSerializable, KeyAwareTransactionLog, TransactionLog

public class MultiMapTransactionLog
extends Object
implements KeyAwareTransactionLog


Constructor Summary
MultiMapTransactionLog()
           
MultiMapTransactionLog(Data key, String name, long ttl, long threadId)
           
 
Method Summary
 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MultiMapTransactionLog

public MultiMapTransactionLog()

MultiMapTransactionLog

public MultiMapTransactionLog(Data key,
                              String name,
                              long ttl,
                              long threadId)
Method Detail

prepare

public Future prepare(NodeEngine nodeEngine)
Specified by:
prepare in interface TransactionLog

commit

public Future commit(NodeEngine nodeEngine)
Specified by:
commit in interface TransactionLog

rollback

public Future rollback(NodeEngine nodeEngine)
Specified by:
rollback in interface TransactionLog

writeData

public void writeData(ObjectDataOutput out)
               throws IOException
Description copied from interface: DataSerializable
Writes object fields to output stream

Specified by:
writeData in interface DataSerializable
Parameters:
out - output
Throws:
IOException

readData

public void readData(ObjectDataInput in)
              throws IOException
Description copied from interface: DataSerializable
Reads fields from the input stream

Specified by:
readData in interface DataSerializable
Parameters:
in - input
Throws:
IOException

getKey

public Object getKey()
Specified by:
getKey in interface KeyAwareTransactionLog

addOperation

public void addOperation(Operation op)

size

public int size()

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.