Package org.infinispan.rest.cachemanager
Class RestCacheManager<V>
- java.lang.Object
-
- org.infinispan.rest.cachemanager.RestCacheManager<V>
-
public class RestCacheManager<V> extends Object
Manages caches instances used during rest requests.
-
-
Constructor Summary
Constructors Constructor Description RestCacheManager(EmbeddedCacheManager instance, Predicate<? super String> isCacheIgnored)
-
Method Summary
-
-
-
Field Detail
-
logger
protected static final Log logger
-
-
Constructor Detail
-
RestCacheManager
public RestCacheManager(EmbeddedCacheManager instance, Predicate<? super String> isCacheIgnored)
-
-
Method Detail
-
getCache
public AdvancedCache<Object,V> getCache(String name, MediaType keyContentType, MediaType valueContentType, Subject subject)
-
getCache
public AdvancedCache<Object,V> getCache(String name, Subject subject)
-
getPrivilegedInternalEntry
public CacheEntry<Object,V> getPrivilegedInternalEntry(AdvancedCache<Object,V> cache, Object key, boolean skipListener)
-
getInternalEntry
public CacheEntry<Object,V> getInternalEntry(AdvancedCache<Object,V> cache, Object key, boolean skipListener)
-
getInternalEntry
public CacheEntry<Object,V> getInternalEntry(String cacheName, Object key, MediaType keyContentType, MediaType mediaType, Subject subject)
-
remove
public void remove(String cacheName, Object key, MediaType keyContentType, boolean async, Subject subject)
-
getInternalEntry
public CacheEntry<Object,V> getInternalEntry(String cacheName, Object key, boolean skipListener, MediaType keyContentType, MediaType mediaType, Subject subject)
-
getNodeName
public String getNodeName()
-
getServerAddress
public String getServerAddress()
-
getInstance
public EmbeddedCacheManager getInstance()
-
stop
public void stop()
-
-