public class RCheckFTAdaptor extends LWFTAdaptor implements FileFilter
DEFAULT_MAX_READ_SIZE, MAX_READ_SIZE_OPT
Constructor and Description |
---|
RCheckFTAdaptor() |
Modifier and Type | Method and Description |
---|---|
boolean |
accept(File pathname) |
String |
getCurrentStatus()
Return the adaptor's state Should not include class name or byte
offset, which are written by caller.
|
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() |
getStreamName, shutdown
deregisterAndStop, getType, hardStop, parseArgs, shutdown, start
public String parseArgs(String params)
parseArgs
in class LWFTAdaptor
public String getCurrentStatus()
Adaptor
getCurrentStatus
in interface Adaptor
getCurrentStatus
in class LWFTAdaptor
Adaptor.getCurrentStatus()
public boolean accept(File pathname)
accept
in interface FileFilter
public void start(long offset)
start
in class LWFTAdaptor
public boolean tailFile() throws InterruptedException
tailFile
in class LWFTAdaptor
InterruptedException
public String toString()
toString
in class LWFTAdaptor
Copyright © 2016 Apache Software Foundation. All Rights Reserved.