Package org.elasticsearch.monitor.jvm
Class JvmGcMonitorService
java.lang.Object
org.elasticsearch.common.component.AbstractLifecycleComponent
org.elasticsearch.monitor.jvm.JvmGcMonitorService
- All Implemented Interfaces:
java.io.Closeable
,java.lang.AutoCloseable
,LifecycleComponent
,Releasable
public class JvmGcMonitorService extends AbstractLifecycleComponent
-
Field Summary
Fields Modifier and Type Field Description static Setting<java.lang.Boolean>
ENABLED_SETTING
static Setting<java.lang.Integer>
GC_OVERHEAD_DEBUG_SETTING
static Setting<java.lang.Integer>
GC_OVERHEAD_INFO_SETTING
static Setting<java.lang.Integer>
GC_OVERHEAD_WARN_SETTING
static Setting<Settings>
GC_SETTING
static Setting<TimeValue>
REFRESH_INTERVAL_SETTING
-
Constructor Summary
Constructors Constructor Description JvmGcMonitorService(Settings settings, ThreadPool threadPool)
-
Method Summary
Methods inherited from class org.elasticsearch.common.component.AbstractLifecycleComponent
addLifecycleListener, close, lifecycleState, removeLifecycleListener, start, stop
-
Field Details
-
Constructor Details
-
Method Details
-
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
-