org.apache.flume.channel.file
Class LogRecord

java.lang.Object
  extended by org.apache.flume.channel.file.LogRecord
All Implemented Interfaces:
Comparable<LogRecord>

public class LogRecord
extends Object
implements Comparable<LogRecord>


Constructor Summary
LogRecord(int fileID, int offset, org.apache.flume.channel.file.TransactionEventRecord event)
           
 
Method Summary
 int compareTo(LogRecord o)
           
 org.apache.flume.channel.file.TransactionEventRecord getEvent()
           
 int getFileID()
           
 int getOffset()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LogRecord

public LogRecord(int fileID,
                 int offset,
                 org.apache.flume.channel.file.TransactionEventRecord event)
Method Detail

getFileID

public int getFileID()

getOffset

public int getOffset()

getEvent

public org.apache.flume.channel.file.TransactionEventRecord getEvent()

compareTo

public int compareTo(LogRecord o)
Specified by:
compareTo in interface Comparable<LogRecord>


Copyright © 2009-2012 Apache Software Foundation. All Rights Reserved.