- java.lang.Object
-
- com.ibm.dtfj.corereaders.zos.util.AbstractHashMap
-
- com.ibm.dtfj.corereaders.zos.util.AbstractLruCache
-
- com.ibm.dtfj.corereaders.zos.util.ObjectLruCache
-
- All Implemented Interfaces:
Serializable
public final class ObjectLruCache extends AbstractLruCache
This class provides an LRU (Least Recently Used) cache which maps integer keys to object values. See the description in the superclassAbstractLruCachefor more details.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ObjectLruCache(int maxSize)Create a new ObjectLruCache.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Objectget(long key)Returns the value mapped by the given key.voidput(long key, Object value)Add the key/value pair to the map.-
Methods declared in class com.ibm.dtfj.corereaders.zos.util.AbstractLruCache
getIndexAndPromote, putIndexAndPromote
-
Methods declared in class com.ibm.dtfj.corereaders.zos.util.AbstractHashMap
getKeys, getKeysArray
-
-