Interface EventTypeMetrics<T extends Enum<T>>

All Superinterfaces:
org.apache.hadoop.metrics2.MetricsSource
All Known Implementing Classes:
GenericEventTypeMetrics

@Private @Metrics(context="yarn") public interface EventTypeMetrics<T extends Enum<T>> extends org.apache.hadoop.metrics2.MetricsSource
  • Method Summary

    Modifier and Type
    Method
    Description
    long
    get(T type)
     
    void
    increment(T type, long processingTimeUs)
     

    Methods inherited from interface org.apache.hadoop.metrics2.MetricsSource

    getMetrics
  • Method Details

    • increment

      void increment(T type, long processingTimeUs)
    • get

      long get(T type)