Package com.axway.apim.lib
Class APIMCLICache<K,V>
- java.lang.Object
-
- com.axway.apim.lib.APIMCLICache<K,V>
-
-
Constructor Summary
Constructors Constructor Description APIMCLICache(org.ehcache.Cache<K,V> cache, String prefix)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()booleancontainsKey(K key)Vget(K key)Map<K,V>getAll(Set<? extends K> arg0)org.ehcache.config.CacheRuntimeConfiguration<K,V>getRuntimeConfiguration()Iterator<org.ehcache.Cache.Entry<K,V>>iterator()voidput(K key, V value)voidputAll(Map<? extends K,? extends V> arg0)VputIfAbsent(K key, V value)voidremove(K key)booleanremove(K key, V value)voidremoveAll(Set<? extends K> arg0)Vreplace(K key, V value)booleanreplace(K key, V value1, V value2)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Method Detail
-
containsKey
public boolean containsKey(K key)
-
getAll
public Map<K,V> getAll(Set<? extends K> arg0) throws org.ehcache.spi.loaderwriter.BulkCacheLoadingException
-
getRuntimeConfiguration
public org.ehcache.config.CacheRuntimeConfiguration<K,V> getRuntimeConfiguration()
-
putAll
public void putAll(Map<? extends K,? extends V> arg0) throws org.ehcache.spi.loaderwriter.BulkCacheWritingException
-
putIfAbsent
public V putIfAbsent(K key, V value) throws org.ehcache.spi.loaderwriter.CacheLoadingException, org.ehcache.spi.loaderwriter.CacheWritingException
-
remove
public void remove(K key) throws org.ehcache.spi.loaderwriter.CacheWritingException
-
remove
public boolean remove(K key, V value) throws org.ehcache.spi.loaderwriter.CacheWritingException
-
removeAll
public void removeAll(Set<? extends K> arg0) throws org.ehcache.spi.loaderwriter.BulkCacheWritingException
-
replace
public V replace(K key, V value) throws org.ehcache.spi.loaderwriter.CacheLoadingException, org.ehcache.spi.loaderwriter.CacheWritingException
-
-