public class RCheckFTAdaptor extends LWFTAdaptor implements FileFilter
conf, DEFAULT_MAX_READ_SIZE, fileReadOffset, MAX_READ_SIZE, MAX_READ_SIZE_OPT, offsetOfFirstByte, taileradaptorID, control, dest, type| Constructor and Description |
|---|
RCheckFTAdaptor() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
accept(File pathname) |
protected void |
advanceQ() |
String |
getCurrentStatus()
Return the adaptor's state Should not include class name or byte
offset, which are written by caller.
|
protected void |
mkFileQ() |
String |
parseArgs(String params)
Check for date-modified and offset; if absent assume we just got a name.
|
void |
start(long offset) |
boolean |
tailFile() |
String |
toString() |
extractRecords, getStreamName, shutdown, slurpderegisterAndStop, getType, hardStop, parseArgs, shutdown, startpublic String parseArgs(String params)
parseArgs in class LWFTAdaptorpublic String getCurrentStatus()
AdaptorgetCurrentStatus in interface AdaptorgetCurrentStatus in class LWFTAdaptorAdaptor.getCurrentStatus()public boolean accept(File pathname)
accept in interface FileFilterprotected void mkFileQ()
protected void advanceQ()
public void start(long offset)
start in class LWFTAdaptorpublic boolean tailFile()
throws InterruptedException
tailFile in class LWFTAdaptorInterruptedExceptionpublic String toString()
toString in class LWFTAdaptorCopyright © ${year} The Apache Software Foundation