All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.alibaba.rocketmq.common.protocol.body.ConsumeStatus Maven / Gradle / Ivy

package com.alibaba.rocketmq.common.protocol.body;

/**
 * 消费过程的统计数据
 */
public class ConsumeStatus {
    private double pullRT;
    private double pullTPS;
    private double consumeRT;
    private double consumeOKTPS;
    private double consumeFailedTPS;
    // 最近一小时内消费失败的消息数
    private long consumeFailedMsgs;


    public double getPullRT() {
        return pullRT;
    }


    public void setPullRT(double pullRT) {
        this.pullRT = pullRT;
    }


    public double getPullTPS() {
        return pullTPS;
    }


    public void setPullTPS(double pullTPS) {
        this.pullTPS = pullTPS;
    }


    public double getConsumeRT() {
        return consumeRT;
    }


    public void setConsumeRT(double consumeRT) {
        this.consumeRT = consumeRT;
    }


    public double getConsumeOKTPS() {
        return consumeOKTPS;
    }


    public void setConsumeOKTPS(double consumeOKTPS) {
        this.consumeOKTPS = consumeOKTPS;
    }


    public double getConsumeFailedTPS() {
        return consumeFailedTPS;
    }


    public void setConsumeFailedTPS(double consumeFailedTPS) {
        this.consumeFailedTPS = consumeFailedTPS;
    }


    public long getConsumeFailedMsgs() {
        return consumeFailedMsgs;
    }


    public void setConsumeFailedMsgs(long consumeFailedMsgs) {
        this.consumeFailedMsgs = consumeFailedMsgs;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy