1 7 8 package java.lang.management; 9 10 343 public interface MemoryPoolMXBean { 344 349 public String getName(); 350 351 361 public MemoryType getType(); 362 363 388 public MemoryUsage getUsage(); 389 390 406 public MemoryUsage getPeakUsage(); 407 408 416 public void resetPeakUsage(); 417 418 427 public boolean isValid(); 428 429 436 public String [] getMemoryManagerNames(); 437 438 451 public long getUsageThreshold(); 452 453 477 public void setUsageThreshold(long threshold); 478 479 490 public boolean isUsageThresholdExceeded(); 491 492 502 public long getUsageThresholdCount(); 503 504 510 public boolean isUsageThresholdSupported(); 511 512 525 public long getCollectionUsageThreshold(); 526 527 556 public void setCollectionUsageThreshold(long threhsold); 557 558 575 public boolean isCollectionUsageThresholdExceeded(); 576 577 590 public long getCollectionUsageThresholdCount(); 591 592 613 public MemoryUsage getCollectionUsage(); 614 615 621 public boolean isCollectionUsageThresholdSupported(); 622 } 623 | Popular Tags |