Uses of Interface
org.springframework.cache.Cache
Packages that use Cache
Package
Description
Spring's generic cache abstraction.
Implementation package for
java.util.concurrent based caches.AOP-based solution for declarative caching demarcation.
Support classes for the org.springframework.cache package.
-
Uses of Cache in org.springframework.cache
Methods in org.springframework.cache that return Cache -
Uses of Cache in org.springframework.cache.concurrent
Classes in org.springframework.cache.concurrent that implement CacheModifier and TypeClassDescriptionclassSimpleCacheimplementation based on the core JDKjava.util.concurrentpackage.Methods in org.springframework.cache.concurrent that return Cache -
Uses of Cache in org.springframework.cache.interceptor
Methods in org.springframework.cache.interceptor that return types with arguments of type CacheModifier and TypeMethodDescriptionprotected Collection<? extends Cache> CacheAspectSupport.CacheOperationContext.getCaches()protected Collection<? extends Cache> CacheAspectSupport.getCaches(CacheOperationInvocationContext<CacheOperation> context, CacheResolver cacheResolver) Collection<? extends Cache> AbstractCacheResolver.resolveCaches(CacheOperationInvocationContext<?> context) Collection<? extends Cache> CacheResolver.resolveCaches(CacheOperationInvocationContext<?> context) Return the cache(s) to use for the specified invocation.Methods in org.springframework.cache.interceptor with parameters of type CacheModifier and TypeMethodDescriptionprotected voidExecuteCache.clear()on the specifiedCacheand invoke the error handler if an exception occurs.protected voidExecuteCache.evict(Object)/Cache.evictIfPresent(Object)on the specifiedCacheand invoke the error handler if an exception occurs.protected @Nullable Cache.ValueWrapperExecuteCache.get(Object)on the specifiedCacheand invoke the error handler if an exception occurs.protected <T> @Nullable TExecuteCache.get(Object, Callable)on the specifiedCacheand invoke the error handler if an exception occurs.protected voidExecuteCache.put(Object, Object)on the specifiedCacheand invoke the error handler if an exception occurs.protected @Nullable CompletableFuture<?> AbstractCacheInvoker.doRetrieve(Cache cache, Object key) ExecuteCache.retrieve(Object)on the specifiedCacheand invoke the error handler if an exception occurs.protected <T> CompletableFuture<T> AbstractCacheInvoker.doRetrieve(Cache cache, Object key, Supplier<CompletableFuture<T>> valueLoader) ExecuteCache.retrieve(Object, Supplier)on the specifiedCacheand invoke the error handler if an exception occurs.voidCacheErrorHandler.handleCacheClearError(RuntimeException exception, Cache cache) Handle the given runtime exception thrown by the cache provider when clearing the specifiedCache, possibly rethrowing it as a fatal exception.voidLoggingCacheErrorHandler.handleCacheClearError(RuntimeException exception, Cache cache) voidSimpleCacheErrorHandler.handleCacheClearError(RuntimeException exception, Cache cache) voidCacheErrorHandler.handleCacheEvictError(RuntimeException exception, Cache cache, Object key) Handle the given runtime exception thrown by the cache provider when clearing an item with the specifiedkey, possibly rethrowing it as a fatal exception.voidLoggingCacheErrorHandler.handleCacheEvictError(RuntimeException exception, Cache cache, Object key) voidSimpleCacheErrorHandler.handleCacheEvictError(RuntimeException exception, Cache cache, Object key) voidCacheErrorHandler.handleCacheGetError(RuntimeException exception, Cache cache, Object key) Handle the given runtime exception thrown by the cache provider when retrieving an item with the specifiedkey, possibly rethrowing it as a fatal exception.voidLoggingCacheErrorHandler.handleCacheGetError(RuntimeException exception, Cache cache, Object key) voidSimpleCacheErrorHandler.handleCacheGetError(RuntimeException exception, Cache cache, Object key) voidCacheErrorHandler.handleCachePutError(RuntimeException exception, Cache cache, Object key, @Nullable Object value) Handle the given runtime exception thrown by the cache provider when updating an item with the specifiedkeyandvalue, possibly rethrowing it as a fatal exception.voidLoggingCacheErrorHandler.handleCachePutError(RuntimeException exception, Cache cache, Object key, @Nullable Object value) voidSimpleCacheErrorHandler.handleCachePutError(RuntimeException exception, Cache cache, Object key, @Nullable Object value) -
Uses of Cache in org.springframework.cache.support
Classes in org.springframework.cache.support that implement CacheModifier and TypeClassDescriptionclassCommon base class forCacheimplementations that need to adaptnullvalues (and potentially other such special values) before passing them on to the underlying store.classA no operationCacheimplementation suitable for disabling caching.Methods in org.springframework.cache.support that return CacheModifier and TypeMethodDescriptionprotected CacheAbstractCacheManager.decorateCache(Cache cache) Decorate the given Cache object if necessary.AbstractCacheManager.getMissingCache(String name) Return a missing cache with the specifiedname, ornullif such a cache does not exist or could not be created on demand.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 CacheModifier and TypeMethodDescriptionprotected 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 CacheModifier and TypeMethodDescriptionprotected CacheAbstractCacheManager.decorateCache(Cache cache) Decorate the given Cache object if necessary.Method parameters in org.springframework.cache.support with type arguments of type CacheModifier and TypeMethodDescriptionvoidSimpleCacheManager.setCaches(Collection<? extends Cache> caches) Specify the collection of Cache instances to use for this CacheManager.