Class ImageRefPoolSnapshot


  • public class ImageRefPoolSnapshot
    extends java.lang.Object
    Snapshot of all alive ImageRefs.
    • Constructor Detail

      • ImageRefPoolSnapshot

        public ImageRefPoolSnapshot​(java.util.List<ImageRefProfile> imageRefProfiles,
                                    long totalMemoryConsumption)
        Constructs ImageRefPoolSnapshot with the given params.
        Parameters:
        imageRefProfiles - Detailed profiles of all alive ImageRefs.
        totalMemoryConsumption - Estimation of total memory consumption of ImageRefs. Default is 0
      • ImageRefPoolSnapshot

        public ImageRefPoolSnapshot​(java.util.List<ImageRefProfile> imageRefProfiles)
        Constructs ImageRefPoolSnapshot with default parameters.
        Parameters:
        imageRefProfiles - Detailed profiles of all alive ImageRefs.
    • Method Detail

      • getImageRefProfiles

        public java.util.List<ImageRefProfile> getImageRefProfiles()
        Getter for imageRefProfiles field. See constructor documentation for more information about the field.
        Returns:
        imageRefProfiles
      • setImageRefProfiles

        public void setImageRefProfiles​(java.util.List<ImageRefProfile> imageRefProfiles)
        Setter for imageRefProfiles field. See constructor documentation for more information about the field.
        Parameters:
        imageRefProfiles - Value to set.
      • getTotalMemoryConsumption

        public long getTotalMemoryConsumption()
        Getter for totalMemoryConsumption field. See constructor documentation for more information about the field.
        Returns:
        totalMemoryConsumption
      • setTotalMemoryConsumption

        public void setTotalMemoryConsumption​(long totalMemoryConsumption)
        Setter for totalMemoryConsumption field. See constructor documentation for more information about the field.
        Parameters:
        totalMemoryConsumption - Value to set.