org.apache.tapestry.util
Interface ICleanable

All Known Implementing Classes:
Pool

public interface ICleanable

An interface implemented by objects that can be cleaned up, which is to say, can release unneeded object references. This is useful for many classes which provide a pooling or caching function. Over time, some pooled or cached objects may no longer be useful to keep and can be released. references to unneeded objects. This interface is the bridge between the JanitorThread class and an object that wishes to be periodically told to "clean up".

Since:
1.0.5
Version:
$Id: ICleanable.java 243791 2004-02-19 17:38:13Z hlship $
Author:
Howard Lewis Ship

Method Summary
 void executeCleanup()
          Invoked periodically by the JanitorThread to perform whatever memory cleanups are reasonable.
 

Method Detail

executeCleanup

void executeCleanup()
Invoked periodically by the JanitorThread to perform whatever memory cleanups are reasonable.