public List<String> getCurrentServerNames() {
    List<ServerLocationAndMemberId> servers = getCurrentServers();
    ArrayList<String> result = new ArrayList<>(servers.size());
    for (ServerLocationAndMemberId sl : servers) {
      String name = sl.getServerLocation().getHostName() + sl.getServerLocation().getPort();
      result.add(name);
    }
    return result;
  }
Test hook that returns a list of server names (host+port); one for each server we are currently
connected to.
geode-core/src/main/java/org/apache/geode/cache/client/internal/PoolImpl.java