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
,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, ClusterInfoService clusterInfoService)
-
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
-
-
-
-
Constructor Detail
-
MonitorService
public MonitorService(Settings settings, NodeEnvironment nodeEnvironment, ThreadPool threadPool, ClusterInfoService clusterInfoService) throws java.io.IOException
- Throws:
java.io.IOException
-
-
Method Detail
-
osService
public OsService osService()
-
processService
public ProcessService processService()
-
jvmService
public JvmService jvmService()
-
fsService
public FsService 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
-
-