Class ThriftMetrics

  • All Implemented Interfaces:
    org.apache.hadoop.metrics2.MetricsSource

    public class ThriftMetrics
    extends Metrics
    • Constructor Detail

      • ThriftMetrics

        public ThriftMetrics​(String serverName,
                             String threadName)
    • Method Detail

      • addIdle

        public void addIdle​(long time)
      • addExecute

        public void addExecute​(long time)