org.elasticsearch.river.routing
Class RiversRouter
java.lang.Object
org.elasticsearch.common.component.AbstractComponent
org.elasticsearch.common.component.AbstractLifecycleComponent<RiversRouter>
org.elasticsearch.river.routing.RiversRouter
- All Implemented Interfaces:
- ClusterStateListener, CloseableComponent, LifecycleComponent<RiversRouter>
public class RiversRouter
- extends AbstractLifecycleComponent<RiversRouter>
- implements ClusterStateListener
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RiversRouter
@Inject
public RiversRouter(Settings settings,
Client client,
ClusterService clusterService,
RiverClusterService riverClusterService)
doStart
protected void doStart()
throws ElasticSearchException
- Specified by:
doStart
in class AbstractLifecycleComponent<RiversRouter>
- Throws:
ElasticSearchException
doStop
protected void doStop()
throws ElasticSearchException
- Specified by:
doStop
in class AbstractLifecycleComponent<RiversRouter>
- Throws:
ElasticSearchException
doClose
protected void doClose()
throws ElasticSearchException
- Specified by:
doClose
in class AbstractLifecycleComponent<RiversRouter>
- Throws:
ElasticSearchException
clusterChanged
public void clusterChanged(ClusterChangedEvent event)
- Description copied from interface:
ClusterStateListener
- Called when cluster state changes.
- Specified by:
clusterChanged
in interface ClusterStateListener
Copyright © 2009-2012. All Rights Reserved.