Package fr.gouv.vitam.common.metrics
Class VitamGarbageCollectorGauge
- java.lang.Object
-
- fr.gouv.vitam.common.metrics.VitamGarbageCollectorGauge
-
- All Implemented Interfaces:
com.codahale.metrics.Gauge<java.lang.Double>
,com.codahale.metrics.Metric
public class VitamGarbageCollectorGauge extends java.lang.Object implements com.codahale.metrics.Gauge<java.lang.Double>
Garbage Collector Gauge
-
-
Constructor Summary
Constructors Constructor Description VitamGarbageCollectorGauge()
Creates a new gauge for all discoverable garbage collectors.VitamGarbageCollectorGauge(java.util.Collection<java.lang.management.GarbageCollectorMXBean> garbageCollectors)
Creates a new gauge for the given collection of garbage collectors.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Double
getValue()
-
-
-
Constructor Detail
-
VitamGarbageCollectorGauge
public VitamGarbageCollectorGauge()
Creates a new gauge for all discoverable garbage collectors.
-
VitamGarbageCollectorGauge
public VitamGarbageCollectorGauge(java.util.Collection<java.lang.management.GarbageCollectorMXBean> garbageCollectors)
Creates a new gauge for the given collection of garbage collectors.- Parameters:
garbageCollectors
- the garbage collectors
-
-