org.hibernate.cache.infinispan.impl
Class ClassLoaderAwareCache<K,V>

java.lang.Object
  extended by org.infinispan.AbstractDelegatingCache<K,V>
      extended by org.infinispan.AbstractDelegatingAdvancedCache<K,V>
          extended by org.hibernate.cache.infinispan.impl.ClassLoaderAwareCache<K,V>
All Implemented Interfaces:
ConcurrentMap<K,V>, Map<K,V>, org.infinispan.AdvancedCache<K,V>, org.infinispan.Cache<K,V>, org.infinispan.lifecycle.Lifecycle, org.infinispan.notifications.Listenable

public class ClassLoaderAwareCache<K,V>
extends org.infinispan.AbstractDelegatingAdvancedCache<K,V>

Author:
Paul Ferraro

Nested Class Summary
static class ClassLoaderAwareCache.ClassLoaderAwareListener
           
 
Nested classes/interfaces inherited from interface java.util.Map
Map.Entry<K,V>
 
Constructor Summary
ClassLoaderAwareCache(org.infinispan.AdvancedCache<K,V> cache, ClassLoader classLoader)
           
 
Method Summary
 void addListener(Object listener)
           
 org.infinispan.stats.Stats getStats()
           
 void stop()
           
 
Methods inherited from class org.infinispan.AbstractDelegatingAdvancedCache
addInterceptor, addInterceptorAfter, addInterceptorBefore, getBatchContainer, getComponentRegistry, getDataContainer, getDistributionManager, getEvictionManager, getInterceptorChain, getInvocationContextContainer, getRpcManager, getTransactionManager, lock, lock, removeInterceptor, removeInterceptor, withFlags
 
Methods inherited from class org.infinispan.AbstractDelegatingCache
clear, clearAsync, compact, containsKey, containsValue, endBatch, entrySet, evict, get, getAdvancedCache, 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, size, start, startBatch, values
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.infinispan.Cache
clearAsync, compact, endBatch, entrySet, evict, getAdvancedCache, getCacheManager, getConfiguration, getName, getStatus, getVersion, keySet, put, put, putAll, putAll, putAllAsync, putAllAsync, putAllAsync, putAsync, putAsync, putAsync, putForExternalRead, putIfAbsent, putIfAbsent, putIfAbsentAsync, putIfAbsentAsync, putIfAbsentAsync, removeAsync, removeAsync, replace, replace, replace, replace, replaceAsync, replaceAsync, replaceAsync, replaceAsync, replaceAsync, replaceAsync, startBatch, values
 
Methods inherited from interface java.util.concurrent.ConcurrentMap
putIfAbsent, remove, replace, replace
 
Methods inherited from interface java.util.Map
clear, containsKey, containsValue, equals, get, hashCode, isEmpty, put, putAll, remove, size
 
Methods inherited from interface org.infinispan.lifecycle.Lifecycle
start
 
Methods inherited from interface org.infinispan.notifications.Listenable
getListeners, removeListener
 

Constructor Detail

ClassLoaderAwareCache

public ClassLoaderAwareCache(org.infinispan.AdvancedCache<K,V> cache,
                             ClassLoader classLoader)
Method Detail

getStats

public org.infinispan.stats.Stats getStats()

stop

public void stop()
Specified by:
stop in interface org.infinispan.lifecycle.Lifecycle
Overrides:
stop in class org.infinispan.AbstractDelegatingCache<K,V>

addListener

public void addListener(Object listener)
Specified by:
addListener in interface org.infinispan.notifications.Listenable
Overrides:
addListener in class org.infinispan.AbstractDelegatingCache<K,V>


Copyright © 2001-2010 Red Hat, Inc. All Rights Reserved.