org.kuali.rice.krad.util
Class MemoryMonitor
java.lang.Object
org.kuali.rice.krad.util.MemoryMonitor
public class MemoryMonitor
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
listeners
private final Collection<MemoryMonitor.Listener> listeners
LOG
private static final org.apache.log4j.Logger LOG
springContextId
private String springContextId
tenuredGenPool
private static final MemoryPoolMXBean tenuredGenPool
MemoryMonitor
public MemoryMonitor()
MemoryMonitor
public MemoryMonitor(String springContextId)
addListener
public boolean addListener(MemoryMonitor.Listener listener)
removeListener
public boolean removeListener(MemoryMonitor.Listener listener)
setPercentageUsageThreshold
public static void setPercentageUsageThreshold(double percentage)
findTenuredGenPool
private static MemoryPoolMXBean findTenuredGenPool()
Copyright © 2004-2011 The Kuali Foundation. All Rights Reserved.