org.apache.flume.channel.file
Class LogRecord
java.lang.Object
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)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LogRecord
public LogRecord(int fileID,
int offset,
org.apache.flume.channel.file.TransactionEventRecord event)
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.