public void incMethodTime(String name, long time) {
    source.incMethodTime(name, time);
    // inc general processTime
    source.incCall(time);
    if (time > slowResponseTime) {
      source.incSlowCall(time);
    }
  }
This class is for maintaining the various statistics of thrift server and publishing them through
the metrics interfaces.
hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift/ThriftMetrics.java