public class MemoryPoolMXBeanMO extends Object implements MemoryPoolMXBean
Constructor and Description |
---|
MemoryPoolMXBeanMO() |
Modifier and Type | Method and Description |
---|---|
MemoryUsage |
getCollectionUsage() |
long |
getCollectionUsageThreshold() |
long |
getCollectionUsageThresholdCount() |
String[] |
getMemoryManagerNames() |
String |
getName() |
ObjectName |
getObjectName() |
MemoryUsage |
getPeakUsage() |
MemoryType |
getType() |
MemoryUsage |
getUsage() |
long |
getUsageThreshold() |
long |
getUsageThresholdCount() |
boolean |
isCollectionUsageThresholdExceeded() |
boolean |
isCollectionUsageThresholdSupported() |
boolean |
isUsageThresholdExceeded() |
boolean |
isUsageThresholdSupported() |
boolean |
isValid() |
void |
resetPeakUsage() |
void |
setCollectionUsageThreshold(long threhsold) |
void |
setUsageThreshold(long threshold) |
public MemoryUsage getCollectionUsage()
getCollectionUsage
in interface MemoryPoolMXBean
public long getCollectionUsageThreshold()
getCollectionUsageThreshold
in interface MemoryPoolMXBean
public long getCollectionUsageThresholdCount()
getCollectionUsageThresholdCount
in interface MemoryPoolMXBean
public String[] getMemoryManagerNames()
getMemoryManagerNames
in interface MemoryPoolMXBean
public String getName()
getName
in interface MemoryPoolMXBean
public MemoryUsage getPeakUsage()
getPeakUsage
in interface MemoryPoolMXBean
public MemoryType getType()
getType
in interface MemoryPoolMXBean
public MemoryUsage getUsage()
getUsage
in interface MemoryPoolMXBean
public long getUsageThreshold()
getUsageThreshold
in interface MemoryPoolMXBean
public long getUsageThresholdCount()
getUsageThresholdCount
in interface MemoryPoolMXBean
public boolean isCollectionUsageThresholdExceeded()
isCollectionUsageThresholdExceeded
in interface MemoryPoolMXBean
public boolean isCollectionUsageThresholdSupported()
isCollectionUsageThresholdSupported
in interface MemoryPoolMXBean
public boolean isUsageThresholdExceeded()
isUsageThresholdExceeded
in interface MemoryPoolMXBean
public boolean isUsageThresholdSupported()
isUsageThresholdSupported
in interface MemoryPoolMXBean
public boolean isValid()
isValid
in interface MemoryPoolMXBean
public void resetPeakUsage()
resetPeakUsage
in interface MemoryPoolMXBean
public void setCollectionUsageThreshold(long threhsold)
setCollectionUsageThreshold
in interface MemoryPoolMXBean
public void setUsageThreshold(long threshold)
setUsageThreshold
in interface MemoryPoolMXBean
public ObjectName getObjectName()
getObjectName
in interface PlatformManagedObject
Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.