public class DirTailingAdaptor extends AbstractAdaptor implements Runnable
adaptorID, control, dest, type| Constructor and Description |
|---|
DirTailingAdaptor() |
| Modifier and Type | Method and Description |
|---|---|
String |
getCurrentStatus()
Return the adaptor's state Should not include class name or byte
offset, which are written by caller.
|
void |
hardStop()
Deprecated.
|
String |
parseArgs(String status)
Parse args, return stream name.
|
void |
run() |
long |
shutdown()
Deprecated.
|
long |
shutdown(AdaptorShutdownPolicy shutdownPolicy)
Signals this adaptor to come to an orderly stop.
|
void |
start(long offset) |
deregisterAndStop, getType, startpublic void start(long offset)
throws AdaptorException
start in class AbstractAdaptorAdaptorExceptionpublic String getCurrentStatus()
AdaptorgetCurrentStatus in interface Adaptorpublic String parseArgs(String status)
Adaptor@Deprecated public long shutdown() throws AdaptorException
Adaptorshutdown in interface AdaptorAdaptorException@Deprecated public void hardStop() throws AdaptorException
AdaptorhardStop in interface AdaptorAdaptorExceptionpublic long shutdown(AdaptorShutdownPolicy shutdownPolicy) throws AdaptorException
Adaptorshutdown in interface AdaptorAdaptorExceptionCopyright © ${year} The Apache Software Foundation