Package org.elasticsearch.monitor.jvm
Class JvmGcMonitorService
- java.lang.Object
-
- org.elasticsearch.common.component.AbstractLifecycleComponent
-
- org.elasticsearch.monitor.jvm.JvmGcMonitorService
-
- All Implemented Interfaces:
Closeable,AutoCloseable,LifecycleComponent,Releasable
public class JvmGcMonitorService extends AbstractLifecycleComponent
-
-
Field Summary
Fields Modifier and Type Field Description static Setting<Boolean>ENABLED_SETTINGstatic Setting<Integer>GC_OVERHEAD_DEBUG_SETTINGstatic Setting<Integer>GC_OVERHEAD_INFO_SETTINGstatic Setting<Integer>GC_OVERHEAD_WARN_SETTINGstatic Setting<Settings>GC_SETTINGstatic 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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voiddoClose()protected voiddoStart()protected voiddoStop()-
Methods inherited from class org.elasticsearch.common.component.AbstractLifecycleComponent
addLifecycleListener, close, lifecycleState, removeLifecycleListener, start, stop
-
-
-
-
Constructor Detail
-
JvmGcMonitorService
public JvmGcMonitorService(Settings settings, ThreadPool threadPool)
-
-
Method Detail
-
doStart
protected void doStart()
- Specified by:
doStartin classAbstractLifecycleComponent
-
doStop
protected void doStop()
- Specified by:
doStopin classAbstractLifecycleComponent
-
doClose
protected void doClose()
- Specified by:
doClosein classAbstractLifecycleComponent
-
-