Class SamplingHeapProfileSample


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

      Constructors 
      Constructor Description
      SamplingHeapProfileSample​(java.lang.Number size, java.lang.Integer nodeId, java.lang.Number ordinal)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Integer getNodeId()
      Id of the corresponding profile tree node.
      java.lang.Number getOrdinal()
      Time-ordered sample ordinal number.
      java.lang.Number getSize()
      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​(java.lang.Number size,
                                         java.lang.Integer nodeId,
                                         java.lang.Number ordinal)
    • Method Detail

      • getSize

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

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

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