Class ImageRefPoolSnapshotsDiff


  • public class ImageRefPoolSnapshotsDiff
    extends java.lang.Object
    difference between two snapshots.
    • Constructor Summary

      Constructors 
      Constructor Description
      ImageRefPoolSnapshotsDiff​(long totalMemoryConsumptionDiff, java.util.List<java.lang.String> removed, java.util.List<java.lang.String> added, java.util.List<java.lang.String> modified)
      Constructs ImageRefPoolSnapshotsDiff with the given params.
      ImageRefPoolSnapshotsDiff​(java.util.List<java.lang.String> removed, java.util.List<java.lang.String> added, java.util.List<java.lang.String> modified)
      Constructs ImageRefPoolSnapshotsDiff with default parameters.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.List<java.lang.String> getAdded()
      Getter for added field.
      java.util.List<java.lang.String> getModified()
      Getter for modified field.
      java.util.List<java.lang.String> getRemoved()
      Getter for removed field.
      long getTotalMemoryConsumptionDiff()
      Getter for totalMemoryConsumptionDiff field.
      void setAdded​(java.util.List<java.lang.String> added)
      Setter for added field.
      void setModified​(java.util.List<java.lang.String> modified)
      Setter for modified field.
      void setRemoved​(java.util.List<java.lang.String> removed)
      Setter for removed field.
      void setTotalMemoryConsumptionDiff​(long totalMemoryConsumptionDiff)
      Setter for totalMemoryConsumptionDiff field.
      • Methods inherited from class java.lang.Object

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

      • ImageRefPoolSnapshotsDiff

        public ImageRefPoolSnapshotsDiff​(long totalMemoryConsumptionDiff,
                                         java.util.List<java.lang.String> removed,
                                         java.util.List<java.lang.String> added,
                                         java.util.List<java.lang.String> modified)
        Constructs ImageRefPoolSnapshotsDiff with the given params.
        Parameters:
        totalMemoryConsumptionDiff - Difference between total memory consumption in two snapshots. Default is 0
        removed - Unique ids of ImageRefs that are not present in the second snapshot and present in the first snapshot.
        added - Profiles of ImageRefs that are present in the second snapshot, but not in the first snapshot.
        modified - Profiles of ImageRefs that are present in both snapshots but are different. Profile is considered modified if number of references or memory consumption is different.
      • ImageRefPoolSnapshotsDiff

        public ImageRefPoolSnapshotsDiff​(java.util.List<java.lang.String> removed,
                                         java.util.List<java.lang.String> added,
                                         java.util.List<java.lang.String> modified)
        Constructs ImageRefPoolSnapshotsDiff with default parameters.
        Parameters:
        removed - Unique ids of ImageRefs that are not present in the second snapshot and present in the first snapshot.
        added - Profiles of ImageRefs that are present in the second snapshot, but not in the first snapshot.
        modified - Profiles of ImageRefs that are present in both snapshots but are different. Profile is considered modified if number of references or memory consumption is different.
    • Method Detail

      • getTotalMemoryConsumptionDiff

        public long getTotalMemoryConsumptionDiff()
        Getter for totalMemoryConsumptionDiff field. See constructor documentation for more information about the field.
        Returns:
        totalMemoryConsumptionDiff
      • setTotalMemoryConsumptionDiff

        public void setTotalMemoryConsumptionDiff​(long totalMemoryConsumptionDiff)
        Setter for totalMemoryConsumptionDiff field. See constructor documentation for more information about the field.
        Parameters:
        totalMemoryConsumptionDiff - Value to set.
      • getRemoved

        public java.util.List<java.lang.String> getRemoved()
        Getter for removed field. See constructor documentation for more information about the field.
        Returns:
        removed
      • setRemoved

        public void setRemoved​(java.util.List<java.lang.String> removed)
        Setter for removed field. See constructor documentation for more information about the field.
        Parameters:
        removed - Value to set.
      • getAdded

        public java.util.List<java.lang.String> getAdded()
        Getter for added field. See constructor documentation for more information about the field.
        Returns:
        added
      • setAdded

        public void setAdded​(java.util.List<java.lang.String> added)
        Setter for added field. See constructor documentation for more information about the field.
        Parameters:
        added - Value to set.
      • getModified

        public java.util.List<java.lang.String> getModified()
        Getter for modified field. See constructor documentation for more information about the field.
        Returns:
        modified
      • setModified

        public void setModified​(java.util.List<java.lang.String> modified)
        Setter for modified field. See constructor documentation for more information about the field.
        Parameters:
        modified - Value to set.