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