com.cloudtran.replicator.ssdStore
Class SSDMasterFile

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

public class SSDMasterFile
extends Object


Constructor Summary
SSDMasterFile(byte[] byteArr)
           
SSDMasterFile(int runNumber, long firstTxSeqNum, long startTimeMillis)
           
 
Method Summary
 long getFirstTxSeqNum()
           
 int getRunNumber()
           
 long getStartTimeMillis()
           
 boolean isMasterFileValid()
           
 String toString()
           
 void writeHeaderToBytes(WriteBuffer.BufferOutput bufferOutput)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SSDMasterFile

public SSDMasterFile(int runNumber,
                     long firstTxSeqNum,
                     long startTimeMillis)

SSDMasterFile

public SSDMasterFile(byte[] byteArr)
Method Detail

isMasterFileValid

public boolean isMasterFileValid()

getRunNumber

public int getRunNumber()

getFirstTxSeqNum

public long getFirstTxSeqNum()

getStartTimeMillis

public long getStartTimeMillis()

writeHeaderToBytes

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

toString

public String toString()
Overrides:
toString in class Object