org.elasticsearch.river
Class RiversService
java.lang.Object
org.elasticsearch.common.component.AbstractComponent
org.elasticsearch.common.component.AbstractLifecycleComponent<RiversService>
org.elasticsearch.river.RiversService
- All Implemented Interfaces:
- CloseableComponent, LifecycleComponent<RiversService>
public class RiversService
- extends AbstractLifecycleComponent<RiversService>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RiversService
@Inject
public RiversService(Settings settings,
Client client,
ThreadPool threadPool,
ClusterService clusterService,
RiversTypesRegistry typesRegistry,
RiverClusterService riverClusterService,
Injector injector)
doStart
protected void doStart()
throws ElasticSearchException
- Specified by:
doStart
in class AbstractLifecycleComponent<RiversService>
- Throws:
ElasticSearchException
doStop
protected void doStop()
throws ElasticSearchException
- Specified by:
doStop
in class AbstractLifecycleComponent<RiversService>
- Throws:
ElasticSearchException
doClose
protected void doClose()
throws ElasticSearchException
- Specified by:
doClose
in class AbstractLifecycleComponent<RiversService>
- Throws:
ElasticSearchException
createRiver
public void createRiver(RiverName riverName,
Map<String,Object> settings)
throws ElasticSearchException
- Throws:
ElasticSearchException
closeRiver
public void closeRiver(RiverName riverName)
throws ElasticSearchException
- Throws:
ElasticSearchException
Copyright © 2009-2012. All Rights Reserved.