Interface IMetricsContext

All Known Implementing Classes:
TopologyContext, TridentOperationContext

public interface IMetricsContext
  • Method Details

    • registerMetric

      @Deprecated <T extends IMetric> T registerMetric(String name, T metric, int timeBucketSizeInSecs)
      Deprecated.
      in favor of metrics v2 (the non-deprecated methods on this class)
      Register metric.
    • registerMetric

      @Deprecated ReducedMetric registerMetric(String name, IReducer reducer, int timeBucketSizeInSecs)
      Deprecated.
      in favor of metrics v2 (the non-deprecated methods on this class)
      Register metric.
    • registerMetric

      @Deprecated CombinedMetric registerMetric(String name, ICombiner combiner, int timeBucketSizeInSecs)
      Deprecated.
      in favor of metrics v2 (the non-deprecated methods on this class)
      Register metric.
    • registerTimer

      com.codahale.metrics.Timer registerTimer(String name)
    • registerHistogram

      com.codahale.metrics.Histogram registerHistogram(String name)
    • registerMeter

      com.codahale.metrics.Meter registerMeter(String name)
    • registerCounter

      com.codahale.metrics.Counter registerCounter(String name)
    • registerGauge

      <T> com.codahale.metrics.Gauge<T> registerGauge(String name, com.codahale.metrics.Gauge<T> gauge)
    • registerMetricSet

      void registerMetricSet(String prefix, com.codahale.metrics.MetricSet set)