Class: TencentCloud::Tdmq::V20200217::RocketMQClusterRecentStats

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20200217/models.rb

Overview

RocketMQ近期使用量

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(topicnum = nil, producedmsgnum = nil, consumedmsgnum = nil, accumulativemsgnum = nil) ⇒ RocketMQClusterRecentStats

Returns a new instance of RocketMQClusterRecentStats.



11582
11583
11584
11585
11586
11587
# File 'lib/v20200217/models.rb', line 11582

def initialize(topicnum=nil, producedmsgnum=nil, consumedmsgnum=nil, accumulativemsgnum=nil)
  @TopicNum = topicnum
  @ProducedMsgNum = producedmsgnum
  @ConsumedMsgNum = consumedmsgnum
  @AccumulativeMsgNum = accumulativemsgnum
end

Instance Attribute Details

#AccumulativeMsgNumObject

Parameters:

  • TopicNum:

    Topic数量

  • ProducedMsgNum:

    消息生产数

  • ConsumedMsgNum:

    消息消费数

  • AccumulativeMsgNum:

    消息堆积数



11580
11581
11582
# File 'lib/v20200217/models.rb', line 11580

def AccumulativeMsgNum
  @AccumulativeMsgNum
end

#ConsumedMsgNumObject

Parameters:

  • TopicNum:

    Topic数量

  • ProducedMsgNum:

    消息生产数

  • ConsumedMsgNum:

    消息消费数

  • AccumulativeMsgNum:

    消息堆积数



11580
11581
11582
# File 'lib/v20200217/models.rb', line 11580

def ConsumedMsgNum
  @ConsumedMsgNum
end

#ProducedMsgNumObject

Parameters:

  • TopicNum:

    Topic数量

  • ProducedMsgNum:

    消息生产数

  • ConsumedMsgNum:

    消息消费数

  • AccumulativeMsgNum:

    消息堆积数



11580
11581
11582
# File 'lib/v20200217/models.rb', line 11580

def ProducedMsgNum
  @ProducedMsgNum
end

#TopicNumObject

Parameters:

  • TopicNum:

    Topic数量

  • ProducedMsgNum:

    消息生产数

  • ConsumedMsgNum:

    消息消费数

  • AccumulativeMsgNum:

    消息堆积数



11580
11581
11582
# File 'lib/v20200217/models.rb', line 11580

def TopicNum
  @TopicNum
end

Instance Method Details

#deserialize(params) ⇒ Object



11589
11590
11591
11592
11593
11594
# File 'lib/v20200217/models.rb', line 11589

def deserialize(params)
  @TopicNum = params['TopicNum']
  @ProducedMsgNum = params['ProducedMsgNum']
  @ConsumedMsgNum = params['ConsumedMsgNum']
  @AccumulativeMsgNum = params['AccumulativeMsgNum']
end