Class: TencentCloud::Keewidb::V20220308::TendisSlowLogDetail

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

Overview

实例慢查询详情

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(executetime = nil, duration = nil, command = nil, commandline = nil, node = nil) ⇒ TendisSlowLogDetail

Returns a new instance of TendisSlowLogDetail.



3223
3224
3225
3226
3227
3228
3229
# File 'lib/v20220308/models.rb', line 3223

def initialize(executetime=nil, duration=nil, command=nil, commandline=nil, node=nil)
  @ExecuteTime = executetime
  @Duration = duration
  @Command = command
  @CommandLine = commandline
  @Node = node
end

Instance Attribute Details

#CommandObject

Parameters:

  • ExecuteTime:

    执行时间

  • Duration:

    慢查询耗时(毫秒)

  • Command:

    命令

  • CommandLine:

    详细命令行信息

  • Node:

    节点ID



3221
3222
3223
# File 'lib/v20220308/models.rb', line 3221

def Command
  @Command
end

#CommandLineObject

Parameters:

  • ExecuteTime:

    执行时间

  • Duration:

    慢查询耗时(毫秒)

  • Command:

    命令

  • CommandLine:

    详细命令行信息

  • Node:

    节点ID



3221
3222
3223
# File 'lib/v20220308/models.rb', line 3221

def CommandLine
  @CommandLine
end

#DurationObject

Parameters:

  • ExecuteTime:

    执行时间

  • Duration:

    慢查询耗时(毫秒)

  • Command:

    命令

  • CommandLine:

    详细命令行信息

  • Node:

    节点ID



3221
3222
3223
# File 'lib/v20220308/models.rb', line 3221

def Duration
  @Duration
end

#ExecuteTimeObject

Parameters:

  • ExecuteTime:

    执行时间

  • Duration:

    慢查询耗时(毫秒)

  • Command:

    命令

  • CommandLine:

    详细命令行信息

  • Node:

    节点ID



3221
3222
3223
# File 'lib/v20220308/models.rb', line 3221

def ExecuteTime
  @ExecuteTime
end

#NodeObject

Parameters:

  • ExecuteTime:

    执行时间

  • Duration:

    慢查询耗时(毫秒)

  • Command:

    命令

  • CommandLine:

    详细命令行信息

  • Node:

    节点ID



3221
3222
3223
# File 'lib/v20220308/models.rb', line 3221

def Node
  @Node
end

Instance Method Details

#deserialize(params) ⇒ Object



3231
3232
3233
3234
3235
3236
3237
# File 'lib/v20220308/models.rb', line 3231

def deserialize(params)
  @ExecuteTime = params['ExecuteTime']
  @Duration = params['Duration']
  @Command = params['Command']
  @CommandLine = params['CommandLine']
  @Node = params['Node']
end