// we're done - switch back to single config
return new ConfigCollectionImpl(config.getRollingConfig(), null);
}
ConfigCollection newCollection = new ConfigCollectionImpl(config.getRootConfig(), config.getRollingConfig(), rollingHostNames, rollingHostNamesIndex + 1);
RollingReleaseState state = new RollingReleaseState(new InstanceState(), newCollection);
if ( state.getCurrentRollingHostname().equals(exhibitor.getThisJVMHostname()) )
{
return newCollection;
}