@Test public void hasASetOfGauges() throws Exception { assertThat(gauges.getMetrics().keySet()) .containsOnly(TERMINATED_COUNT, NEW_COUNT, COUNT, TIMED_WAITING_COUNT, BLOCKED_COUNT, WAITING_COUNT, DAEMON_COUNT, RUNNABLE_COUNT, DEADLOCK_COUNT); }
@Override public Map<MetricName, Metric> getMetrics() { return Collections.unmodifiableMap(gauges); }
ThreadStatesGaugeSet extends CachedMetricSet { @Override public Map<MetricName, Metric> getMetrics() { return Collections.unmodifiableMap(gauges); } }
ThreadStatesGaugeSet extends CachedMetricSet { @Override public Map<MetricName, Metric> getMetrics() { return Collections.unmodifiableMap(gauges); } ThreadStatesGaugeSet();  ThreadStatesGaugeSet(long dataTTL, TimeUnit unit);  ThreadStatesGaugeSet(ThreadMXBean threads, long dataTTL, TimeUnit unit, Clock clock); }
ThreadStatesGaugeSet extends CachedMetricSet { @Override public Map<MetricName, Metric> getMetrics() { return Collections.unmodifiableMap(gauges); } ThreadStatesGaugeSet();  ThreadStatesGaugeSet(long dataTTL, TimeUnit unit);  ThreadStatesGaugeSet(ThreadMXBean threads, long dataTTL, TimeUnit unit, Clock clock); @Override Map<MetricName, Metric> getMetrics(); }
ThreadStatesGaugeSet extends CachedMetricSet { @Override public Map<MetricName, Metric> getMetrics() { return Collections.unmodifiableMap(gauges); } ThreadStatesGaugeSet();  ThreadStatesGaugeSet(long dataTTL, TimeUnit unit);  ThreadStatesGaugeSet(ThreadMXBean threads, long dataTTL, TimeUnit unit, Clock clock); @Override Map<MetricName, Metric> getMetrics();  }