Package io.scanbot.sdk.image
Class ImageRefPoolSnapshot
- java.lang.Object
-
- io.scanbot.sdk.image.ImageRefPoolSnapshot
-
public class ImageRefPoolSnapshot extends java.lang.ObjectSnapshot of all alive ImageRefs.
-
-
Constructor Summary
Constructors Constructor Description ImageRefPoolSnapshot(java.util.List<ImageRefProfile> imageRefProfiles)Constructs ImageRefPoolSnapshot with default parameters.ImageRefPoolSnapshot(java.util.List<ImageRefProfile> imageRefProfiles, long totalMemoryConsumption)Constructs ImageRefPoolSnapshot with the given params.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<ImageRefProfile>getImageRefProfiles()Getter for imageRefProfiles field.longgetTotalMemoryConsumption()Getter for totalMemoryConsumption field.voidsetImageRefProfiles(java.util.List<ImageRefProfile> imageRefProfiles)Setter for imageRefProfiles field.voidsetTotalMemoryConsumption(long totalMemoryConsumption)Setter for totalMemoryConsumption field.
-
-
-
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.
-
-