Class AppMetricRegistry

  • All Implemented Interfaces:
    com.codahale.metrics.Metric , com.codahale.metrics.MetricSet

    
    public final class AppMetricRegistry
    extends MetricRegistry
                        
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private final Map<Enum<?>, Counter> enumCounters
      private final <Error class: unknown class> dailyCounters
      private final <Error class: unknown class> hourlyCounters
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final Map<Enum<?>, Counter> getEnumCounters()
      final <Error class: unknown class> getDailyCounters()
      final <Error class: unknown class> getHourlyCounters()
      final String name(Object obj, String name, String separator)
      final String name(Object obj, String ident, String name, String separator)
      final Counter counter(Object obj, String ident, String name)
      final Counter counter(Object obj, String name)
      final Meter meter(Object obj, String ident, String name)
      final Meter meter(Object obj, String name)
      final Histogram histogram(Object obj, String ident, String name)
      final Histogram histogram(Object obj, String name)
      final <T extends Metric> Unit register(Object obj, String name, T metric)
      final <T extends Metric> Unit register(Object obj, String ident, String name, T metric)
      final <T extends Enum<T>> Unit register(Class<T> counterClass, String ident, Boolean withGauges)
      final <T extends Enum<T>> Unit register(KClass<T> counterClass, String ident, Boolean withGauges)
      final <T extends Metric> Unit registerAll(Object obj, Map<String, T> metrics)
      final <T extends Metric> Unit registerAll(Object obj, String ident, Map<String, T> metrics)
      final Counter counterAndGauge(Object obj, String ident, String name)
      final Counter counterAndGauge(Object obj, String name)
      final Counter dailyCounterAndGauge(Object obj, String ident, String name)
      final Counter dailyCounterAndGauge(Object obj, String name)
      final Counter hourlyCounterAndGauge(Object obj, String ident, String name)
      final Counter hourlyCounterAndGauge(Object obj, String name)
      final MultiMetric multiMetric(Object obj, String ident, String name)
      final MultiMetric multiMetric(Object obj, String name)
      final Unit resetDailyCounters()
      final Unit resetHourlyCounters()
      final <T extends Enum<T>> Unit setValue(T counter, Integer value)
      • Methods inherited from class com.codahale.metrics.MetricRegistry

        addListener, counter, counter, gauge, gauge, getCounters, getCounters, getGauges, getGauges, getHistograms, getHistograms, getMeters, getMeters, getMetrics, getNames, getTimers, getTimers, histogram, histogram, meter, meter, register, registerAll, registerAll, registerGauge, remove, removeListener, removeMatching, timer, timer
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AppMetricRegistry

        AppMetricRegistry()