org.apache.flume.channel.file
Class LogFile
java.lang.Object
   org.apache.flume.channel.file.LogFile
org.apache.flume.channel.file.LogFile
- Direct Known Subclasses: 
- LogFileV3
- @InterfaceAudience.Private
@InterfaceStability.Unstable
public abstract class LogFile 
- extends Object
 
 
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
OP_RECORD
public static final byte OP_RECORD
- See Also:
- Constant Field Values
OP_NOOP
public static final byte OP_NOOP
- See Also:
- Constant Field Values
OP_EOF
public static final byte OP_EOF
- See Also:
- Constant Field Values
LogFile
public LogFile()
skipRecord
protected static void skipRecord(RandomAccessFile fileHandle,
                                 int offset)
                          throws IOException
- 
- Throws:
- IOException
 
writeDelimitedBuffer
protected static void writeDelimitedBuffer(ByteBuffer output,
                                           ByteBuffer buffer)
                                    throws IOException
- 
- Throws:
- IOException
 
readDelimitedBuffer
protected static byte[] readDelimitedBuffer(RandomAccessFile fileHandle)
                                     throws IOException,
                                            CorruptEventException
- 
- Throws:
- IOException
- CorruptEventException
 
main
public static void main(String[] args)
                 throws EOFException,
                        IOException,
                        CorruptEventException
- 
- Throws:
- EOFException
- IOException
- CorruptEventException
 
Copyright © 2009-2015 Apache Software Foundation. All Rights Reserved.