Class SamplingHeapProfileSample


  • public class SamplingHeapProfileSample
    extends java.lang.Object
    A single sample from a sampling profile
    • Method Summary

      Modifier and Type Method Description
      java.lang.Integer getNodeId()
      Id of the corresponding profile tree node.
      java.lang.Double getOrdinal()
      Time-ordered sample ordinal number.
      java.lang.Double getSize()
      Allocation size in bytes attributed to the sample.
      void setNodeId​(java.lang.Integer nodeId)
      Id of the corresponding profile tree node.
      void setOrdinal​(java.lang.Double ordinal)
      Time-ordered sample ordinal number.
      void setSize​(java.lang.Double size)
      Allocation size in bytes attributed to the sample.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SamplingHeapProfileSample

        public SamplingHeapProfileSample()
    • Method Detail

      • getSize

        public java.lang.Double getSize()
        Allocation size in bytes attributed to the sample.
      • setSize

        public void setSize​(java.lang.Double size)
        Allocation size in bytes attributed to the sample.
      • getNodeId

        public java.lang.Integer getNodeId()
        Id of the corresponding profile tree node.
      • setNodeId

        public void setNodeId​(java.lang.Integer nodeId)
        Id of the corresponding profile tree node.
      • getOrdinal

        public java.lang.Double getOrdinal()
        Time-ordered sample ordinal number. It is unique across all profiles retrieved between startSampling and stopSampling.
      • setOrdinal

        public void setOrdinal​(java.lang.Double ordinal)
        Time-ordered sample ordinal number. It is unique across all profiles retrieved between startSampling and stopSampling.