public class AdapterRuntimeManager extends Object implements IAdapterRuntimeManager
IAdapterRuntimeManager.State| Constructor and Description |
|---|
AdapterRuntimeManager(FeedId feedId,
IFeedAdapter feedAdapter,
IIntakeProgressTracker tracker,
DistributeFeedFrameWriter writer,
int partition) |
| Modifier and Type | Method and Description |
|---|---|
AdapterExecutor |
getAdapterExecutor() |
IFeedAdapter |
getFeedAdapter() |
FeedId |
getFeedId() |
IngestionRuntime |
getIngestionRuntime() |
int |
getPartition() |
IIntakeProgressTracker |
getProgressTracker() |
IAdapterRuntimeManager.State |
getState() |
IIntakeProgressTracker |
getTracker() |
void |
setState(IAdapterRuntimeManager.State state) |
void |
start() |
void |
stop() |
String |
toString() |
public AdapterRuntimeManager(FeedId feedId, IFeedAdapter feedAdapter, IIntakeProgressTracker tracker, DistributeFeedFrameWriter writer, int partition)
public void start()
throws Exception
start in interface IAdapterRuntimeManagerExceptionpublic void stop()
stop in interface IAdapterRuntimeManagerpublic FeedId getFeedId()
getFeedId in interface IAdapterRuntimeManagerpublic IFeedAdapter getFeedAdapter()
getFeedAdapter in interface IAdapterRuntimeManagerpublic IIntakeProgressTracker getTracker()
public IAdapterRuntimeManager.State getState()
getState in interface IAdapterRuntimeManagerpublic void setState(IAdapterRuntimeManager.State state)
setState in interface IAdapterRuntimeManagerpublic AdapterExecutor getAdapterExecutor()
public int getPartition()
getPartition in interface IAdapterRuntimeManagerpublic IngestionRuntime getIngestionRuntime()
public IIntakeProgressTracker getProgressTracker()
getProgressTracker in interface IAdapterRuntimeManagerCopyright © 2016 The Apache Software Foundation. All rights reserved.