Mercurial > hg > blitz_stable
view src/org/dancres/blitz/lease/ReapFilter.java @ 27:511648fa4d64 Version 2.1
Version to 2.1
author | Dan Creswell <dan.creswell@gmail.com> |
---|---|
date | Mon, 04 Jan 2010 13:00:40 +0000 |
parents | 3dc0c5604566 |
children |
line wrap: on
line source
package org.dancres.blitz.lease; /** <p>ReapFilter objects are used by Reapables to determine whether it's okay for them to cleanup one of their resources. It's possible that some other entity may wish to block a cleanup under certain circumstances.</p> <p>ReapFilter instances are loaded from a config file at initialization time and <em>cannot</em> be changed after that. These settings are closely associated with Blitz internals and should not be changed by an end-user. They are expected to be the domain of the Blitz programming team only.</p> <p>Currently, ReapFilter instances can expect to receive objects of type EntrySleeve and EventGenerator</p> @see org.dancres.blitz.entry.EntrySleeve @see org.dancres.blitz.notify.EventGenerator */ public interface ReapFilter { /** @return <code>true</true> if this object should <em>not</em> be deleted by the Reapable which invoked on the filter. */ public boolean filter(LeasedResource aResource); }