ensureNoResourceConfigurationUpdatesInProgress(group);
// If we got this far, no updates are in progress. Now try to obtain the live configs from the Agents.
// If any of the requests for live configs fail (e.g. because an Agent is down) or if all of the live
// configs can't be obtained within the specified timeout, this call will throw an exception.
int userPreferencesTimeout = new SubjectPreferences(subject).getGroupConfigurationTimeoutPeriod();
Set<Resource> groupMembers = group.getExplicitResources();
Map<Integer, Configuration> liveConfigs = LiveConfigurationLoader.getInstance().loadLiveResourceConfigurations(
groupMembers, userPreferencesTimeout);
// If we got this far, we were able to retrieve all of the live configs from the Agents. Now load the current