org.apache.commons.ognl.internal
Class ConcurrentHashMapClassCache<T>

java.lang.Object
  extended by org.apache.commons.ognl.internal.ConcurrentHashMapCache<Class<?>,T>
      extended by org.apache.commons.ognl.internal.ConcurrentHashMapClassCache<T>
All Implemented Interfaces:
Cache<Class<?>,T>, ClassCache<T>

public class ConcurrentHashMapClassCache<T>
extends ConcurrentHashMapCache<Class<?>,T>
implements ClassCache<T>


Constructor Summary
ConcurrentHashMapClassCache(CacheEntryFactory<Class<?>,T> entryFactory)
           
 
Method Summary
 T put(Class<?> key, T value)
           
 void setClassInspector(ClassCacheInspector inspector)
           
 
Methods inherited from class org.apache.commons.ognl.internal.ConcurrentHashMapCache
clear, contains, get, getSize, shouldCreate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.commons.ognl.internal.Cache
clear, get, getSize
 

Constructor Detail

ConcurrentHashMapClassCache

public ConcurrentHashMapClassCache(CacheEntryFactory<Class<?>,T> entryFactory)
Method Detail

setClassInspector

public void setClassInspector(ClassCacheInspector inspector)
Specified by:
setClassInspector in interface ClassCache<T>

put

public T put(Class<?> key,
             T value)
Specified by:
put in interface Cache<Class<?>,T>
Overrides:
put in class ConcurrentHashMapCache<Class<?>,T>


Copyright © 1997-2013 The Apache Software Foundation. All Rights Reserved.