Class GCDefaultPreferencesImpl
java.lang.Object
com.ibm.java.diagnostics.healthcenter.api.gc.impl.GCDefaultPreferencesImpl
- All Implemented Interfaces:
GCDefaultPreferences
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintGets the default value for the excessive compaction threshold.intGets the default value for the high occupancy threshold.intGets the default value for the low occupancy threshold.intGets the default value for the long pause threshold.intGets the default value for the system garbage collection threshold.
-
Constructor Details
-
GCDefaultPreferencesImpl
public GCDefaultPreferencesImpl()
-
-
Method Details
-
getDefaultLowOccupancyThreshold
public int getDefaultLowOccupancyThreshold()Description copied from interface:GCDefaultPreferencesGets the default value for the low occupancy threshold.- Specified by:
getDefaultLowOccupancyThresholdin interfaceGCDefaultPreferences- Returns:
- the lower threshold, as a percentage of used heap.
-
getDefaultHighOccupancyThreshold
public int getDefaultHighOccupancyThreshold()Description copied from interface:GCDefaultPreferencesGets the default value for the high occupancy threshold.- Specified by:
getDefaultHighOccupancyThresholdin interfaceGCDefaultPreferences- Returns:
- the upper threshold, as a percentage of used heap.
-
getDefaultPauseLengthThreshold
public int getDefaultPauseLengthThreshold()Description copied from interface:GCDefaultPreferencesGets the default value for the long pause threshold.- Specified by:
getDefaultPauseLengthThresholdin interfaceGCDefaultPreferences- Returns:
- the pause length threshold, in milliseconds.
-
getDefaultCompactionPercentageThreshold
public int getDefaultCompactionPercentageThreshold()Description copied from interface:GCDefaultPreferencesGets the default value for the excessive compaction threshold.- Specified by:
getDefaultCompactionPercentageThresholdin interfaceGCDefaultPreferences- Returns:
- the compaction threshold, as a percentage of garbage collections.
-
getDefaultSystemGCPercentageThreshold
public int getDefaultSystemGCPercentageThreshold()Description copied from interface:GCDefaultPreferencesGets the default value for the system garbage collection threshold.- Specified by:
getDefaultSystemGCPercentageThresholdin interfaceGCDefaultPreferences- Returns:
- the system garbage collection threshold, as a percentage of garbage collections.
-