Class CacheDecorators
- java.lang.Object
- 
- org.keycloak.models.sessions.infinispan.CacheDecorators
 
- 
 public class CacheDecorators extends Object - Author:
- Marek Posolda
 
- 
- 
Constructor SummaryConstructors Constructor Description CacheDecorators()
 - 
Method SummaryAll Methods Static Methods Concrete Methods Modifier and Type Method Description static <K,V>
 org.infinispan.AdvancedCache<K,V>localCache(org.infinispan.Cache<K,V> cache)AddsFlag.CACHE_MODE_LOCALflag to the cache.static <K,V>
 org.infinispan.AdvancedCache<K,V>skipCacheLoaders(org.infinispan.Cache<K,V> cache)AddsFlag.SKIP_CACHE_LOADandFlag.SKIP_CACHE_STOREflags to the cache.static <K,V>
 org.infinispan.AdvancedCache<K,V>skipCacheStore(org.infinispan.Cache<K,V> cache)AddsFlag.SKIP_CACHE_STOREflag to the cache.
 
- 
- 
- 
Method Detail- 
localCachepublic static <K,V> org.infinispan.AdvancedCache<K,V> localCache(org.infinispan.Cache<K,V> cache) AddsFlag.CACHE_MODE_LOCALflag to the cache.- Parameters:
- cache-
- Returns:
- Cache with the flag applied.
 
 - 
skipCacheLoaderspublic static <K,V> org.infinispan.AdvancedCache<K,V> skipCacheLoaders(org.infinispan.Cache<K,V> cache) AddsFlag.SKIP_CACHE_LOADandFlag.SKIP_CACHE_STOREflags to the cache.- Parameters:
- cache-
- Returns:
- Cache with the flags applied.
 
 - 
skipCacheStorepublic static <K,V> org.infinispan.AdvancedCache<K,V> skipCacheStore(org.infinispan.Cache<K,V> cache) AddsFlag.SKIP_CACHE_STOREflag to the cache.- Parameters:
- cache-
- Returns:
- Cache with the flags applied.
 
 
- 
 
-