public LockedNodeList list(Mutex lock) {
        return new LockedNodeList(list().asList(), lock);
    }
Returns a locked list of all nodes in this repository
node-repository/src/main/java/com/yahoo/vespa/hosted/provision/node/Nodes.java