public interface AdaptorManager
Modifier and Type | Field and Description |
---|---|
static AdaptorManager |
NULL |
Modifier and Type | Method and Description |
---|---|
int |
adaptorCount() |
Adaptor |
getAdaptor(String id) |
Map<String,String> |
getAdaptorList() |
org.apache.hadoop.conf.Configuration |
getConfiguration() |
String |
processAddCommand(String cmd) |
String |
reportCommit(Adaptor src,
long uuid)
Called to update the Agent status table.
|
long |
stopAdaptor(String id,
boolean gracefully) |
static final AdaptorManager NULL
org.apache.hadoop.conf.Configuration getConfiguration()
int adaptorCount()
long stopAdaptor(String id, boolean gracefully)
String reportCommit(Adaptor src, long uuid)
src
- the adaptor in questionuuid
- the number to record as checkpoint. Must be monotonically increasing.Copyright © ${year} The Apache Software Foundation