public class CharFileTailingAdaptorUTF8NewLineEscaped extends FileTailingAdaptor
adaptorID, conf, DEFAULT_MAX_READ_SIZE, fileReadOffset, GRACEFUL_PERIOD, MAX_READ_SIZE, MAX_RETRIES, reader, type| Constructor and Description |
|---|
CharFileTailingAdaptorUTF8NewLineEscaped() |
| 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).
|
String |
toString() |
getCurrentStatus, getStreamName, getType, hardStop, shutdown, start, tailFilepublic CharFileTailingAdaptorUTF8NewLineEscaped()
protected int extractRecords(ChunkReceiver eq, long buffOffsetInFile, byte[] buf) throws InterruptedException
extractRecords in class FileTailingAdaptoreq - 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 fromInterruptedExceptionpublic String toString()
toString in class FileTailingAdaptorCopyright © ${year} The Apache Software Foundation