Class: TencentCloud::Trabbit::V20230418::RabbitMQVirtualHostStatistics

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20230418/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.



2933
2934
2935
2936
2937
2938
2939
# File 'lib/v20230418/models.rb', line 2933

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的用户数量



2931
2932
2933
# File 'lib/v20230418/models.rb', line 2931

def CurrentChannels
  @CurrentChannels
end

#CurrentConnectionsObject

Parameters:

  • CurrentQueues:

    当前vhost的queue数量

  • CurrentExchanges:

    当前vhost的exchange数量

  • CurrentConnections:

    当前vhost的连接数量

  • CurrentChannels:

    当前vhost的channel数量

  • CurrentUsers:

    当前vhost的用户数量



2931
2932
2933
# File 'lib/v20230418/models.rb', line 2931

def CurrentConnections
  @CurrentConnections
end

#CurrentExchangesObject

Parameters:

  • CurrentQueues:

    当前vhost的queue数量

  • CurrentExchanges:

    当前vhost的exchange数量

  • CurrentConnections:

    当前vhost的连接数量

  • CurrentChannels:

    当前vhost的channel数量

  • CurrentUsers:

    当前vhost的用户数量



2931
2932
2933
# File 'lib/v20230418/models.rb', line 2931

def CurrentExchanges
  @CurrentExchanges
end

#CurrentQueuesObject

Parameters:

  • CurrentQueues:

    当前vhost的queue数量

  • CurrentExchanges:

    当前vhost的exchange数量

  • CurrentConnections:

    当前vhost的连接数量

  • CurrentChannels:

    当前vhost的channel数量

  • CurrentUsers:

    当前vhost的用户数量



2931
2932
2933
# File 'lib/v20230418/models.rb', line 2931

def CurrentQueues
  @CurrentQueues
end

#CurrentUsersObject

Parameters:

  • CurrentQueues:

    当前vhost的queue数量

  • CurrentExchanges:

    当前vhost的exchange数量

  • CurrentConnections:

    当前vhost的连接数量

  • CurrentChannels:

    当前vhost的channel数量

  • CurrentUsers:

    当前vhost的用户数量



2931
2932
2933
# File 'lib/v20230418/models.rb', line 2931

def CurrentUsers
  @CurrentUsers
end

Instance Method Details

#deserialize(params) ⇒ Object



2941
2942
2943
2944
2945
2946
2947
# File 'lib/v20230418/models.rb', line 2941

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