919293949596979899100101
t.setStatus(Transaction.SUCCESS); } catch (Exception e) { Cat.logError(e); t.setStatus(e); } finally { t.complete(); } } @Override public void enableLogging(Logger logger) {
275276277278279280281282283284285
fdos.close(); } } catch (IOException e) { Cat.logError(e); } t.complete(); } try { Thread.sleep(100); } catch (InterruptedException e) {
144145146147148149150151152153154
} catch (RuntimeException e) { t.setStatus(e); cat.logError(e); throw e; } finally { t.complete(); } } @Override public void storeMessage(MessageTree tree, MessageId id) throws IOException {
7879808182838485868788
t2.setStatus(Transaction.SUCCESS); } catch (Exception e) { t2.setStatus(e); Cat.logError(e); } finally { t2.complete(); } } t.setStatus(Transaction.SUCCESS); long duration = System.currentTimeMillis() - current;
1516171819202122232425
MessageProducer cat = Cat.getProducer(); Transaction t = cat.newTransaction("TestType", "TestName"); t.addData("data here"); t.setStatus("TestStatus"); t.complete(); Thread.sleep(100); Assert.assertEquals(true, Cat.isInitialized()); Cat.destroy(); }
3031323334353637383940
MessageProducer cat = Cat.getProducer(); Transaction t = cat.newTransaction("TestType", "TestName"); t.addData("data here"); t.setStatus("TestStatus"); t.complete(); Thread.sleep(100); Assert.assertEquals(true, Cat.isInitialized()); Cat.destroy();
4647484950515253545556
62636465666768697071
Cat.initialize("192.168.7.70","192.168.7.71"); Transaction t = Cat.newTransaction("TestType", "TestName"); t.addData("data here"); t.setStatus("TestStatus"); t.complete(); Thread.sleep(10000); } }
127128129130131132133134135136137
t.setStatus(Transaction.SUCCESS); } catch (Exception e) { Cat.logError(e); t.setStatus(e); } finally { t.complete(); } } } @Override
6869707172737475767778
t.setStatus(Transaction.SUCCESS); } catch (Exception e) { t.setStatus(e); } finally { t.complete(); } } private Set<String> buildAllUsers(Map<String, AppDataComparisonResult> results) { Set<String> allUsers = new HashSet<String>();