com.continuent.tungsten.replicator.thl.log
Class LogEventRotateReader

java.lang.Object
  extended by com.continuent.tungsten.replicator.thl.log.LogEventRotateReader

public class LogEventRotateReader
extends java.lang.Object

This class encapsulates operations to read a log rotate event.

Author:
Robert Hodges

Constructor Summary
LogEventRotateReader(LogRecord logRecord, boolean checkCRC)
          Instantiate the reader and load header information.
 
Method Summary
 void done()
          Release the log record.
 long getIndex()
           
 byte getRecordType()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LogEventRotateReader

public LogEventRotateReader(LogRecord logRecord,
                            boolean checkCRC)
                     throws ReplicatorException,
                            java.io.IOException
Instantiate the reader and load header information.

Throws:
ReplicatorException
java.io.IOException
Method Detail

getRecordType

public byte getRecordType()

getIndex

public long getIndex()

done

public void done()
Release the log record.