com.retek.commons.util.profiling
Class MemoryWatcher

java.lang.Object
  extended bycom.retek.commons.util.profiling.MemoryWatcher
All Implemented Interfaces:
java.lang.Runnable

public class MemoryWatcher
extends java.lang.Object
implements java.lang.Runnable

Class which is able to monitor Cache memory dao object sizes.


Method Summary
 void run()
           
static void startWatcher(long sleepInterval)
           
static void startWatcher(long sleepInterval, java.util.Collection profilers)
           
static void startWatcher(long sleepInterval, MemoryWatcherProfiler profiler)
           
 void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

startWatcher

public static void startWatcher(long sleepInterval)

startWatcher

public static void startWatcher(long sleepInterval,
                                MemoryWatcherProfiler profiler)

startWatcher

public static void startWatcher(long sleepInterval,
                                java.util.Collection profilers)

stop

public void stop()

run

public void run()
Specified by:
run in interface java.lang.Runnable


Copyright © 2004 Retek Inc. All Rights Reserved. - Generated at Fri, 10/22/2004 07:28