org.elasticsearch.river.cluster
Class RiverClusterService
java.lang.Object
org.elasticsearch.common.component.AbstractComponent
org.elasticsearch.common.component.AbstractLifecycleComponent<RiverClusterService>
org.elasticsearch.river.cluster.RiverClusterService
- All Implemented Interfaces:
- CloseableComponent, LifecycleComponent<RiverClusterService>
public class RiverClusterService
- extends AbstractLifecycleComponent<RiverClusterService>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RiverClusterService
@Inject
public RiverClusterService(Settings settings,
TransportService transportService,
ClusterService clusterService)
doStart
protected void doStart()
throws ElasticSearchException
- Specified by:
doStart
in class AbstractLifecycleComponent<RiverClusterService>
- Throws:
ElasticSearchException
doStop
protected void doStop()
throws ElasticSearchException
- Specified by:
doStop
in class AbstractLifecycleComponent<RiverClusterService>
- Throws:
ElasticSearchException
doClose
protected void doClose()
throws ElasticSearchException
- Specified by:
doClose
in class AbstractLifecycleComponent<RiverClusterService>
- Throws:
ElasticSearchException
add
public void add(RiverClusterStateListener listener)
remove
public void remove(RiverClusterStateListener listener)
submitStateUpdateTask
public void submitStateUpdateTask(java.lang.String source,
RiverClusterStateUpdateTask updateTask)