public class RestCacheManager<V> extends Object
Constructor and Description |
---|
RestCacheManager(EmbeddedCacheManager instance,
Predicate<? super String> isCacheIgnored) |
Modifier and Type | Method and Description |
---|---|
AdvancedCache<Object,V> |
getCache(String name) |
AdvancedCache<Object,V> |
getCache(String name,
MediaType keyContentType,
MediaType valueContentType) |
EmbeddedCacheManager |
getInstance() |
CacheEntry<Object,V> |
getInternalEntry(String cacheName,
Object key,
boolean skipListener,
MediaType keyContentType,
MediaType mediaType) |
CacheEntry<Object,V> |
getInternalEntry(String cacheName,
Object key,
MediaType keyContentType,
MediaType mediaType) |
String |
getNodeName() |
String |
getPrimaryOwner(String cacheName,
Object key) |
String |
getServerAddress() |
MediaType |
getValueConfiguredFormat(String cacheName) |
void |
remove(String cacheName,
Object key,
MediaType keyContentType,
boolean async) |
protected static final Log logger
public RestCacheManager(EmbeddedCacheManager instance, Predicate<? super String> isCacheIgnored)
public AdvancedCache<Object,V> getCache(String name, MediaType keyContentType, MediaType valueContentType)
public AdvancedCache<Object,V> getCache(String name)
public CacheEntry<Object,V> getInternalEntry(String cacheName, Object key, MediaType keyContentType, MediaType mediaType)
public CacheEntry<Object,V> getInternalEntry(String cacheName, Object key, boolean skipListener, MediaType keyContentType, MediaType mediaType)
public String getNodeName()
public String getServerAddress()
public EmbeddedCacheManager getInstance()
Copyright © 2018 JBoss, a division of Red Hat. All rights reserved.