@Override
  public <T> T[] toArray(T[] array) {
    return underlyingQueue.toArray(array);
  }
A BlockingQueue reports waiting time in queue and queue length to ThriftMetrics.
hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift/CallQueue.java