org.elasticsearch.monitor
Class MonitorService

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

public class MonitorService
extends AbstractLifecycleComponent<MonitorService>


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
MonitorService(Settings settings, JvmMonitorService jvmMonitorService, OsService osService, ProcessService processService, JvmService jvmService, NetworkService networkService, FsService fsService)
           
 
Method Summary
protected  void doClose()
           
protected  void doStart()
           
protected  void doStop()
           
 FsService fsService()
           
 JvmService jvmService()
           
 NetworkService networkService()
           
 OsService osService()
           
 ProcessService processService()
           
 
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

MonitorService

@Inject
public MonitorService(Settings settings,
                             JvmMonitorService jvmMonitorService,
                             OsService osService,
                             ProcessService processService,
                             JvmService jvmService,
                             NetworkService networkService,
                             FsService fsService)
Method Detail

osService

public OsService osService()

processService

public ProcessService processService()

jvmService

public JvmService jvmService()

networkService

public NetworkService networkService()

fsService

public FsService fsService()

doStart

protected void doStart()
                throws ElasticSearchException
Specified by:
doStart in class AbstractLifecycleComponent<MonitorService>
Throws:
ElasticSearchException

doStop

protected void doStop()
               throws ElasticSearchException
Specified by:
doStop in class AbstractLifecycleComponent<MonitorService>
Throws:
ElasticSearchException

doClose

protected void doClose()
                throws ElasticSearchException
Specified by:
doClose in class AbstractLifecycleComponent<MonitorService>
Throws:
ElasticSearchException


Copyright © 2009-2012. All Rights Reserved.