org.apache.rocketmq.common.stats.StatsSnapshot Java Examples

The following examples show how to use org.apache.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 DDMQ with Apache License 2.0 5 votes vote down vote up
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 DDMQ with Apache License 2.0 5 votes vote down vote up
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 with Apache License 2.0 5 votes vote down vote up
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 rocketmq-4.3.0 with Apache License 2.0 5 votes vote down vote up
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 #5
Source File: ConsumerStatsManager.java    From rocketmq with Apache License 2.0 5 votes vote down vote up
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 #6
Source File: ConsumerStatsManager.java    From rocketmq_trans_message with Apache License 2.0 5 votes vote down vote up
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 #7
Source File: ConsumerStatsManager.java    From rocketmq-all-4.1.0-incubating with Apache License 2.0 5 votes vote down vote up
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 #8
Source File: ConsumerStatsManager.java    From rocketmq-read with Apache License 2.0 5 votes vote down vote up
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 #9
Source File: ConsumerStatsManager.java    From rocketmq_trans_message with Apache License 2.0 4 votes vote down vote up
private StatsSnapshot getPullTPS(final String group, final String topic) {
    return this.topicAndGroupPullTPS.getStatsDataInMinute(topic + "@" + group);
}
 
Example #10
Source File: ConsumerStatsManager.java    From DDMQ with Apache License 2.0 4 votes vote down vote up
private StatsSnapshot getConsumeOKTPS(final String group, final String topic) {
    return this.topicAndGroupConsumeOKTPS.getStatsDataInMinute(topic + "@" + group);
}
 
Example #11
Source File: ConsumerStatsManager.java    From DDMQ with Apache License 2.0 4 votes vote down vote up
private StatsSnapshot getConsumeFailedTPS(final String group, final String topic) {
    return this.topicAndGroupConsumeFailedTPS.getStatsDataInMinute(topic + "@" + group);
}
 
Example #12
Source File: ConsumerStatsManager.java    From rocketmq-all-4.1.0-incubating with Apache License 2.0 4 votes vote down vote up
private StatsSnapshot getPullRT(final String group, final String topic) {
    return this.topicAndGroupPullRT.getStatsDataInMinute(topic + "@" + group);
}
 
Example #13
Source File: ConsumerStatsManager.java    From rocketmq-all-4.1.0-incubating with Apache License 2.0 4 votes vote down vote up
private StatsSnapshot getPullTPS(final String group, final String topic) {
    return this.topicAndGroupPullTPS.getStatsDataInMinute(topic + "@" + group);
}
 
Example #14
Source File: ConsumerStatsManager.java    From rocketmq-all-4.1.0-incubating with Apache License 2.0 4 votes vote down vote up
private StatsSnapshot getConsumeOKTPS(final String group, final String topic) {
    return this.topicAndGroupConsumeOKTPS.getStatsDataInMinute(topic + "@" + group);
}
 
Example #15
Source File: ConsumerStatsManager.java    From rocketmq-all-4.1.0-incubating with Apache License 2.0 4 votes vote down vote up
private StatsSnapshot getConsumeFailedTPS(final String group, final String topic) {
    return this.topicAndGroupConsumeFailedTPS.getStatsDataInMinute(topic + "@" + group);
}
 
Example #16
Source File: ConsumerStatsManager.java    From rocketmq_trans_message with Apache License 2.0 4 votes vote down vote up
private StatsSnapshot getPullRT(final String group, final String topic) {
    return this.topicAndGroupPullRT.getStatsDataInMinute(topic + "@" + group);
}
 
Example #17
Source File: ConsumerStatsManager.java    From DDMQ with Apache License 2.0 4 votes vote down vote up
private StatsSnapshot getPullRT(final String group, final String topic) {
    return this.topicAndGroupPullRT.getStatsDataInMinute(topic + "@" + group);
}
 
