public class OperatingSystemMetricSet
extends java.lang.Object
implements com.codahale.metrics.MetricSet
OperatingSystemMXBean and its Sun-specific sub interfaces.
The Sun-specific com.sun.management versions of the interface provide more information, but might not be
available on all systems. The extra information from these versions are fetched opportunistically by calling the
functions via reflection. This means we don't have to import an interface that might not be available (the import
would then throw).
OperatingSystemMXBean| Constructor and Description |
|---|
OperatingSystemMetricSet() |
| Modifier and Type | Method and Description |
|---|---|
java.util.Map<java.lang.String,com.codahale.metrics.Metric> |
getMetrics() |