Package org.apache.commons.ognl.internal
Class HashMapCache<K,V>
java.lang.Object
org.apache.commons.ognl.internal.HashMapCache<K,V>
- All Implemented Interfaces:
Cache<K,
V>
- Direct Known Subclasses:
HashMapClassCache
,ReentrantReadWriteLockClassCache
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
cache
-
cacheEntryFactory
-
-
Constructor Details
-
HashMapCache
-
-
Method Details
-
clear
public void clear() -
getSize
public int getSize() -
get
- Specified by:
get
in interfaceCache<K,
V> - Throws:
CacheException
-
shouldCreate
- Throws:
CacheException
-
put
-
contains
-