public ServerLocation getPrimary() {
    ServerLocation result = null;
    if (queueManager != null) {
      QueueManager.QueueConnections cons = queueManager.getAllConnections();
      Connection con = cons.getPrimary();
      result = con.getServer();
    }
    return result;
  }
Test hook that returns a string consisting of the host name and port of the primary server.
Null is returned if we have no primary.
geode-core/src/main/java/org/apache/geode/cache/client/internal/PoolImpl.java