public class CacheDecorators extends Object
| Constructor and Description |
|---|
CacheDecorators() |
| Modifier and Type | Method and Description |
|---|---|
static <K,V> org.infinispan.AdvancedCache<K,V> |
localCache(org.infinispan.Cache<K,V> cache)
Adds
Flag.CACHE_MODE_LOCAL flag to the cache. |
static <K,V> org.infinispan.AdvancedCache<K,V> |
skipCacheLoaders(org.infinispan.Cache<K,V> cache)
Adds
Flag.SKIP_CACHE_LOAD and Flag.SKIP_CACHE_STORE flags to the cache. |
static <K,V> org.infinispan.AdvancedCache<K,V> |
skipCacheStore(org.infinispan.Cache<K,V> cache)
Adds
Flag.SKIP_CACHE_STORE flag to the cache. |
public static <K,V> org.infinispan.AdvancedCache<K,V> localCache(org.infinispan.Cache<K,V> cache)
Flag.CACHE_MODE_LOCAL flag to the cache.cache - public static <K,V> org.infinispan.AdvancedCache<K,V> skipCacheLoaders(org.infinispan.Cache<K,V> cache)
Flag.SKIP_CACHE_LOAD and Flag.SKIP_CACHE_STORE flags to the cache.cache - public static <K,V> org.infinispan.AdvancedCache<K,V> skipCacheStore(org.infinispan.Cache<K,V> cache)
Flag.SKIP_CACHE_STORE flag to the cache.cache - Copyright © 2021 JBoss by Red Hat. All rights reserved.