/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * This source file is part of SableVM classlib-stubs. * * * * See the file "LICENSE" for the copyright information and for * * the terms and conditions for copying, distribution and * * modification of this source file. * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ package java.lang.management; public interface MemoryPoolMXBean { String getName(); MemoryType getType(); MemoryUsage getUsage(); MemoryUsage getPeakUsage(); void resetPeakUsage(); boolean isValid(); String[] getMemoryManagerNames(); long getUsageThreshold(); void setUsageThreshold(long threshold); boolean isUsageThresholdExceeded(); long getUsageThresholdCount(); boolean isUsageThresholdSupported(); long getCollectionUsageThreshold(); void setCollectionUsageThreshold(long threhsold); boolean isCollectionUsageThresholdExceeded(); long getCollectionUsageThresholdCount(); MemoryUsage getCollectionUsage(); boolean isCollectionUsageThresholdSupported(); }