@InterfaceAudience.Private @InterfaceStability.Unstable public abstract class LogFile extends Object
| Modifier and Type | Class and Description | 
|---|---|
| static class  | LogFile.OperationRecordUpdaterThis is an class meant to be an internal Flume API,
 and can change at any time. | 
| static class  | LogFile.SequentialReader | 
| Modifier and Type | Field and Description | 
|---|---|
| static byte | OP_EOF | 
| static byte | OP_NOOP | 
| static byte | OP_RECORD | 
| Constructor and Description | 
|---|
| LogFile() | 
| Modifier and Type | Method and Description | 
|---|---|
| static void | main(String[] args) | 
| protected static byte[] | readDelimitedBuffer(RandomAccessFile fileHandle) | 
| protected static void | skipRecord(RandomAccessFile fileHandle,
          int offset) | 
| protected static void | writeDelimitedBuffer(ByteBuffer output,
                    ByteBuffer buffer) | 
public static final byte OP_RECORD
public static final byte OP_NOOP
public static final byte OP_EOF
protected static void skipRecord(RandomAccessFile fileHandle, int offset) throws IOException
IOExceptionprotected static void writeDelimitedBuffer(ByteBuffer output, ByteBuffer buffer) throws IOException
IOExceptionprotected static byte[] readDelimitedBuffer(RandomAccessFile fileHandle) throws IOException, CorruptEventException
IOExceptionCorruptEventExceptionpublic static void main(String[] args) throws EOFException, IOException, CorruptEventException
Copyright © 2009-2017 Apache Software Foundation. All Rights Reserved.