org.infinispan
Class ClassLoaderSpecfiedCache<K,V>

java.lang.Object
  extended by org.infinispan.AbstractDelegatingCache<K,V>
      extended by org.infinispan.AbstractDelegatingAdvancedCache<K,V>
          extended by org.infinispan.ClassLoaderSpecfiedCache<K,V>
All Implemented Interfaces:
ConcurrentMap<K,V>, Map<K,V>, AdvancedCache<K,V>, BasicCache<K,V>, Cache<K,V>, Lifecycle, Listenable

public class ClassLoaderSpecfiedCache<K,V>
extends AbstractDelegatingAdvancedCache<K,V>
implements AdvancedCache<K,V>


Nested Class Summary
 
Nested classes/interfaces inherited from interface java.util.Map
Map.Entry<K,V>
 
Field Summary
 
Fields inherited from class org.infinispan.AbstractDelegatingAdvancedCache
cache
 
Constructor Summary
ClassLoaderSpecfiedCache(AdvancedCache<K,V> cache, ClassLoader classLoader)
           
 
Method Summary
 ClassLoader getClassLoader()
          Returns the cache loader associated associated with this cache.
 
Methods inherited from class org.infinispan.AbstractDelegatingAdvancedCache
addInterceptor, addInterceptorAfter, addInterceptorBefore, applyDelta, getAdvancedCache, getBatchContainer, getComponentRegistry, getDataContainer, getDistributionManager, getEvictionManager, getInterceptorChain, getInvocationContextContainer, getLockManager, getRpcManager, getStats, getTransactionManager, getXAResource, lock, lock, putForExternalRead, removeInterceptor, removeInterceptor, with, withFlags
 
Methods inherited from class org.infinispan.AbstractDelegatingCache
addListener, clear, clearAsync, compact, containsKey, containsValue, endBatch, entrySet, evict, get, getAsync, getCacheConfiguration, getCacheManager, getConfiguration, getDelegate, 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, stop, toString, values
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.infinispan.AdvancedCache
addInterceptor, addInterceptorAfter, addInterceptorBefore, applyDelta, getBatchContainer, getComponentRegistry, getDataContainer, getDistributionManager, getEvictionManager, getInterceptorChain, getInvocationContextContainer, getLockManager, getRpcManager, getStats, getTransactionManager, getXAResource, lock, lock, removeInterceptor, removeInterceptor, with, withFlags
 
Methods inherited from interface org.infinispan.Cache
compact, endBatch, entrySet, evict, getAdvancedCache, getCacheConfiguration, getCacheManager, getConfiguration, getStatus, keySet, putForExternalRead, startBatch, values
 
Methods inherited from interface org.infinispan.api.BasicCache
clearAsync, 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, replaceAsync
 
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, stop
 
Methods inherited from interface org.infinispan.notifications.Listenable
addListener, getListeners, removeListener
 

Constructor Detail

ClassLoaderSpecfiedCache

public ClassLoaderSpecfiedCache(AdvancedCache<K,V> cache,
                                ClassLoader classLoader)
Method Detail

getClassLoader

public ClassLoader getClassLoader()
Description copied from interface: AdvancedCache
Returns the cache loader associated associated with this cache. As an alternative to setting this on every invocation, users could also consider using the DecoratedCache wrapper.

Specified by:
getClassLoader in interface AdvancedCache<K,V>
Overrides:
getClassLoader in class AbstractDelegatingAdvancedCache<K,V>
Returns:
this cache's cache loader

-->

Copyright © 2012 JBoss, a division of Red Hat. All Rights Reserved.