public class ClassLoaderAwareCache<K,V> extends AbstractDelegatingAdvancedCache<K,V>
| Modifier and Type | Class and Description |
|---|---|
static class |
ClassLoaderAwareCache.ClassLoaderAwareListener |
cache| Constructor and Description |
|---|
ClassLoaderAwareCache(AdvancedCache<K,V> cache,
ClassLoader classLoader) |
| Modifier and Type | Method and Description |
|---|---|
void |
addListener(Object listener)
Adds a listener to the component.
|
Stats |
getStats()
Returns a
Stats object that allows several statistics associated
with this cache at runtime. |
void |
stop() |
addInterceptor, addInterceptorAfter, addInterceptorBefore, applyDelta, getAdvancedCache, getBatchContainer, getClassLoader, getComponentRegistry, getDataContainer, getDistributionManager, getEvictionManager, getInterceptorChain, getInvocationContextContainer, getLockManager, getRpcManager, getTransactionManager, getXAResource, lock, lock, putForExternalRead, removeInterceptor, removeInterceptor, with, withFlagsclear, clearAsync, compact, containsKey, containsValue, endBatch, entrySet, evict, get, getAsync, getCacheConfiguration, getCacheManager, getConfiguration, getListeners, getName, getStatus, getVersion, isEmpty, keySet, put, put, put, putAll, putAll, putAll, putAllAsync, putAllAsync, putAllAsync, putAsync, putAsync, putAsync, putForExternalRead, putIfAbsent, putIfAbsent, putIfAbsent, putIfAbsentAsync, putIfAbsentAsync, putIfAbsentAsync, remove, remove, removeAsync, removeAsync, removeListener, replace, replace, replace, replace, replace, replace, replaceAsync, replaceAsync, replaceAsync, replaceAsync, replaceAsync, replaceAsync, set, size, start, startBatch, toString, valuesclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcompact, endBatch, entrySet, evict, getCacheConfiguration, getCacheManager, getConfiguration, getStatus, keySet, putForExternalRead, startBatch, valuesclearAsync, getAsync, getName, getVersion, put, put, putAll, putAll, putAllAsync, putAllAsync, putAllAsync, putAsync, putAsync, putAsync, putIfAbsent, putIfAbsent, putIfAbsentAsync, putIfAbsentAsync, putIfAbsentAsync, removeAsync, removeAsync, replace, replace, replace, replace, replaceAsync, replaceAsync, replaceAsync, replaceAsync, replaceAsync, replaceAsyncputIfAbsent, remove, replace, replaceclear, containsKey, containsValue, equals, get, hashCode, isEmpty, put, putAll, remove, sizegetListeners, removeListenerpublic ClassLoaderAwareCache(AdvancedCache<K,V> cache, ClassLoader classLoader)
public Stats getStats()
AdvancedCacheStats object that allows several statistics associated
with this cache at runtime.getStats in interface AdvancedCache<K,V>getStats in class AbstractDelegatingAdvancedCache<K,V>Stats objectpublic void stop()
public void addListener(Object listener)
ListenableListener and
further to that, contain methods annotated appropriately, otherwise the listener will not be registered.
See the Listener annotation for more information.
addListener in interface ListenableaddListener in class AbstractDelegatingCache<K,V>listener - must not be null.Copyright © 2012 JBoss by Red Hat. All Rights Reserved.