public class DirTailingAdaptor extends AbstractAdaptor implements Runnable
| 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.
|
String |
parseArgs(String status) |
void |
run() |
long |
shutdown(AdaptorShutdownPolicy shutdownPolicy)
Signals this adaptor to come to an orderly stop.
|
void |
start(long offset) |
deregisterAndStop, getType, hardStop, parseArgs, shutdown, startpublic void start(long offset)
throws AdaptorException
start in class AbstractAdaptorAdaptorExceptionpublic String getCurrentStatus()
AdaptorgetCurrentStatus in interface Adaptorpublic String parseArgs(String status)
parseArgs in class AbstractAdaptorpublic long shutdown(AdaptorShutdownPolicy shutdownPolicy) throws AdaptorException
Adaptorshutdown in interface AdaptorshutdownPolicy - is defined as forcefully or gracefullyAdaptorException - Exception on shutdownCopyright © 2016 Apache Software Foundation. All Rights Reserved.