public class FileTailingAdaptorPreserveLines extends FileTailingAdaptor
MAX_RETRIES, readerconf, DEFAULT_MAX_READ_SIZE, fileReadOffset, lastSlurpTime, MAX_READ_SIZE_OPT, offsetOfFirstByteadaptorID, control, dest, type| Constructor and Description |
|---|
FileTailingAdaptorPreserveLines() |
| Modifier and Type | Method and Description |
|---|---|
protected int |
extractRecords(ChunkReceiver eq,
long buffOffsetInFile,
byte[] buf)
Extract records from a byte sequence
|
shutdown, start, tailFilegetCurrentStatus, getStreamName, parseArgs, slurp, toStringderegisterAndStop, getType, hardStop, parseArgs, shutdown, startprotected int extractRecords(ChunkReceiver eq, long buffOffsetInFile, byte[] buf) throws InterruptedException
LWFTAdaptorextractRecords in class LWFTAdaptoreq - the queue to stick the new chunk[s] inbuffOffsetInFile - the byte offset in the stream at which buf[] beginsbuf - the byte buffer to extract records fromInterruptedExceptionCopyright © 2015 Apache Software Foundation. All Rights Reserved.