public class RiversService extends AbstractLifecycleComponent<RiversService >
lifecyclecomponentSettings, logger, settings| Constructor and Description |
|---|
RiversService(Settings
|
| Modifier and Type | Method and Description |
|---|---|
void |
closeRiver(RiverName
|
void |
createRiver(RiverName
|
protected void |
doClose()
|
protected void |
doStart()
|
protected void |
doStop()
|
addLifecycleListener, close, lifecycleState, removeLifecycleListener, start, stopnodeName@Inject public RiversService(Settingssettings, Client client, ThreadPool threadPool, ClusterService clusterService, RiversTypesRegistry typesRegistry, RiverClusterService riverClusterService, Injector injector)
protected void doStart()
throws ElasticsearchException
doStart in class
AbstractLifecycleComponent<RiversService>
ElasticsearchException
protected void doStop()
throws ElasticsearchException
doStop in class
AbstractLifecycleComponent<RiversService>
ElasticsearchException
protected void doClose()
throws ElasticsearchException
doClose in class
AbstractLifecycleComponent<RiversService>
ElasticsearchException
public void createRiver(RiverNameriverName, Map <String ,Object > settings) throws ElasticsearchException
ElasticsearchException
public void closeRiver(RiverNameriverName) throws ElasticsearchException
ElasticsearchException