net.spy.pool
Class GarbageCollector
java.lang.Object
net.spy.SpyObject
net.spy.pool.GarbageCollector
- public final class GarbageCollector
- extends SpyObject
Perform garbage collection with rate control.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getGarbageCollector
public static GarbageCollector getGarbageCollector()
- Get the collector.
collect
public void collect()
- Run the garbage collection and perform finalization.