public int getQueueLength() {
    int length = 0;
    for (final BlockingQueue<CallRunner> queue : queues) {
      length += queue.size();
    }
    return length;
  }
Returns the length of the pending queue
hbase-server/src/main/java/org/apache/hadoop/hbase/ipc/RpcExecutor.java