org.aspectj.org.eclipse.jdt.internal.core.util
Interface ILRUCacheable


public interface ILRUCacheable

Types implementing this interface can occupy a variable amount of space in an LRUCache. Cached items that do not implement this interface are considered to occupy one unit of space.

See Also:
LRUCache

Method Summary
 int getCacheFootprint()
          Returns the space the receiver consumes in an LRU Cache.
 

Method Detail

getCacheFootprint

int getCacheFootprint()
Returns the space the receiver consumes in an LRU Cache. The default space value is 1.

Returns:
int Amount of cache space taken by the receiver