public List < NodeInfo > getNodes ( ) { final URI uri = uriWithPath ( "./nodes/" ) ; return Arrays . asList ( this . rt . getForObject ( uri , NodeInfo [ ] . class ) ) ; }
Retrieves state and metrics information for all nodes in the cluster .