public class FileAdaptor extends AbstractAdaptor
Constructor and Description |
---|
FileAdaptor() |
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 params) |
long |
shutdown(AdaptorShutdownPolicy shutdownPolicy)
Signals this adaptor to come to an orderly stop.
|
void |
start(long bytes) |
deregisterAndStop, getType, hardStop, parseArgs, shutdown, start
public void start(long bytes)
start
in class AbstractAdaptor
public long shutdown(AdaptorShutdownPolicy shutdownPolicy)
Adaptor
shutdownPolicy
- is defined as forcefully or gracefullypublic String parseArgs(String params)
parseArgs
in class AbstractAdaptor
Copyright © 2016 Apache Software Foundation. All Rights Reserved.