public class HashMapTPCacheAdapter<T> extends java.lang.Object implements TPCacheAdapter
Simple implementation of TPCacheAdapter backed by a local hash map.
Modifiers | Name | Description |
---|---|---|
private java.util.concurrent.ConcurrentHashMap<java.lang.Object, T> |
cache |
Type Params | Return Type | Name and description |
---|---|---|
|
public void |
cacheEntry(java.io.Serializable key, T entry) |
|
public T |
getCachedEntry(java.io.Serializable key) |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |