Class DefaultCache<K,​V>

  • All Implemented Interfaces:
    ConcurrentMap<K,​V>, Map<K,​V>, org.infinispan.AdvancedCache<K,​V>, org.infinispan.Cache<K,​V>, org.infinispan.commons.api.AsyncCache<K,​V>, org.infinispan.commons.api.BasicCache<K,​V>, org.infinispan.commons.api.BatchingCache, org.infinispan.commons.api.Lifecycle, org.infinispan.commons.api.TransactionalCache, org.infinispan.notifications.FilteringListenable<K,​V>, org.infinispan.notifications.Listenable

    public class DefaultCache<K,​V>
    extends org.infinispan.cache.impl.AbstractDelegatingAdvancedCache<K,​V>
    AdvancedCache decorator associated with a DefaultCacheContainer.
    Author:
    Paul Ferraro
    • Field Summary

      • Fields inherited from class org.infinispan.cache.impl.AbstractDelegatingAdvancedCache

        cache
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(Object object)  
      org.infinispan.manager.EmbeddedCacheManager getCacheManager()  
      int hashCode()  
      org.infinispan.AdvancedCache rewrap​(org.infinispan.AdvancedCache newDelegate)  
      • Methods inherited from class org.infinispan.cache.impl.AbstractDelegatingAdvancedCache

        cacheEntrySet, compute, computeAsync, computeAsync, computeAsync, computeAsync, computeIfAbsent, computeIfAbsentAsync, computeIfAbsentAsync, computeIfAbsentAsync, computeIfAbsentAsync, computeIfPresent, computeIfPresentAsync, computeIfPresentAsync, computeIfPresentAsync, computeIfPresentAsync, getAdvancedCache, getAll, getAllAsync, getAllCacheEntries, getAndPutAll, getAsyncInterceptorChain, getAuthorizationManager, getAvailability, getBatchContainer, getCacheAvailability, getCacheEntry, getCacheEntryAsync, getClassLoader, getComponentRegistry, getDataContainer, getDistributionManager, getEvictionManager, getExpirationManager, getGroup, getKeyDataConversion, getLockManager, getRpcManager, getStats, getTransactionManager, getValueDataConversion, getXAResource, isRebalancingEnabled, lock, lock, lockAs, lockedStream, merge, mergeAsync, mergeAsync, mergeAsync, mergeAsync, noFlags, put, putAll, putAllAsync, putAsync, putForExternalRead, putForExternalRead, putForExternalRead, putIfAbsent, putIfAbsentAsync, removeGroup, removeLifespanExpired, removeMaxIdleExpired, replace, replace, replaceAsync, replaceAsync, setAvailability, setCacheAvailability, setRebalancingEnabled, touch, touch, transform, with, withEncoding, withEncoding, withFlags, withFlags, withFlags, withKeyEncoding, withMediaType, withMediaType, withStorageMediaType, withSubject, withWrapping, withWrapping
      • Methods inherited from class org.infinispan.cache.impl.AbstractDelegatingCache

        addFilteredListener, addFilteredListenerAsync, addListener, addListener, addListenerAsync, addListenerAsync, addStorageFormatFilteredListener, addStorageFormatFilteredListenerAsync, clear, clearAsync, compute, compute, compute, computeIfAbsent, computeIfAbsent, computeIfAbsent, computeIfPresent, computeIfPresent, computeIfPresent, containsKey, containsValue, endBatch, entrySet, evict, forEach, get, getAsync, getCacheConfiguration, getCacheName, getCacheStatus, getConfigurationAsProperties, getDelegate, getListeners, getName, getOrDefault, getStatus, getVersion, isEmpty, keySet, merge, merge, merge, put, put, put, putAll, putAll, putAll, putAllAsync, putAllAsync, putAllAsync, putAsync, putAsync, putAsync, putForExternalRead, putForExternalRead, putForExternalRead, putIfAbsent, putIfAbsent, putIfAbsent, putIfAbsentAsync, putIfAbsentAsync, putIfAbsentAsync, remove, remove, removeAsync, removeAsync, removeListener, removeListenerAsync, replace, replace, replace, replace, replace, replace, replaceAll, replaceAsync, replaceAsync, replaceAsync, replaceAsync, replaceAsync, replaceAsync, set, shutdown, size, sizeAsync, start, startBatch, stop, toString, unwrapCache, values
      • Methods inherited from interface org.infinispan.AdvancedCache

        compute, computeAsync, computeIfAbsent, computeIfAbsentAsync, computeIfPresent, computeIfPresentAsync, merge, mergeAsync
      • Methods inherited from interface org.infinispan.commons.api.AsyncCache

        clearAsync, containsKeyAsync, getAsync, putAllAsync, putAllAsync, putAllAsync, putAsync, putAsync, putAsync, putIfAbsentAsync, putIfAbsentAsync, putIfAbsentAsync, removeAsync, removeAsync, replaceAsync, replaceAsync, replaceAsync, replaceAsync, replaceAsync, replaceAsync, sizeAsync
      • Methods inherited from interface org.infinispan.commons.api.BasicCache

        compute, compute, computeIfAbsent, computeIfAbsent, computeIfPresent, computeIfPresent, getName, getVersion, merge, merge, put, put, put, putAll, putAll, putIfAbsent, putIfAbsent, remove, replace, replace, replace, replace
      • Methods inherited from interface org.infinispan.commons.api.BatchingCache

        endBatch, startBatch
      • Methods inherited from interface org.infinispan.Cache

        clear, compute, compute, compute, compute, computeAsync, computeAsync, computeAsync, computeIfAbsent, computeIfAbsent, computeIfAbsent, computeIfAbsent, computeIfAbsentAsync, computeIfAbsentAsync, computeIfAbsentAsync, computeIfPresent, computeIfPresent, computeIfPresentAsync, entrySet, evict, getCacheConfiguration, getStatus, keySet, merge, merge, merge, merge, mergeAsync, mergeAsync, mergeAsync, putForExternalRead, putForExternalRead, putForExternalRead, shutdown, size, stop, values
      • Methods inherited from interface org.infinispan.notifications.FilteringListenable

        addFilteredListener, addFilteredListenerAsync, addListener, addListenerAsync, addStorageFormatFilteredListener, addStorageFormatFilteredListenerAsync
      • Methods inherited from interface org.infinispan.commons.api.Lifecycle

        start
      • Methods inherited from interface org.infinispan.notifications.Listenable

        addListener, addListenerAsync, getListeners, removeListener, removeListenerAsync
    • Method Detail

      • getCacheManager

        public org.infinispan.manager.EmbeddedCacheManager getCacheManager()
        Specified by:
        getCacheManager in interface org.infinispan.Cache<K,​V>
        Overrides:
        getCacheManager in class org.infinispan.cache.impl.AbstractDelegatingCache<K,​V>
      • rewrap

        public org.infinispan.AdvancedCache rewrap​(org.infinispan.AdvancedCache newDelegate)
        Specified by:
        rewrap in class org.infinispan.cache.impl.AbstractDelegatingAdvancedCache<K,​V>