public class ThreadStatesGaugeSet extends Object implements io.dropwizard.metrics5.MetricSet
| Constructor and Description |
|---|
ThreadStatesGaugeSet()
Creates a new set of gauges using the default MXBeans.
|
ThreadStatesGaugeSet(ThreadMXBean threads,
ThreadDeadlockDetector deadlockDetector)
Creates a new set of gauges using the given MXBean and detector.
|
| Modifier and Type | Method and Description |
|---|---|
Map<io.dropwizard.metrics5.MetricName,io.dropwizard.metrics5.Metric> |
getMetrics() |
public ThreadStatesGaugeSet()
public ThreadStatesGaugeSet(ThreadMXBean threads, ThreadDeadlockDetector deadlockDetector)
threads - a thread MXBeandeadlockDetector - a deadlock detectorpublic Map<io.dropwizard.metrics5.MetricName,io.dropwizard.metrics5.Metric> getMetrics()
getMetrics in interface io.dropwizard.metrics5.MetricSetCopyright © 2019. All rights reserved.