Class: TencentCloud::Tdmq::V20200217::RabbitMQVirtualHostStatistics

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

Overview

vhost概览统计信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(currentqueues = nil, currentexchanges = nil, currentconnections = nil, currentchannels = nil, currentusers = nil) ⇒ RabbitMQVirtualHostStatistics

Returns a new instance of RabbitMQVirtualHostStatistics.



11069
11070
11071
11072
11073
11074
11075
# File 'lib/v20200217/models.rb', line 11069

def initialize(currentqueues=nil, currentexchanges=nil, currentconnections=nil, currentchannels=nil, currentusers=nil)
  @CurrentQueues = currentqueues
  @CurrentExchanges = currentexchanges
  @CurrentConnections = currentconnections
  @CurrentChannels = currentchannels
  @CurrentUsers = currentusers
end

Instance Attribute Details

#CurrentChannelsObject

Parameters:

  • CurrentQueues:

    当前vhost的queue数量

  • CurrentExchanges:

    当前vhost的exchange数量

  • CurrentConnections:

    当前vhost的连接数量

  • CurrentChannels:

    当前vhost的channel数量

  • CurrentUsers:

    当前vhost的用户数量



11067
11068
11069
# File 'lib/v20200217/models.rb', line 11067

def CurrentChannels
  @CurrentChannels
end

#CurrentConnectionsObject

Parameters:

  • CurrentQueues:

    当前vhost的queue数量

  • CurrentExchanges:

    当前vhost的exchange数量

  • CurrentConnections:

    当前vhost的连接数量

  • CurrentChannels:

    当前vhost的channel数量

  • CurrentUsers:

    当前vhost的用户数量



11067
11068
11069
# File 'lib/v20200217/models.rb', line 11067

def CurrentConnections
  @CurrentConnections
end

#CurrentExchangesObject

Parameters:

  • CurrentQueues:

    当前vhost的queue数量

  • CurrentExchanges:

    当前vhost的exchange数量

  • CurrentConnections:

    当前vhost的连接数量

  • CurrentChannels:

    当前vhost的channel数量

  • CurrentUsers:

    当前vhost的用户数量



11067
11068
11069
# File 'lib/v20200217/models.rb', line 11067

def CurrentExchanges
  @CurrentExchanges
end

#CurrentQueuesObject

Parameters:

  • CurrentQueues:

    当前vhost的queue数量

  • CurrentExchanges:

    当前vhost的exchange数量

  • CurrentConnections:

    当前vhost的连接数量

  • CurrentChannels:

    当前vhost的channel数量

  • CurrentUsers:

    当前vhost的用户数量



11067
11068
11069
# File 'lib/v20200217/models.rb', line 11067

def CurrentQueues
  @CurrentQueues
end

#CurrentUsersObject

Parameters:

  • CurrentQueues:

    当前vhost的queue数量

  • CurrentExchanges:

    当前vhost的exchange数量

  • CurrentConnections:

    当前vhost的连接数量

  • CurrentChannels:

    当前vhost的channel数量

  • CurrentUsers:

    当前vhost的用户数量



11067
11068
11069
# File 'lib/v20200217/models.rb', line 11067

def CurrentUsers
  @CurrentUsers
end

Instance Method Details

#deserialize(params) ⇒ Object



11077
11078
11079
11080
11081
11082
11083
# File 'lib/v20200217/models.rb', line 11077

def deserialize(params)
  @CurrentQueues = params['CurrentQueues']
  @CurrentExchanges = params['CurrentExchanges']
  @CurrentConnections = params['CurrentConnections']
  @CurrentChannels = params['CurrentChannels']
  @CurrentUsers = params['CurrentUsers']
end