org.elasticsearch.monitor.jvm
Class JvmMonitorService

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

public class JvmMonitorService
extends AbstractLifecycleComponent<JvmMonitorService>


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
JvmMonitorService(Settings settings, ThreadPool threadPool, DumpMonitorService dumpMonitorService)
           
 
Method Summary
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

JvmMonitorService

@Inject
public JvmMonitorService(Settings settings,
                                ThreadPool threadPool,
                                DumpMonitorService dumpMonitorService)
Method Detail

doStart

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

doStop

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

doClose

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