Example #18
Source File: ConsumerStatsManager.java    From rocketmq_trans_message with Apache License 2.0 4 votes vote down vote up
private StatsSnapshot getConsumeOKTPS(final String group, final String topic) {
    return this.topicAndGroupConsumeOKTPS.getStatsDataInMinute(topic + "@" + group);
}
 
Example #19
Source File: ConsumerStatsManager.java    From rocketmq_trans_message with Apache License 2.0 4 votes vote down vote up
private StatsSnapshot getConsumeFailedTPS(final String group, final String topic) {
    return this.topicAndGroupConsumeFailedTPS.getStatsDataInMinute(topic + "@" + group);
}
 
Example #20
Source File: ConsumerStatsManager.java    From rocketmq with Apache License 2.0 4 votes vote down vote up
private StatsSnapshot getPullRT(final String group, final String topic) {
    return this.topicAndGroupPullRT.getStatsDataInMinute(topic + "@" + group);
}
 
Example #21
Source File: ConsumerStatsManager.java    From rocketmq with Apache License 2.0 4 votes vote down vote up
private StatsSnapshot getPullTPS(final String group, final String topic) {
    return this.topicAndGroupPullTPS.getStatsDataInMinute(topic + "@" + group);
}
 
Example #22
Source File: ConsumerStatsManager.java    From rocketmq with Apache License 2.0 4 votes vote down vote up
private StatsSnapshot getConsumeOKTPS(final String group, final String topic) {
    return this.topicAndGroupConsumeOKTPS.getStatsDataInMinute(topic + "@" + group);
}
 
Example #23
Source File: ConsumerStatsManager.java    From rocketmq with Apache License 2.0 4 votes vote down vote up
private StatsSnapshot getConsumeFailedTPS(final String group, final String topic) {
    return this.topicAndGroupConsumeFailedTPS.getStatsDataInMinute(topic + "@" + group);
}
 
Example #24
Source File: ConsumerStatsManager.java    From rocketmq-read with Apache License 2.0 4 votes vote down vote up
private StatsSnapshot getPullTPS(final String group, final String topic) {
    return this.topicAndGroupPullTPS.getStatsDataInMinute(topic + "@" + group);
}
 
Example #25
Source File: ConsumerStatsManager.java    From DDMQ with Apache License 2.0 4 votes vote down vote up
private StatsSnapshot getPullTPS(final String group, final String topic) {
    return this.topicAndGroupPullTPS.getStatsDataInMinute(topic + "@" + group);
}
 
Example #26
Source File: ConsumerStatsManager.java    From DDMQ with Apache License 2.0 4 votes vote down vote up
private StatsSnapshot getConsumeOKTPS(final String group, final String topic) {
    return this.topicAndGroupConsumeOKTPS.getStatsDataInMinute(topic + "@" + group);
}
 
Example #27
Source File: ConsumerStatsManager.java    From DDMQ with Apache License 2.0 4 votes vote down vote up
private StatsSnapshot getConsumeFailedTPS(final String group, final String topic) {
    return this.topicAndGroupConsumeFailedTPS.getStatsDataInMinute(topic + "@" + group);
}
 
Example #28
Source File: ConsumerStatsManager.java    From rocketmq-4.3.0 with Apache License 2.0 4 votes vote down vote up
private StatsSnapshot getPullRT(final String group, final String topic) {
    return this.topicAndGroupPullRT.getStatsDataInMinute(topic + "@" + group);
}
 
Example #29
Source File: ConsumerStatsManager.java    From rocketmq-4.3.0 with Apache License 2.0 4 votes vote down vote up
private StatsSnapshot getPullTPS(final String group, final String topic) {
    return this.topicAndGroupPullTPS.getStatsDataInMinute(topic + "@" + group);
}
 
Example #30
Source File: ConsumerStatsManager.java    From rocketmq-4.3.0 with Apache License 2.0 4 votes vote down vote up
private StatsSnapshot getConsumeOKTPS(final String group, final String topic) {
    return this.topicAndGroupConsumeOKTPS.getStatsDataInMinute(topic + "@" + group);
}