Class ClassLoaderAwareCache<K,V>
java.lang.Object
org.apache.commons.jcs3.jcache.proxy.ClassLoaderAwareCache<K,V>
- All Implemented Interfaces:
Closeable
,AutoCloseable
,Iterable<javax.cache.Cache.Entry<K,
,V>> javax.cache.Cache<K,
V>
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
clear()
void
close()
boolean
containsKey
(K key) void
deregisterCacheEntryListener
(javax.cache.configuration.CacheEntryListenerConfiguration<K, V> cacheEntryListenerConfiguration) boolean
getAndRemove
(K key) getAndReplace
(K key, V value) javax.cache.CacheManager
getConfiguration
(Class<C> clazz) static <K extends Serializable,
V extends Serializable>
JCSCache<K,V> getDelegate
(javax.cache.Cache<?, ?> cache) getName()
int
hashCode()
<T> T
invokeAll
(Set<? extends K> keys, javax.cache.processor.EntryProcessor<K, V, T> entryProcessor, Object... arguments) boolean
isClosed()
iterator()
void
loadAll
(Set<? extends K> keys, boolean replaceExistingValues, javax.cache.integration.CompletionListener completionListener) void
void
boolean
putIfAbsent
(K key, V value) void
registerCacheEntryListener
(javax.cache.configuration.CacheEntryListenerConfiguration<K, V> cacheEntryListenerConfiguration) boolean
boolean
void
void
boolean
boolean
<T> T
static <K extends Serializable,
V extends Serializable>
javax.cache.Cache<K,V> wrap
(ClassLoader loader, JCSCache<K, V> delegate) Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
ClassLoaderAwareCache
-
-
Method Details
-
get
-
getAll
-
containsKey
-
loadAll
-
put
-
getAndPut
-
putAll
-
putIfAbsent
-
remove
-
remove
-
getAndRemove
-
replace
-
replace
-
getAndReplace
-
removeAll
-
removeAll
-
clear
-
getConfiguration
-
invoke
-
invokeAll
-
getName
-
getCacheManager
-
close
-
isClosed
-
unwrap
-
registerCacheEntryListener
public void registerCacheEntryListener(javax.cache.configuration.CacheEntryListenerConfiguration<K, V> cacheEntryListenerConfiguration) -
deregisterCacheEntryListener
public void deregisterCacheEntryListener(javax.cache.configuration.CacheEntryListenerConfiguration<K, V> cacheEntryListenerConfiguration) -
iterator
-
equals
-
hashCode
-
wrap
public static <K extends Serializable,V extends Serializable> javax.cache.Cache<K,V> wrap(ClassLoader loader, JCSCache<K, V> delegate) -
getDelegate
public static <K extends Serializable,V extends Serializable> JCSCache<K,V> getDelegate(javax.cache.Cache<?, ?> cache)
-