org.elasticsearch.river
Class RiversService

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

public class RiversService
extends AbstractLifecycleComponent<RiversService>


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
RiversService(Settings settings, Client client, ThreadPool threadPool, ClusterService clusterService, RiversTypesRegistry typesRegistry, RiverClusterService riverClusterService, Injector injector)
           
 
Method Summary
 void closeRiver(RiverName riverName)
           
 void createRiver(RiverName riverName, Map<String,Object> settings)
           
protected  void doClose()
           
protected  void doStart()
           
protected  void doStop()
           
 
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

RiversService

@Inject
public RiversService(Settings settings,
                            Client client,
                            ThreadPool threadPool,
                            ClusterService clusterService,
                            RiversTypesRegistry typesRegistry,
                            RiverClusterService riverClusterService,
                            Injector injector)
Method Detail

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.