Package org.elasticsearch.monitor
Class MonitorService
java.lang.Object
org.elasticsearch.common.component.AbstractLifecycleComponent
org.elasticsearch.monitor.MonitorService
- All Implemented Interfaces:
java.io.Closeable
,java.lang.AutoCloseable
,LifecycleComponent
,org.elasticsearch.common.lease.Releasable
public class MonitorService extends AbstractLifecycleComponent
-
Field Summary
Fields inherited from class org.elasticsearch.common.component.AbstractLifecycleComponent
lifecycle
-
Constructor Summary
Constructors Constructor Description MonitorService(Settings settings, NodeEnvironment nodeEnvironment, ThreadPool threadPool)
-
Method Summary
Modifier and Type Method Description protected void
doClose()
protected void
doStart()
protected void
doStop()
FsService
fsService()
JvmService
jvmService()
OsService
osService()
ProcessService
processService()
Methods inherited from class org.elasticsearch.common.component.AbstractLifecycleComponent
addLifecycleListener, close, lifecycleState, removeLifecycleListener, start, stop
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
MonitorService
public MonitorService(Settings settings, NodeEnvironment nodeEnvironment, ThreadPool threadPool) throws java.io.IOException- Throws:
java.io.IOException
-
-
Method Details
-
osService
-
processService
-
jvmService
-
fsService
-
doStart
protected void doStart()- Specified by:
doStart
in classAbstractLifecycleComponent
-
doStop
protected void doStop()- Specified by:
doStop
in classAbstractLifecycleComponent
-
doClose
protected void doClose()- Specified by:
doClose
in classAbstractLifecycleComponent
-