public class ExecAdaptor extends AbstractAdaptor
| Modifier and Type | Field and Description |
|---|---|
static boolean |
FULL_PATHS |
adaptorID, control, dest, type| Constructor and Description |
|---|
ExecAdaptor() |
| 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) |
long |
shutdown(AdaptorShutdownPolicy shutdownPolicy)
Signals this adaptor to come to an orderly stop.
|
void |
start(long offset) |
deregisterAndStop, getType, hardStop, parseArgs, shutdown, startpublic static final boolean FULL_PATHS
public String getCurrentStatus()
Adaptorpublic long shutdown(AdaptorShutdownPolicy shutdownPolicy) throws AdaptorException
AdaptorAdaptorExceptionpublic void start(long offset)
throws AdaptorException
start in class AbstractAdaptorAdaptorExceptionpublic String parseArgs(String status)
parseArgs in class AbstractAdaptorCopyright © ${year} The Apache Software Foundation