jdk/src/share/classes/sun/management/MemoryPoolImpl.java
public long getUsageThresholdCount() {
if (!isUsageThresholdSupported()) {
throw new UnsupportedOperationException(
"Usage threshold is not supported");
}
return usageSensor.getCount();
}
This document is available under the GNU GENERAL PUBLIC LICENSE Version 2.