391392393394395396397398399
upgrade(dbVersion, currentVersion); } finally { lock.unlock(); } } finally { lock.releaseRef(); } } }
282283284285286287288289290291292
} finally { scanLock.unlock(); } } } finally { scanLock.releaseRef(); } return false; } private boolean collectDirectNetworkUsage(HostVO host){
455456457458459460461462463464465
} else { s_logger.info("Couldn't get global lock on " + lockString + ", another thread may be doing template sync on data store " + storeId + " now."); } } finally { syncLock.releaseRef(); } } // persist entry in template_zone_ref table. zoneId can be empty for
576577578579580581582583584585586
} finally { lock.unlock(); } } } finally { lock.releaseRef(); } } @Override public String getSystemVMIsoFileNameOnDatastore() {
17781779178017811782178317841785178617871788
} finally { scanLock.unlock(); } } } finally { scanLock.releaseRef(); UserContext.unregisterContext(); } } }
txn.rollback(); } } } } finally { deviceMapLock.releaseRef(); } // there are no LB devices or there is no free capacity on the devices in the physical network so provision // a new LB appliance if (tryLbProvisioning) {
707708709710711712713714715716717
} } catch (Exception exception) { txn.rollback(); s_logger.error("Failed to release load balancer device for the network" + guestConfig.getId() + " due to " + exception.getMessage()); } finally { deviceMapLock.releaseRef(); } return false; }
417418419420421422423424425
637638639640641642643644645646647
18841885188618871888188918901891189218931894
} finally { scanLock.unlock(); } } } finally { scanLock.releaseRef(); } } }