/** * Insert a list of nodes into the map; overwrite any with that name. * This is a bulk operation for testing. * Important: this does not update the available node lists, these * must be rebuilt afterwards. * @param nodes collection of nodes. */ @VisibleForTesting public synchronized void insert(Collection<NodeInstance> nodes) { nodemap.insert(nodes); }
/** * Insert a list of nodes into the map; overwrite any with that name. * This is a bulk operation for testing. * Important: this does not update the available node lists, these * must be rebuilt afterwards. * @param nodes collection of nodes. */ @VisibleForTesting public synchronized void insert(Collection<NodeInstance> nodes) { nodemap.insert(nodes); }