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,org.elasticsearch.common.lease.Releasable
public class JvmGcMonitorService extends AbstractLifecycleComponent
-
Field Summary
Fields Modifier and Type Field Description static Setting<java.lang.Boolean>ENABLED_SETTINGstatic Setting<java.lang.Integer>GC_OVERHEAD_DEBUG_SETTINGstatic Setting<java.lang.Integer>GC_OVERHEAD_INFO_SETTINGstatic Setting<java.lang.Integer>GC_OVERHEAD_WARN_SETTINGstatic Setting<Settings>GC_SETTINGstatic Setting<org.elasticsearch.common.unit.TimeValue>REFRESH_INTERVAL_SETTINGFields 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, stopMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
ENABLED_SETTING
-
REFRESH_INTERVAL_SETTING
-
GC_SETTING
-
GC_OVERHEAD_WARN_SETTING
-
GC_OVERHEAD_INFO_SETTING
-
GC_OVERHEAD_DEBUG_SETTING
-
-
Constructor Details
-
JvmGcMonitorService
-
-
Method Details
-
doStart
protected void doStart()- Specified by:
doStartin classAbstractLifecycleComponent
-
doStop
protected void doStop()- Specified by:
doStopin classAbstractLifecycleComponent
-
doClose
protected void doClose()- Specified by:
doClosein classAbstractLifecycleComponent
-