public class CharFileTailingAdaptorUTF8 extends FileTailingAdaptor
GRACEFUL_PERIOD, MAX_RETRIES, readerconf, DEFAULT_MAX_READ_SIZE, fileReadOffset, MAX_READ_SIZE, MAX_READ_SIZE_OPT, offsetOfFirstByte, taileradaptorID, control, dest, type| Constructor and Description |
|---|
CharFileTailingAdaptorUTF8() |
| Modifier and Type | Method and Description |
|---|---|
protected int |
extractRecords(ChunkReceiver eq,
long buffOffsetInFile,
byte[] buf)
Note: this method uses a temporary ArrayList (shared across instances).
|
shutdown, start, tailFilegetCurrentStatus, getStreamName, parseArgs, slurp, toStringderegisterAndStop, getType, hardStop, parseArgs, shutdown, startprotected int extractRecords(ChunkReceiver eq, long buffOffsetInFile, byte[] buf) throws InterruptedException
extractRecords 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 © ${year} The Apache Software Foundation