Listener
to the MemoryMonitor
with a given threshold percentage. If the threshold is below the Java5 memory managment system's threshold, then the Listener is notified from within this method.
@param listener the Listener
to be added.
@param thresholdPercentage the threshold percentage for thisListener
.
@return true
if the Listener
wasadded and false
otherwise.
|
|