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_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_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:
doStartin classAbstractLifecycleComponent
-
doStop
protected void doStop()- Specified by:
doStopin classAbstractLifecycleComponent
-
doClose
protected void doClose()- Specified by:
doClosein classAbstractLifecycleComponent
-