Class Metrics2ThriftMetrics

    • Method Detail

      • add

        public void add​(String name,
                        long time)
        Specified by:
        add in interface Metrics
      • register

        public void register()
        Specified by:
        register in interface Metrics
      • isEnabled

        public boolean isEnabled()
        Specified by:
        isEnabled in interface Metrics
      • getMetrics

        public void getMetrics​(org.apache.hadoop.metrics2.MetricsCollector collector,
                               boolean all)
        Specified by:
        getMetrics in interface org.apache.hadoop.metrics2.MetricsSource