org.elasticsearch.river.cluster
Class RiverClusterService

java.lang.Object
  extended by org.elasticsearch.common.component.AbstractComponent
      extended by org.elasticsearch.common.component.AbstractLifecycleComponent<RiverClusterService>
          extended by org.elasticsearch.river.cluster.RiverClusterService
All Implemented Interfaces:
CloseableComponent, LifecycleComponent<RiverClusterService>

public class RiverClusterService
extends AbstractLifecycleComponent<RiverClusterService>


Field Summary
 
Fields inherited from class org.elasticsearch.common.component.AbstractLifecycleComponent
lifecycle
 
Fields inherited from class org.elasticsearch.common.component.AbstractComponent
componentSettings, logger, settings
 
Constructor Summary
RiverClusterService(Settings settings, TransportService transportService, ClusterService clusterService)
           
 
Method Summary
 void add(RiverClusterStateListener listener)
           
protected  void doClose()
           
protected  void doStart()
           
protected  void doStop()
           
 void remove(RiverClusterStateListener listener)
           
 void submitStateUpdateTask(String source, RiverClusterStateUpdateTask updateTask)
           
 
Methods inherited from class org.elasticsearch.common.component.AbstractLifecycleComponent
addLifecycleListener, close, lifecycleState, removeLifecycleListener, start, stop
 
Methods inherited from class org.elasticsearch.common.component.AbstractComponent
nodeName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RiverClusterService

@Inject
public RiverClusterService(Settings settings,
                                  TransportService transportService,
                                  ClusterService clusterService)
Method Detail

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(String source,
                                  RiverClusterStateUpdateTask updateTask)


Copyright © 2009-2012. All Rights Reserved.