396397398399400401402403404405406
} finally { try{ Session.localLogout(hostConn); } catch (Exception e ) { } hostConn.dispose(); hostConn = null; } } if (masterIp == null) {
447448449450451452453454455456457
if( slaveSession != null ){ try{ Session.localLogout(slaveConn); } catch (Exception e) { } slaveConn.dispose(); } } return false; }
393394395396397398399400401402403
191192193194195196197198199200201
if (slaveSession != null) { try { Session.logout(slaveConn); } catch (Exception e) { } slaveConn.dispose(); } } try { Thread.sleep(2000); } catch (InterruptedException e) {
264265266267268269270271272273274
Session.logout(masterConn); } catch (Exception e) { s_logger.debug("Unable to log out of session: " + e.getMessage()); } masterConn.dispose(); masterConn = null; } localLogout(slaveConn); slaveConn = null; }
390391392393394395396397398399400
localLogout(slaveConn); slaveConn = null; if(c != null) { try { Session.logout(c); c.dispose(); } catch (Exception e) { } } }
223224225226227228229230231232233
if (conn != null) { try{ Session.logout(conn); } catch (Exception e ) { } conn.dispose(); conn = null; } poolUuid = clu.getGuid(); _clusterDao.update(clusterId, clu);
392393394395396397398399400401402
411412413414415416417418419420421
443444445446447448449450451452453