com.calitha.util
Interface ICleanable


public interface ICleanable

An ICleanable represents an object that periodically want to cleanup certain resources.

Author:
Robert van Loenhout

Method Summary
 void cleanup()
          Cleanup resources.
 boolean runOnce()
          Determins if the cleanup method must be called periodically or only once.
 

Method Detail

cleanup

void cleanup()
Cleanup resources.


runOnce

boolean runOnce()
Determins if the cleanup method must be called periodically or only once.

Returns:
true if only once, otherwise false