## Uses of Interface
org.springframework.cache.Cache

- Packages that use Cache
  Package | Description
  --- | ---
  org.springframework.cache | Spring's generic cache abstraction.
  org.springframework.cache.caffeine | Support classes for the open source cache in Caffeine library, allowing to set up Caffeine caches within Spring's cache abstraction.
  org.springframework.cache.concurrent | Implementation package for `java.util.concurrent` based caches.
  org.springframework.cache.ehcache | Support classes for the open source cache EhCache 2.x, allowing to set up an EhCache CacheManager and Caches as beans in a Spring context.
  org.springframework.cache.interceptor | AOP-based solution for declarative caching demarcation.
  org.springframework.cache.jcache | Implementation package for JSR-107 (javax.cache aka "JCache") based caches.
  org.springframework.cache.support | Support classes for the org.springframework.cache package.
  org.springframework.cache.transaction | Transaction-aware decorators for the org.springframework.cache package.
  org.springframework.web.reactive.config | Spring WebFlux configuration infrastructure.
  org.springframework.web.reactive.resource | Support classes for serving static resources.
  org.springframework.web.servlet.config.annotation | Annotation-based setup for Spring MVC.
  org.springframework.web.servlet.resource | Support classes for serving static resources.

- - ### Uses of Cache in org.springframework.cache

    Methods in org.springframework.cache that return Cache
    Modifier and Type | Method and Description
    --- | ---
    `Cache` | CacheManager.`getCache(String name)` Get the cache associated with the given name.

  - ### Uses of Cache in org.springframework.cache.caffeine

    Classes in org.springframework.cache.caffeine that implement Cache
    Modifier and Type | Class and Description
    --- | ---
    `class` | `CaffeineCache` Spring `Cache` adapter implementation on top of a Caffeine `Cache` instance.

    Methods in org.springframework.cache.caffeine that return Cache
    Modifier and Type | Method and Description
    --- | ---
    `protected Cache` | CaffeineCacheManager.`adaptCaffeineCache(String name, com.github.benmanes.caffeine.cache.Cache<Object,Object> cache)` Adapt the given new native Caffeine Cache instance to Spring's `Cache` abstraction for the specified cache name.
    `protected Cache` | CaffeineCacheManager.`createCaffeineCache(String name)` Build a common `CaffeineCache` instance for the specified cache name, using the common Caffeine configuration specified on this cache manager.
    `Cache` | CaffeineCacheManager.`getCache(String name)`

  - ### Uses of Cache in org.springframework.cache.concurrent

    Classes in org.springframework.cache.concurrent that implement Cache
    Modifier and Type | Class and Description
    --- | ---
    `class` | `ConcurrentMapCache` Simple `Cache` implementation based on the core JDK `java.util.concurrent` package.

    Methods in org.springframework.cache.concurrent that return Cache
    Modifier and Type | Method and Description
    --- | ---
    `protected Cache` | ConcurrentMapCacheManager.`createConcurrentMapCache(String name)` Create a new ConcurrentMapCache instance for the specified cache name.
    `Cache` | ConcurrentMapCacheManager.`getCache(String name)`

  - ### Uses of Cache in org.springframework.cache.ehcache

    Classes in org.springframework.cache.ehcache that implement Cache
    Modifier and Type | Class and Description
    --- | ---
    `class` | `EhCacheCache` `Cache` implementation on top of an `Ehcache` instance.

    Methods in org.springframework.cache.ehcache that return Cache
    Modifier and Type | Method and Description
    --- | ---
    `protected Cache` | EhCacheCacheManager.`getMissingCache(String name)`

    Methods in org.springframework.cache.ehcache that return types with arguments of type Cache
    Modifier and Type | Method and Description
    --- | ---
    `protected Collection<Cache>` | EhCacheCacheManager.`loadCaches()`

  - ### Uses of Cache in org.springframework.cache.interceptor

    Methods in org.springframework.cache.interceptor that return types with arguments of type Cache
    Modifier and Type | Method and Description
    --- | ---
    `protected Collection<? extends Cache>` | CacheAspectSupport.CacheOperationContext.`getCaches()`
    `protected Collection<? extends Cache>` | CacheAspectSupport.`getCaches(CacheOperationInvocationContext<CacheOperation> context, CacheResolver cacheResolver)`
    `Collection<? extends Cache>` | CacheResolver.`resolveCaches(CacheOperationInvocationContext<?> context)` Return the cache(s) to use for the specified invocation.
    `Collection<? extends Cache>` | AbstractCacheResolver.`resolveCaches(CacheOperationInvocationContext<?> context)`

    Methods in org.springframework.cache.interceptor with parameters of type Cache
    Modifier and Type | Method and Description
    --- | ---
    `protected void` | AbstractCacheInvoker.`doClear(Cache cache, boolean immediate)` Execute `clear()` on the specified `Cache` and invoke the error handler if an exception occurs.
    `protected void` | AbstractCacheInvoker.`doEvict(Cache cache, Object key, boolean immediate)` Execute `evict(Object)`/`evictIfPresent(Object)` on the specified `Cache` and invoke the error handler if an exception occurs.
    `protected Cache.ValueWrapper` | AbstractCacheInvoker.`doGet(Cache cache, Object key)` Execute `get(Object)` on the specified `Cache` and invoke the error handler if an exception occurs.
    `protected void` | AbstractCacheInvoker.`doPut(Cache cache, Object key, Object value)` Execute `put(Object, Object)` on the specified `Cache` and invoke the error handler if an exception occurs.
    `void` | SimpleCacheErrorHandler.`handleCacheClearError(RuntimeException exception, Cache cache)`
    `void` | CacheErrorHandler.`handleCacheClearError(RuntimeException exception, Cache cache)` Handle the given runtime exception thrown by the cache provider when clearing the specified `Cache`, possibly rethrowing it as a fatal exception.
    `void` | LoggingCacheErrorHandler.`handleCacheClearError(RuntimeException exception, Cache cache)`
    `void` | SimpleCacheErrorHandler.`handleCacheEvictError(RuntimeException exception, Cache cache, Object key)`
    `void` | CacheErrorHandler.`handleCacheEvictError(RuntimeException exception, Cache cache, Object key)` Handle the given runtime exception thrown by the cache provider when clearing an item with the specified `key`, possibly rethrowing it as a fatal exception.
    `void` | LoggingCacheErrorHandler.`handleCacheEvictError(RuntimeException exception, Cache cache, Object key)`
    `void` | SimpleCacheErrorHandler.`handleCacheGetError(RuntimeException exception, Cache cache, Object key)`
    `void` | CacheErrorHandler.`handleCacheGetError(RuntimeException exception, Cache cache, Object key)` Handle the given runtime exception thrown by the cache provider when retrieving an item with the specified `key`, possibly rethrowing it as a fatal exception.
    `void` | LoggingCacheErrorHandler.`handleCacheGetError(RuntimeException exception, Cache cache, Object key)`
    `void` | SimpleCacheErrorHandler.`handleCachePutError(RuntimeException exception, Cache cache, Object key, Object value)`
    `void` | CacheErrorHandler.`handleCachePutError(RuntimeException exception, Cache cache, Object key, Object value)` Handle the given runtime exception thrown by the cache provider when updating an item with the specified `key` and `value`, possibly rethrowing it as a fatal exception.
    `void` | LoggingCacheErrorHandler.`handleCachePutError(RuntimeException exception, Cache cache, Object key, Object value)`

  - ### Uses of Cache in org.springframework.cache.jcache

    Classes in org.springframework.cache.jcache that implement Cache
    Modifier and Type | Class and Description
    --- | ---
    `class` | `JCacheCache` `Cache` implementation on top of a `javax.cache.Cache` instance.

    Methods in org.springframework.cache.jcache that return Cache
    Modifier and Type | Method and Description
    --- | ---
    `protected Cache` | JCacheCacheManager.`getMissingCache(String name)`

    Methods in org.springframework.cache.jcache that return types with arguments of type Cache
    Modifier and Type | Method and Description
    --- | ---
    `protected Collection<Cache>` | JCacheCacheManager.`loadCaches()`

  - ### Uses of Cache in org.springframework.cache.support

    Classes in org.springframework.cache.support that implement Cache
    Modifier and Type | Class and Description
    --- | ---
    `class` | `AbstractValueAdaptingCache` Common base class for `Cache` implementations that need to adapt `null` values (and potentially other such special values) before passing them on to the underlying store.
    `class` | `NoOpCache` A no operation `Cache` implementation suitable for disabling caching.

    Methods in org.springframework.cache.support that return Cache
    Modifier and Type | Method and Description
    --- | ---
    `protected Cache` | AbstractCacheManager.`decorateCache(Cache cache)` Decorate the given Cache object if necessary.
    `Cache` | CompositeCacheManager.`getCache(String name)`
    `Cache` | NoOpCacheManager.`getCache(String name)` This implementation always returns a `Cache` implementation that will not store items.
    `Cache` | AbstractCacheManager.`getCache(String name)`
    `protected Cache` | AbstractCacheManager.`getMissingCache(String name)` Return a missing cache with the specified `name`, or `null` if such a cache does not exist or could not be created on demand.
    `protected Cache` | AbstractCacheManager.`lookupCache(String name)` Check for a registered cache of the given name.

    Methods in org.springframework.cache.support that return types with arguments of type Cache
    Modifier and Type | Method and Description
    --- | ---
    `protected abstract Collection<? extends Cache>` | AbstractCacheManager.`loadCaches()` Load the initial caches for this cache manager.
    `protected Collection<? extends Cache>` | SimpleCacheManager.`loadCaches()`

    Methods in org.springframework.cache.support with parameters of type Cache
    Modifier and Type | Method and Description
    --- | ---
    `protected void` | AbstractCacheManager.`addCache(Cache cache)` Deprecated. as of Spring 4.3, in favor of `AbstractCacheManager.getMissingCache(String)`
    `protected Cache` | AbstractCacheManager.`decorateCache(Cache cache)` Decorate the given Cache object if necessary.

    Method parameters in org.springframework.cache.support with type arguments of type Cache
    Modifier and Type | Method and Description
    --- | ---
    `void` | SimpleCacheManager.`setCaches(Collection<? extends Cache> caches)` Specify the collection of Cache instances to use for this CacheManager.

  - ### Uses of Cache in org.springframework.cache.transaction

    Classes in org.springframework.cache.transaction that implement Cache
    Modifier and Type | Class and Description
    --- | ---
    `class` | `TransactionAwareCacheDecorator` Cache decorator which synchronizes its `TransactionAwareCacheDecorator.put(java.lang.Object, java.lang.Object)`, `TransactionAwareCacheDecorator.evict(java.lang.Object)` and `TransactionAwareCacheDecorator.clear()` operations with Spring-managed transactions (through Spring's `TransactionSynchronizationManager`), performing the actual cache put/evict/clear operation only in the after-commit phase of a successful transaction.

    Methods in org.springframework.cache.transaction that return Cache
    Modifier and Type | Method and Description
    --- | ---
    `protected Cache` | AbstractTransactionSupportingCacheManager.`decorateCache(Cache cache)`
    `Cache` | TransactionAwareCacheManagerProxy.`getCache(String name)`
    `Cache` | TransactionAwareCacheDecorator.`getTargetCache()` Return the target Cache that this Cache should delegate to.

    Methods in org.springframework.cache.transaction with parameters of type Cache
    Modifier and Type | Method and Description
    --- | ---
    `protected Cache` | AbstractTransactionSupportingCacheManager.`decorateCache(Cache cache)`

    Constructors in org.springframework.cache.transaction with parameters of type Cache
    Constructor and Description
    `TransactionAwareCacheDecorator(Cache targetCache)` Create a new TransactionAwareCache for the given target Cache.

  - ### Uses of Cache in org.springframework.web.reactive.config

    Methods in org.springframework.web.reactive.config with parameters of type Cache
    Modifier and Type | Method and Description
    --- | ---
    `ResourceChainRegistration` | ResourceHandlerRegistration.`resourceChain(boolean cacheResources, Cache cache)` Configure a chain of resource resolvers and transformers to use.

    Constructors in org.springframework.web.reactive.config with parameters of type Cache
    Constructor and Description
    `ResourceChainRegistration(boolean cacheResources, Cache cache)`

  - ### Uses of Cache in org.springframework.web.reactive.resource

    Methods in org.springframework.web.reactive.resource that return Cache
    Modifier and Type | Method and Description
    --- | ---
    `Cache` | CachingResourceTransformer.`getCache()` Return the configured `Cache`.
    `Cache` | CachingResourceResolver.`getCache()` Return the configured `Cache`.

    Constructors in org.springframework.web.reactive.resource with parameters of type Cache
    Constructor and Description
    `CachingResourceResolver(Cache cache)`
    `CachingResourceTransformer(Cache cache)`

  - ### Uses of Cache in org.springframework.web.servlet.config.annotation

    Methods in org.springframework.web.servlet.config.annotation with parameters of type Cache
    Modifier and Type | Method and Description
    --- | ---
    `ResourceChainRegistration` | ResourceHandlerRegistration.`resourceChain(boolean cacheResources, Cache cache)` Configure a chain of resource resolvers and transformers to use.

    Constructors in org.springframework.web.servlet.config.annotation with parameters of type Cache
    Constructor and Description
    `ResourceChainRegistration(boolean cacheResources, Cache cache)`

  - ### Uses of Cache in org.springframework.web.servlet.resource

    Methods in org.springframework.web.servlet.resource that return Cache
    Modifier and Type | Method and Description
    --- | ---
    `Cache` | CachingResourceTransformer.`getCache()` Return the configured `Cache`.
    `Cache` | CachingResourceResolver.`getCache()` Return the configured `Cache`.

    Constructors in org.springframework.web.servlet.resource with parameters of type Cache
    Constructor and Description
    `CachingResourceResolver(Cache cache)`
    `CachingResourceTransformer(Cache cache)`