public class ThreadStatesGaugeSet extends Object implements 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<String,Metric> |
getMetrics()
A map of metric names to metrics.
|
public ThreadStatesGaugeSet()
public ThreadStatesGaugeSet(ThreadMXBean threads, ThreadDeadlockDetector deadlockDetector)
threads
- a thread MXBeandeadlockDetector
- a deadlock detectorCopyright © 2014. All Rights Reserved.