private void appendConnections(final StringBuilder sb, final Connection connectionToCallout,
                                   final CopyOnWriteArrayList<Connection> connections) {
        final Iterator<Connection> it = connections.iterator();
        while(it.hasNext()) {
            final Connection c = it.next();
            if (c.equals(connectionToCallout)) {
                sb.append("==> ");
            }
            else {
                sb.append("> ");
            }
            sb.append(c.getConnectionInfo(false));
            if (it.hasNext()) {
                sb.append(System.lineSeparator());
            }
        }
    }
Gets a message that describes the state of the connection pool.

@param connectionToCallout the connection from the pool to identify more clearly in the message
gremlin-driver/src/main/java/org/apache/tinkerpop/gremlin/driver/ConnectionPool.java