Class DelegatingCacheManager
java.lang.Object
com.atlassian.confluence.impl.cache.DelegatingCacheManager
- All Implemented Interfaces:
- com.atlassian.cache.CacheFactory,- com.atlassian.cache.CacheManager
public abstract class DelegatingCacheManager
extends Object
implements com.atlassian.cache.CacheManager
A 
CacheManager implementation that delegates all method calls to another CacheManager.- Since:
- 8.3
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoid<K,V> @NonNull com.atlassian.cache.Cache <K, V> <K,V> @NonNull com.atlassian.cache.Cache <K, V> <K,V> @NonNull com.atlassian.cache.Cache <K, V> <K,V> @NonNull com.atlassian.cache.Cache <K, V> getCache(@NonNull String name, @Nullable com.atlassian.cache.CacheLoader<K, V> loader, @NonNull com.atlassian.cache.CacheSettings required) <K,V> @NonNull com.atlassian.cache.Cache <K, V> <V> @NonNull com.atlassian.cache.CachedReference<V> getCachedReference(@NonNull Class<?> owningClass, @NonNull String name, @NonNull com.atlassian.cache.Supplier<V> supplier) <V> @NonNull com.atlassian.cache.CachedReference<V> getCachedReference(@NonNull Class<?> owningClass, @NonNull String name, @NonNull com.atlassian.cache.Supplier<V> supplier, @NonNull com.atlassian.cache.CacheSettings required) <V> @NonNull com.atlassian.cache.CachedReference<V> getCachedReference(@NonNull String name, @NonNull com.atlassian.cache.Supplier<V> supplier) <V> @NonNull com.atlassian.cache.CachedReference<V> getCachedReference(@NonNull String name, @NonNull com.atlassian.cache.Supplier<V> supplier, @NonNull com.atlassian.cache.CacheSettings required) @NonNull Collection<com.atlassian.cache.Cache<?, ?>> protected abstract com.atlassian.cache.CacheManager@Nullable com.atlassian.cache.ManagedCachegetManagedCache(@NonNull String name) @NonNull Collection<com.atlassian.cache.ManagedCache> <K,V> com.atlassian.cache.ReadThroughCache <K, V> getReadThroughCache(@NonNull String name) <K,V> com.atlassian.cache.ReadThroughCache <K, V> getReadThroughCache(@NonNull String name, @NonNull com.atlassian.cache.CacheSettings required) voidshutdown()
- 
Constructor Details- 
DelegatingCacheManagerpublic DelegatingCacheManager()
 
- 
- 
Method Details- 
getDelegateprotected abstract com.atlassian.cache.CacheManager getDelegate()
- 
getCaches- Specified by:
- getCachesin interface- com.atlassian.cache.CacheManager
 
- 
getManagedCaches- Specified by:
- getManagedCachesin interface- com.atlassian.cache.CacheManager
 
- 
flushCachespublic void flushCaches()- Specified by:
- flushCachesin interface- com.atlassian.cache.CacheManager
 
- 
getManagedCache- Specified by:
- getManagedCachein interface- com.atlassian.cache.CacheManager
 
- 
shutdownpublic void shutdown()- Specified by:
- shutdownin interface- com.atlassian.cache.CacheManager
 
- 
getCachedReferencepublic <V> @NonNull com.atlassian.cache.CachedReference<V> getCachedReference(@NonNull String name, @NonNull com.atlassian.cache.Supplier<V> supplier) - Specified by:
- getCachedReferencein interface- com.atlassian.cache.CacheFactory
 
- 
getCachedReferencepublic <V> @NonNull com.atlassian.cache.CachedReference<V> getCachedReference(@NonNull String name, @NonNull com.atlassian.cache.Supplier<V> supplier, @NonNull com.atlassian.cache.CacheSettings required) - Specified by:
- getCachedReferencein interface- com.atlassian.cache.CacheFactory
 
- 
getCachedReferencepublic <V> @NonNull com.atlassian.cache.CachedReference<V> getCachedReference(@NonNull Class<?> owningClass, @NonNull String name, @NonNull com.atlassian.cache.Supplier<V> supplier) - Specified by:
- getCachedReferencein interface- com.atlassian.cache.CacheFactory
 
- 
getCachedReferencepublic <V> @NonNull com.atlassian.cache.CachedReference<V> getCachedReference(@NonNull Class<?> owningClass, @NonNull String name, @NonNull com.atlassian.cache.Supplier<V> supplier, @NonNull com.atlassian.cache.CacheSettings required) - Specified by:
- getCachedReferencein interface- com.atlassian.cache.CacheFactory
 
- 
getCache- Specified by:
- getCachein interface- com.atlassian.cache.CacheFactory
 
- 
getCachepublic <K,V> @NonNull com.atlassian.cache.Cache<K,V> getCache(@NonNull Class<?> owningClass, @NonNull String name) - Specified by:
- getCachein interface- com.atlassian.cache.CacheFactory
 
- 
getCachepublic <K,V> @NonNull com.atlassian.cache.Cache<K,V> getCache(@NonNull String name, @Nullable com.atlassian.cache.CacheLoader<K, V> loader) - Specified by:
- getCachein interface- com.atlassian.cache.CacheFactory
 
- 
getCachepublic <K,V> @NonNull com.atlassian.cache.Cache<K,V> getCache(@NonNull String name, @Nullable com.atlassian.cache.CacheLoader<K, V> loader, @NonNull com.atlassian.cache.CacheSettings required) - Specified by:
- getCachein interface- com.atlassian.cache.CacheFactory
 
- 
getReadThroughCache- Specified by:
- getReadThroughCachein interface- com.atlassian.cache.CacheFactory
 
- 
getReadThroughCachepublic <K,V> com.atlassian.cache.ReadThroughCache<K,V> getReadThroughCache(@NonNull String name, @NonNull com.atlassian.cache.CacheSettings required) - Specified by:
- getReadThroughCachein interface- com.atlassian.cache.CacheFactory
 
- 
getCachepublic <K,V> @NonNull com.atlassian.cache.Cache<K,V> getCache(@NonNull String name, @NonNull Class<K> keyType, @NonNull Class<V> valueType) - Specified by:
- getCachein interface- com.atlassian.cache.CacheFactory
 
 
-