831832833834835836837838839840841
} return clients; } finally { if (client != null) { client.cleanup(); } } }
855856857858859860861862863864
return servers; } catch (CryptoException e) { throw new BAMException("Cannot decrypt password for server ", e); } finally { if (client != null) { client.cleanup(); } } } }
3839404142434445464748
client.addServerData(statisticsDO); } catch (BAMException e) { throw e; } finally { if (client != null) { client.cleanup(); } } } public void addServiceStatistics(ServiceStatisticsDO statisticsDO) throws BAMException {
6263646566676869707172
try { client = BAMUtil.getBAMDataCollectionDSClient(); client.addServiceData(statisticsDO); } finally { if (client != null) { client.cleanup(); } } } public void addOperationStatistics(OperationStatisticsDO statisticsDO) throws BAMException {
949596979899100101102103104
try { client = BAMUtil.getBAMDataCollectionDSClient(); client.addOperationData(statisticsDO); } finally { if (client != null) { client.cleanup(); } } } public void addServerData(ServerStatisticsDO statisticsDO) throws BAMException {
106107108109110111112113114115116
try { client = BAMUtil.getBAMDataCollectionDSClient(); client.addServerData(statisticsDO); } finally { if (client != null) { client.cleanup(); } } } public void addServerUserDefinedData(ServerUserDefinedDO statisticsDO) throws BAMException {
118119120121122123124125126127128
try { client = BAMUtil.getBAMDataCollectionDSClient(); client.addServerUserDefinedData(statisticsDO); } finally { if (client != null) { client.cleanup(); } } } /* * Add activity to the DB
135136137138139140141142143144145
client.addActivityData(activityDO); } catch (BAMException e) { throw e; } finally { if (client != null) { client.cleanup(); } } } public void addMessage(MessageDO messageDO) throws BAMException {
149150151152153154155156157158159
client.addMessageData(messageDO); } catch (BAMException e) { throw e; } finally { if (client != null) { client.cleanup(); } } } /*
167168169170171172173174175176177