private void showJournalDestinationStatistics(JournalStatistic journalStatistic) throws OperationsException {
showSeparator();
System.out.printf("Destination statistics:\r\n");
System.out.printf("- Topics: %s.\r\n", journalStatistic.getTopicCount());
System.out.printf("- Queues: %s.\r\n", journalStatistic.getQueueCount());
showCommandStatistics(journalStatistic.getTopicsDestinationStatistics());
showCommandStatistics(journalStatistic.getQueueDestinationStatistics());
DestinationStatistic[] otherDestinationStatistics = journalStatistic.getOtherDestinationStatistics();
if(otherDestinationStatistics.length != 0) {
System.out.println();
System.out.printf("Commands without destination:\r\n");
showCommandStatistics(otherDestinationStatistics);
}
}
KahaDBJournalsStatistics.java 文件源码
java
阅读 29
收藏 0
点赞 0
评论 0
项目:amq-kahadb-tool
作者:
评论列表
文章目录