class TencentCloud::Tsf::V20180326::JvmMonitorData

DescribeJvmMonitor查询jvm监控数据接口返回数据封装

def deserialize(params)

def deserialize(params)
  unless params['HeapMemory'].nil?
    @HeapMemory = MemoryPicture.new
    @HeapMemory.deserialize(params['HeapMemory'])
  end
  unless params['NonHeapMemory'].nil?
    @NonHeapMemory = MemoryPicture.new
    @NonHeapMemory.deserialize(params['NonHeapMemory'])
  end
  unless params['EdenSpace'].nil?
    @EdenSpace = MemoryPicture.new
    @EdenSpace.deserialize(params['EdenSpace'])
  end
  unless params['SurvivorSpace'].nil?
    @SurvivorSpace = MemoryPicture.new
    @SurvivorSpace.deserialize(params['SurvivorSpace'])
  end
  unless params['OldSpace'].nil?
    @OldSpace = MemoryPicture.new
    @OldSpace.deserialize(params['OldSpace'])
  end
  unless params['MetaSpace'].nil?
    @MetaSpace = MemoryPicture.new
    @MetaSpace.deserialize(params['MetaSpace'])
  end
  unless params['ThreadPicture'].nil?
    @ThreadPicture = ThreadPicture.new
    @ThreadPicture.deserialize(params['ThreadPicture'])
  end
  unless params['YoungGC'].nil?
    @YoungGC = []
    params['YoungGC'].each do |i|
      curvepoint_tmp = CurvePoint.new
      curvepoint_tmp.deserialize(i)
      @YoungGC << curvepoint_tmp
    end
  end
  unless params['FullGC'].nil?
    @FullGC = []
    params['FullGC'].each do |i|
      curvepoint_tmp = CurvePoint.new
      curvepoint_tmp.deserialize(i)
      @FullGC << curvepoint_tmp
    end
  end
  unless params['CpuUsage'].nil?
    @CpuUsage = []
    params['CpuUsage'].each do |i|
      curvepoint_tmp = CurvePoint.new
      curvepoint_tmp.deserialize(i)
      @CpuUsage << curvepoint_tmp
    end
  end
  unless params['ClassCount'].nil?
    @ClassCount = []
    params['ClassCount'].each do |i|
      curvepoint_tmp = CurvePoint.new
      curvepoint_tmp.deserialize(i)
      @ClassCount << curvepoint_tmp
    end
  end
end

def initialize(heapmemory=nil, nonheapmemory=nil, edenspace=nil, survivorspace=nil, oldspace=nil, metaspace=nil, threadpicture=nil, younggc=nil, fullgc=nil, cpuusage=nil, classcount=nil)

def initialize(heapmemory=nil, nonheapmemory=nil, edenspace=nil, survivorspace=nil, oldspace=nil, metaspace=nil, threadpicture=nil, younggc=nil, fullgc=nil, cpuusage=nil, classcount=nil)
  @HeapMemory = heapmemory
  @NonHeapMemory = nonheapmemory
  @EdenSpace = edenspace
  @SurvivorSpace = survivorspace
  @OldSpace = oldspace
  @MetaSpace = metaspace
  @ThreadPicture = threadpicture
  @YoungGC = younggc
  @FullGC = fullgc
  @CpuUsage = cpuusage
  @ClassCount = classcount
end