/** * Get the list of active nodes ... walks the node map so * is {@code O(nodes)} * @param role role index * @return a possibly empty list of nodes with an instance of that node */ public synchronized List<NodeInstance> listActiveNodes(int role) { return nodemap.listActiveNodes(role); }
/** * Get the list of active nodes ... walks the node map so * is {@code O(nodes)} * @param role role index * @return a possibly empty list of nodes with an instance of that node */ public synchronized List<NodeInstance> listActiveNodes(int role) { return nodemap.listActiveNodes(role); }