Package io.scanbot.sdk.image
Class ImageRefPoolSnapshot
java.lang.Object
io.scanbot.sdk.image.ImageRefPoolSnapshot
Snapshot of all alive ImageRefs.
-
Constructor Summary
ConstructorsConstructorDescriptionImageRefPoolSnapshot(List<ImageRefProfile> imageRefProfiles) Constructs ImageRefPoolSnapshot with default parameters.ImageRefPoolSnapshot(List<ImageRefProfile> imageRefProfiles, long totalMemoryConsumption) Constructs ImageRefPoolSnapshot with the given params. -
Method Summary
Modifier and TypeMethodDescriptionGetter for imageRefProfiles field.longGetter for totalMemoryConsumption field.voidsetImageRefProfiles(List<ImageRefProfile> imageRefProfiles) Setter for imageRefProfiles field.voidsetTotalMemoryConsumption(long totalMemoryConsumption) Setter for totalMemoryConsumption field.
-
Constructor Details
-
ImageRefPoolSnapshot
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
Constructs ImageRefPoolSnapshot with default parameters.- Parameters:
imageRefProfiles- Detailed profiles of all alive ImageRefs.
-
-
Method Details
-
getImageRefProfiles
Getter for imageRefProfiles field. See constructor documentation for more information about the field.- Returns:
- imageRefProfiles
-
setImageRefProfiles
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.
-