Class ImageRefPoolSnapshot

java.lang.Object
io.scanbot.sdk.image.ImageRefPoolSnapshot

public class ImageRefPoolSnapshot extends Object
Snapshot of all alive ImageRefs.
  • Constructor Details

    • ImageRefPoolSnapshot

      public ImageRefPoolSnapshot(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(List<ImageRefProfile> imageRefProfiles)
      Constructs ImageRefPoolSnapshot with default parameters.
      Parameters:
      imageRefProfiles - Detailed profiles of all alive ImageRefs.
  • Method Details

    • getImageRefProfiles

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

      public void setImageRefProfiles(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.