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
-
Fields inherited from class org.elasticsearch.common.component.AbstractLifecycleComponent
lifecycle
-
-
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 Detail
-
ENABLED_SETTING
public static final Setting<java.lang.Boolean> ENABLED_SETTING
-
GC_OVERHEAD_WARN_SETTING
public static final Setting<java.lang.Integer> GC_OVERHEAD_WARN_SETTING
-
GC_OVERHEAD_INFO_SETTING
public static final Setting<java.lang.Integer> GC_OVERHEAD_INFO_SETTING
-
GC_OVERHEAD_DEBUG_SETTING
public static final Setting<java.lang.Integer> GC_OVERHEAD_DEBUG_SETTING
-
-
Constructor Detail
-
JvmGcMonitorService
public JvmGcMonitorService(Settings settings, ThreadPool threadPool)
-
-
Method Detail
-
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
-
-