- <init>
Constructs a cache map.
- expunge
Enforces to expunge items that exceeds the maximal allowed number or lifetime.By
default, this metho
- put
- setLifetime
Sets the minimal lifetime. Default: #DEFAULT_LIFETIME.
- setMaxSize
Sets the maximal allowed size.
- canExpunge
Tests whether certain value is OK to expunge.Note: values are tested thru
#canExpunge only if #shall
- get
- getWithoutExpunge
Returns the value without trying to expunge for more memory. It is useful if you
want to preserve al
- onExpunge
Called when a pair of key and value having been expunged. This method is called
after it is removed,
- shallExpunge
Returns whether it is time to expunge. Once shallExpunge returns true, values
are examined one-by-on
- clear
- clone