@Internal public class ConfluenceHazelcastCacheManager extends Object implements com.atlassian.cache.CacheManager
It will wrap all caches in Monitoring Caches, and all Loaders in ConfluenceMonitoringLoaders.
| Constructor and Description |
|---|
ConfluenceHazelcastCacheManager(ConfluenceMonitoring confluenceMonitoring,
com.atlassian.confluence.cache.hazelcast.HazelcastCacheManagerFactory delegateFactory,
CacheOperationsWhitelistService operationsWhitelistService,
HibernateManagedRegionCacheLookup hibernateManagedRegionCacheLookup) |
| Modifier and Type | Method and Description |
|---|---|
void |
flushCaches() |
<K,V> com.atlassian.cache.Cache<K,V> |
getCache(Class<?> owningClass,
String name) |
<K,V> com.atlassian.cache.Cache<K,V> |
getCache(String name) |
<K,V> com.atlassian.cache.Cache<K,V> |
getCache(String name,
com.atlassian.cache.CacheLoader<K,V> loader) |
<K,V> com.atlassian.cache.Cache<K,V> |
getCache(String name,
com.atlassian.cache.CacheLoader<K,V> loader,
com.atlassian.cache.CacheSettings cacheSettings) |
<K,V> com.atlassian.cache.Cache<K,V> |
getCache(String name,
Class<K> keyType,
Class<V> valueType)
Deprecated.
since 7.2. Use
getCache(String) instead. |
<V> com.atlassian.cache.CachedReference<V> |
getCachedReference(Class<?> owningClass,
String name,
com.atlassian.cache.Supplier<V> supplier) |
<V> com.atlassian.cache.CachedReference<V> |
getCachedReference(Class<?> owningClass,
String name,
com.atlassian.cache.Supplier<V> supplier,
com.atlassian.cache.CacheSettings cacheSettings) |
<V> com.atlassian.cache.CachedReference<V> |
getCachedReference(String name,
com.atlassian.cache.Supplier<V> supplier) |
<V> com.atlassian.cache.CachedReference<V> |
getCachedReference(String name,
com.atlassian.cache.Supplier<V> supplier,
com.atlassian.cache.CacheSettings cacheSettings) |
Collection<com.atlassian.cache.Cache<?,?>> |
getCaches()
Deprecated.
since 7.2. Use
getManagedCaches() instead. |
com.atlassian.cache.ManagedCache |
getManagedCache(String name) |
Collection<com.atlassian.cache.ManagedCache> |
getManagedCaches() |
void |
shutdown() |
public ConfluenceHazelcastCacheManager(ConfluenceMonitoring confluenceMonitoring, com.atlassian.confluence.cache.hazelcast.HazelcastCacheManagerFactory delegateFactory, CacheOperationsWhitelistService operationsWhitelistService, HibernateManagedRegionCacheLookup hibernateManagedRegionCacheLookup)
@Deprecated public Collection<com.atlassian.cache.Cache<?,?>> getCaches()
getManagedCaches() instead.getCaches in interface com.atlassian.cache.CacheManagerpublic Collection<com.atlassian.cache.ManagedCache> getManagedCaches()
getManagedCaches in interface com.atlassian.cache.CacheManagerpublic void flushCaches()
flushCaches in interface com.atlassian.cache.CacheManagerpublic com.atlassian.cache.ManagedCache getManagedCache(String name)
getManagedCache in interface com.atlassian.cache.CacheManagerpublic void shutdown()
shutdown in interface com.atlassian.cache.CacheManagerpublic <V> com.atlassian.cache.CachedReference<V> getCachedReference(String name, com.atlassian.cache.Supplier<V> supplier)
getCachedReference in interface com.atlassian.cache.CacheFactorypublic <V> com.atlassian.cache.CachedReference<V> getCachedReference(String name, com.atlassian.cache.Supplier<V> supplier, com.atlassian.cache.CacheSettings cacheSettings)
getCachedReference in interface com.atlassian.cache.CacheFactorypublic <V> com.atlassian.cache.CachedReference<V> getCachedReference(Class<?> owningClass, String name, com.atlassian.cache.Supplier<V> supplier)
getCachedReference in interface com.atlassian.cache.CacheFactorypublic <V> com.atlassian.cache.CachedReference<V> getCachedReference(Class<?> owningClass, String name, com.atlassian.cache.Supplier<V> supplier, com.atlassian.cache.CacheSettings cacheSettings)
getCachedReference in interface com.atlassian.cache.CacheFactorypublic <K,V> com.atlassian.cache.Cache<K,V> getCache(String name)
getCache in interface com.atlassian.cache.CacheFactorypublic <K,V> com.atlassian.cache.Cache<K,V> getCache(Class<?> owningClass, String name)
getCache in interface com.atlassian.cache.CacheFactorypublic <K,V> com.atlassian.cache.Cache<K,V> getCache(String name, com.atlassian.cache.CacheLoader<K,V> loader)
getCache in interface com.atlassian.cache.CacheFactorypublic <K,V> com.atlassian.cache.Cache<K,V> getCache(String name, com.atlassian.cache.CacheLoader<K,V> loader, com.atlassian.cache.CacheSettings cacheSettings)
getCache in interface com.atlassian.cache.CacheFactory@Deprecated public <K,V> com.atlassian.cache.Cache<K,V> getCache(String name, Class<K> keyType, Class<V> valueType)
getCache(String) instead.getCache in interface com.atlassian.cache.CacheFactoryCopyright © 2003–2022 Atlassian. All rights reserved.