com.alibaba.rocketmq.common.stats.StatsSnapshot Java Examples
The following examples show how to use
com.alibaba.rocketmq.common.stats.StatsSnapshot.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: ConsumerStatsManager.java From reading-and-annotate-rocketmq-3.4.6 with GNU General Public License v3.0 | 5 votes |
private StatsSnapshot getConsumeRT(final String group, final String topic) { StatsSnapshot statsData = this.topicAndGroupConsumeRT.getStatsDataInMinute(topic + "@" + group); if (0 == statsData.getSum()) { statsData = this.topicAndGroupConsumeRT.getStatsDataInHour(topic + "@" + group); } return statsData; }
Example #2
Source File: ConsumerStatsManager.java From rocketmq with Apache License 2.0 | 5 votes |
private StatsSnapshot getConsumeRT(final String group, final String topic) { StatsSnapshot statsData = this.topicAndGroupConsumeRT.getStatsDataInMinute(topic + "@" + group); if (0 == statsData.getSum()) { statsData = this.topicAndGroupConsumeRT.getStatsDataInHour(topic + "@" + group); } return statsData; }
Example #3
Source File: ConsumerStatsManager.java From RocketMQ-Master-analyze with Apache License 2.0 | 5 votes |
private StatsSnapshot getConsumeRT(final String group, final String topic) { StatsSnapshot statsData = this.topicAndGroupConsumeRT.getStatsDataInMinute(topic + "@" + group); if (0 == statsData.getSum()) { statsData = this.topicAndGroupConsumeRT.getStatsDataInHour(topic + "@" + group); } return statsData; }
Example #4
Source File: ConsumerStatsManager.java From reading-and-annotate-rocketmq-3.4.6 with GNU General Public License v3.0 | 4 votes |
private StatsSnapshot getPullRT(final String group, final String topic) { return this.topicAndGroupPullRT.getStatsDataInMinute(topic + "@" + group); }
Example #5
Source File: ConsumerStatsManager.java From reading-and-annotate-rocketmq-3.4.6 with GNU General Public License v3.0 | 4 votes |
private StatsSnapshot getPullTPS(final String group, final String topic) { return this.topicAndGroupPullTPS.getStatsDataInMinute(topic + "@" + group); }
Example #6
Source File: ConsumerStatsManager.java From reading-and-annotate-rocketmq-3.4.6 with GNU General Public License v3.0 | 4 votes |
private StatsSnapshot getConsumeOKTPS(final String group, final String topic) { return this.topicAndGroupConsumeOKTPS.getStatsDataInMinute(topic + "@" + group); }
Example #7
Source File: ConsumerStatsManager.java From reading-and-annotate-rocketmq-3.4.6 with GNU General Public License v3.0 | 4 votes |
private StatsSnapshot getConsumeFailedTPS(final String group, final String topic) { return this.topicAndGroupConsumeFailedTPS.getStatsDataInMinute(topic + "@" + group); }
Example #8
Source File: ConsumerStatsManager.java From rocketmq with Apache License 2.0 | 4 votes |
private StatsSnapshot getPullRT(final String group, final String topic) { return this.topicAndGroupPullRT.getStatsDataInMinute(topic + "@" + group); }
Example #9
Source File: ConsumerStatsManager.java From rocketmq with Apache License 2.0 | 4 votes |
private StatsSnapshot getPullTPS(final String group, final String topic) { return this.topicAndGroupPullTPS.getStatsDataInMinute(topic + "@" + group); }
Example #10
Source File: ConsumerStatsManager.java From rocketmq with Apache License 2.0 | 4 votes |
private StatsSnapshot getConsumeOKTPS(final String group, final String topic) { return this.topicAndGroupConsumeOKTPS.getStatsDataInMinute(topic + "@" + group); }
Example #11
Source File: ConsumerStatsManager.java From rocketmq with Apache License 2.0 | 4 votes |
private StatsSnapshot getConsumeFailedTPS(final String group, final String topic) { return this.topicAndGroupConsumeFailedTPS.getStatsDataInMinute(topic + "@" + group); }
Example #12
Source File: ConsumerStatsManager.java From RocketMQ-Master-analyze with Apache License 2.0 | 4 votes |
private StatsSnapshot getPullRT(final String group, final String topic) { return this.topicAndGroupPullRT.getStatsDataInMinute(topic + "@" + group); }
Example #13
Source File: ConsumerStatsManager.java From RocketMQ-Master-analyze with Apache License 2.0 | 4 votes |
private StatsSnapshot getPullTPS(final String group, final String topic) { return this.topicAndGroupPullTPS.getStatsDataInMinute(topic + "@" + group); }
Example #14
Source File: ConsumerStatsManager.java From RocketMQ-Master-analyze with Apache License 2.0 | 4 votes |
private StatsSnapshot getConsumeOKTPS(final String group, final String topic) { return this.topicAndGroupConsumeOKTPS.getStatsDataInMinute(topic + "@" + group); }
Example #15
Source File: ConsumerStatsManager.java From RocketMQ-Master-analyze with Apache License 2.0 | 4 votes |
private StatsSnapshot getConsumeFailedTPS(final String group, final String topic) { return this.topicAndGroupConsumeFailedTPS.getStatsDataInMinute(topic + "@" + group); }