private int getLiveThreads(List<Processor> replicaThreads) {
    int count = 0;
    for (Processor thread : replicaThreads) {
      if (thread.isRunning()) {
        count++;
      }
    }
    return count;
  }
Registers the count of pending connections to be checked out by the Network client
@param numPendingConnections the count of pending connections to be checked out
ambry-network/src/main/java/com/github/ambry/network/NetworkMetrics.java