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,
AdaptorShutdownPolicy mode) |
long |
stopAdaptor(String id,
boolean gracefully)
Deprecated.
|
static final AdaptorManager NULL
org.apache.hadoop.conf.Configuration getConfiguration()
int adaptorCount()
@Deprecated long stopAdaptor(String id, boolean gracefully)
long stopAdaptor(String id, AdaptorShutdownPolicy mode)
String reportCommit(Adaptor src, long uuid)
src
- the adaptor in questionuuid
- the number to record as checkpoint. Must be monotonically increasing.Copyright © 2014 Apache Software Foundation. All Rights Reserved.