Class RestCacheManager<V>


  • public class RestCacheManager<V>
    extends Object
    Manages caches instances used during rest requests.
    • Field Detail

      • logger

        protected static final Log logger
    • Method Detail

      • getCache

        public AdvancedCache<Object,​V> getCache​(String name,
                                                      org.infinispan.commons.dataconversion.MediaType keyContentType,
                                                      org.infinispan.commons.dataconversion.MediaType valueContentType,
                                                      Subject subject)
      • getInternalEntry

        public CacheEntry<Object,​V> getInternalEntry​(String cacheName,
                                                           Object key,
                                                           org.infinispan.commons.dataconversion.MediaType keyContentType,
                                                           org.infinispan.commons.dataconversion.MediaType mediaType,
                                                           Subject subject)
      • remove

        public void remove​(String cacheName,
                           Object key,
                           org.infinispan.commons.dataconversion.MediaType keyContentType,
                           boolean async,
                           Subject subject)
      • getValueConfiguredFormat

        public org.infinispan.commons.dataconversion.MediaType getValueConfiguredFormat​(String cacheName)
      • getInternalEntry

        public CacheEntry<Object,​V> getInternalEntry​(String cacheName,
                                                           Object key,
                                                           boolean skipListener,
                                                           org.infinispan.commons.dataconversion.MediaType keyContentType,
                                                           org.infinispan.commons.dataconversion.MediaType mediaType,
                                                           Subject subject)
      • getNodeName

        public String getNodeName()
      • getServerAddress

        public String getServerAddress()
      • stop

        public void stop()