Package org.jppf.caching
Class JPPFHashMapCache<K,V>
java.lang.Object
org.jppf.caching.AbstractJPPFMapCache<K,V>
org.jppf.caching.JPPFHashMapCache<K,V>
- Type Parameters:
K- the type of keys.V- the type of values.
- All Implemented Interfaces:
JPPFMapCache<K,V>
Cache implementation which uses a
HashMap.- Author:
- Laurent Cohen
-
Field Summary
Fields inherited from class org.jppf.caching.AbstractJPPFMapCache
map -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
JPPFHashMapCache
public JPPFHashMapCache()Initialize this cache.
-
-
Method Details
-
createMap
Description copied from class:AbstractJPPFMapCacheCreate the backing map.- Specified by:
createMapin classAbstractJPPFMapCache<K,V> - Returns:
- a map for this cache.
-