RdClusterMetricsVO.java 2.6 KB
Newer Older
Z
zengqiao 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111
package com.xiaojukeji.kafka.manager.common.entity.vo.rd.cluster;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * ClusterMetricsVO
 * @author zengqiao
 * @date 19/4/3
 */
@ApiModel(description="集群流量信息")
public class RdClusterMetricsVO {
    @ApiModelProperty(value="集群Id")
    private Long clusterId;

    @ApiModelProperty(value="Topic数量")
    private Object topicNum;

    @ApiModelProperty(value="Partition数量")
    private Object partitionNum;

    @ApiModelProperty(value="Broker数量")
    private Object brokerNum;

    @ApiModelProperty(value="每秒流入的字节数")
    private Object bytesInPerSec;

    @ApiModelProperty(value="每秒流出的字节数")
    private Object bytesOutPerSec;

    @ApiModelProperty(value="每秒拒绝的字节数")
    private Object bytesRejectedPerSec;

    @ApiModelProperty(value="每秒流入的消息数")
    private Object messagesInPerSec;

    @ApiModelProperty(value="创建时间")
    private Long gmtCreate;

    public Long getClusterId() {
        return clusterId;
    }

    public void setClusterId(Long clusterId) {
        this.clusterId = clusterId;
    }

    public Object getTopicNum() {
        return topicNum;
    }

    public void setTopicNum(Object topicNum) {
        this.topicNum = topicNum;
    }

    public Object getPartitionNum() {
        return partitionNum;
    }

    public void setPartitionNum(Object partitionNum) {
        this.partitionNum = partitionNum;
    }

    public Object getBrokerNum() {
        return brokerNum;
    }

    public void setBrokerNum(Object brokerNum) {
        this.brokerNum = brokerNum;
    }

    public Object getBytesInPerSec() {
        return bytesInPerSec;
    }

    public void setBytesInPerSec(Object bytesInPerSec) {
        this.bytesInPerSec = bytesInPerSec;
    }

    public Object getBytesOutPerSec() {
        return bytesOutPerSec;
    }

    public void setBytesOutPerSec(Object bytesOutPerSec) {
        this.bytesOutPerSec = bytesOutPerSec;
    }

    public Object getBytesRejectedPerSec() {
        return bytesRejectedPerSec;
    }

    public void setBytesRejectedPerSec(Object bytesRejectedPerSec) {
        this.bytesRejectedPerSec = bytesRejectedPerSec;
    }

    public Object getMessagesInPerSec() {
        return messagesInPerSec;
    }

    public void setMessagesInPerSec(Object messagesInPerSec) {
        this.messagesInPerSec = messagesInPerSec;
    }

    public Long getGmtCreate() {
        return gmtCreate;
    }

    public void setGmtCreate(Long gmtCreate) {
        this.gmtCreate = gmtCreate;
    }
}