class TencentCloud::Tsf::V20180326::ThreadPicture

jvm监控数据线程数据封装

def deserialize(params)

def deserialize(params)
  unless params['ThreadCount'].nil?
    @ThreadCount = []
    params['ThreadCount'].each do |i|
      curvepoint_tmp = CurvePoint.new
      curvepoint_tmp.deserialize(i)
      @ThreadCount << curvepoint_tmp
    end
  end
  unless params['ThreadActive'].nil?
    @ThreadActive = []
    params['ThreadActive'].each do |i|
      curvepoint_tmp = CurvePoint.new
      curvepoint_tmp.deserialize(i)
      @ThreadActive << curvepoint_tmp
    end
  end
  unless params['DeamonThreadCount'].nil?
    @DeamonThreadCount = []
    params['DeamonThreadCount'].each do |i|
      curvepoint_tmp = CurvePoint.new
      curvepoint_tmp.deserialize(i)
      @DeamonThreadCount << curvepoint_tmp
    end
  end
  unless params['DaemonThreadCount'].nil?
    @DaemonThreadCount = []
    params['DaemonThreadCount'].each do |i|
      curvepoint_tmp = CurvePoint.new
      curvepoint_tmp.deserialize(i)
      @DaemonThreadCount << curvepoint_tmp
    end
  end
end

def initialize(threadcount=nil, threadactive=nil, deamonthreadcount=nil, daemonthreadcount=nil)

def initialize(threadcount=nil, threadactive=nil, deamonthreadcount=nil, daemonthreadcount=nil)
  @ThreadCount = threadcount
  @ThreadActive = threadactive
  @DeamonThreadCount = deamonthreadcount
  @DaemonThreadCount = daemonthreadcount
end