com.cloudtran.replicator.ssdStore
Class SSDTransactionHeader

java.lang.Object
  extended by com.cloudtran.replicator.ssdStore.SSDTransactionHeader
All Implemented Interfaces:
PortableObject

public class SSDTransactionHeader
extends Object
implements PortableObject


Field Summary
static int headerLength
           
static int POF_INDEX_LOGICAL_TX_ID
           
static int POF_INDEX_MAGIC_MARKER
           
static int POF_INDEX_TIMESTAMP
           
 
Constructor Summary
SSDTransactionHeader(long txSeqNum, long timestamp)
           
 
Method Summary
 void readExternal(PofReader reader)
           
 void writeExternal(PofWriter writer)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

headerLength

public static final int headerLength
See Also:
Constant Field Values

POF_INDEX_MAGIC_MARKER

public static final int POF_INDEX_MAGIC_MARKER
See Also:
Constant Field Values

POF_INDEX_LOGICAL_TX_ID

public static final int POF_INDEX_LOGICAL_TX_ID
See Also:
Constant Field Values

POF_INDEX_TIMESTAMP

public static final int POF_INDEX_TIMESTAMP
See Also:
Constant Field Values
Constructor Detail

SSDTransactionHeader

public SSDTransactionHeader(long txSeqNum,
                            long timestamp)
Method Detail

readExternal

public void readExternal(PofReader reader)
                  throws IOException
Specified by:
readExternal in interface PortableObject
Throws:
IOException

writeExternal

public void writeExternal(PofWriter writer)
                   throws IOException
Specified by:
writeExternal in interface PortableObject
Throws:
IOException