com.cloudtran.replicator.ssdStore
Class SSDWriteOperationHeader

java.lang.Object
  extended by com.cloudtran.replicator.ssdStore.SSDWriteOperationHeader

public class SSDWriteOperationHeader
extends Object


Constructor Summary
SSDWriteOperationHeader()
           
SSDWriteOperationHeader(int runNumber, int numberOfTxThisArea, long firstTxSeqNumThisArea, long lastTxSeqNumAcked, long lastTxIdAcked, long timestamp)
           
 
Method Summary
 long getFirstTxSeqNumThisArea()
           
 long getLastTxIdAcked()
           
 long getLastTxSeqNumAcked()
           
 long getNumberOfTxThisArea()
           
 int getRunNumber()
           
 long getTimestamp()
           
 void readHeaderFromBytes(ReadBuffer.BufferInput bufferInput)
           
 String toString()
           
 void writeHeaderToBytes(WriteBuffer.BufferOutput bufferOutput)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SSDWriteOperationHeader

public SSDWriteOperationHeader()

SSDWriteOperationHeader

public SSDWriteOperationHeader(int runNumber,
                               int numberOfTxThisArea,
                               long firstTxSeqNumThisArea,
                               long lastTxSeqNumAcked,
                               long lastTxIdAcked,
                               long timestamp)
Method Detail

getRunNumber

public int getRunNumber()

getFirstTxSeqNumThisArea

public long getFirstTxSeqNumThisArea()

getLastTxSeqNumAcked

public long getLastTxSeqNumAcked()

getLastTxIdAcked

public long getLastTxIdAcked()

getNumberOfTxThisArea

public long getNumberOfTxThisArea()

getTimestamp

public long getTimestamp()

toString

public String toString()
Overrides:
toString in class Object

writeHeaderToBytes

public void writeHeaderToBytes(WriteBuffer.BufferOutput bufferOutput)
                        throws IOException
Throws:
IOException

readHeaderFromBytes

public void readHeaderFromBytes(ReadBuffer.BufferInput bufferInput)
                         throws IOException
Throws:
IOException