if (! _isUpdating.compareAndSet(false, true))
return false;
try {
synchronized (this) {
ExpandVersion oldPrimaryVersion = _primaryVersion;
WebAppController oldPrimaryController = _primaryController;
WebAppController newPrimaryController = null;
ExpandVersion version = _generator.getPrimaryVersion(_baseKey);
if (oldPrimaryVersion != null && oldPrimaryVersion.equals(version))
return false;
if (version != null) {