public int getMaxEntriesToReturn() {
    return maxEntriesToReturn;
  }
Implementation of {@link ConnectionPool} that hands out {@link MockConnection}s.
ambry-replication/src/test/java/com/github/ambry/replication/MockConnectionPool.java