Package org.biojava.utils.cache
Class FixedSizeCache
java.lang.Object
org.biojava.utils.cache.FixedSizeCache
- All Implemented Interfaces:
Cache
Cache which stores up to
limit
Objects.- Since:
- 1.1
- Author:
- Thomas Down
-
Constructor Details
-
FixedSizeCache
-
-
Method Details
-
makeReference
Description copied from interface:Cache
Construct a temporary reference to an object. The reference persists until it becomes dereferenced itself, it is explicitly cleared by the user, or the cache determines that it is a candidate for disposal.- Specified by:
makeReference
in interfaceCache
-
getLimit
-
setLimit
-