public void forceLeave(String node) {

        final URI uri = createURI("/force-leave/" + node);
        final HTTP.Response httpResponse = HTTP.getResponse(uri.toString());

        if (httpResponse.code() != 200) {
            die("Unable to force leave", uri, httpResponse.code(), httpResponse.body());
        }
    }
public void forceLeave(String node) {

        final URI uri = createURI("/force-leave/" + node);
        final HTTP.Response httpResponse = HTTP.getResponse(uri.toString());

        if (httpResponse.code() != 200) {
            die("Unable to force leave", uri, httpResponse.code(), httpResponse.body());
        }
    }
public void forceLeave ( String node ) { final URI uri = createURI ( "/force-leave/" + node ) ; final HTTP . Response httpResponse = HTTP . getResponse ( uri . toString ( ) ) ; if ( httpResponse . code ( ) != 200 ) { die ( "Unable to force leave" , uri , httpResponse . code ( ) , httpResponse . body ( ) ) ; } }
GET /v1/agent/force-leave/{node}
<p>
Instructs the agent to force a node into the "left" state.

@param node node
GET / v1 / agent / force - leave / { node } <p > Instructs the agent to force a node into the left state .