@Internal public class HibernateClusterAwareCacheManager extends Object implements com.atlassian.cache.CacheManager, org.springframework.beans.factory.InitializingBean
CacheManager. Due to how query caching works in Hibernate,
  query caches *must* always be flushed whenever timestamp caches are flushed.
 This class publishes a cluster event to flush query caches on *each* node when timestamp caches are flushed via CacheManager| Modifier and Type | Method and Description | 
|---|---|
| void | afterPropertiesSet() | 
| 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 required) | 
| <K,V> com.atlassian.cache.Cache<K,V> | getCache(String name,
        Class<K> keyType,
        Class<V> valueType) | 
| <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 required) | 
| <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 required) | 
| Collection<com.atlassian.cache.Cache<?,?>> | getCaches() | 
| com.atlassian.cache.ManagedCache | getManagedCache(String name) | 
| Collection<com.atlassian.cache.ManagedCache> | getManagedCaches() | 
| void | onClusterCacheFlush(ClusterEventWrapper wrapper)Timestamp cache region has been flushed, time to flush all local query caches. | 
| void | shutdown() | 
public void afterPropertiesSet()
                        throws Exception
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanException@EventListener public void onClusterCacheFlush(ClusterEventWrapper wrapper)
@Nonnull public Collection<com.atlassian.cache.Cache<?,?>> getCaches()
getCaches in interface com.atlassian.cache.CacheManager@Nonnull public Collection<com.atlassian.cache.ManagedCache> getManagedCaches()
getManagedCaches in interface com.atlassian.cache.CacheManagerpublic void flushCaches()
flushCaches in interface com.atlassian.cache.CacheManager@Nullable public com.atlassian.cache.ManagedCache getManagedCache(@Nonnull String name)
getManagedCache in interface com.atlassian.cache.CacheManagerpublic void shutdown()
shutdown in interface com.atlassian.cache.CacheManager@Nonnull public <V> com.atlassian.cache.CachedReference<V> getCachedReference(@Nonnull String name, @Nonnull com.atlassian.cache.Supplier<V> supplier)
getCachedReference in interface com.atlassian.cache.CacheFactory@Nonnull public <V> com.atlassian.cache.CachedReference<V> getCachedReference(@Nonnull String name, @Nonnull com.atlassian.cache.Supplier<V> supplier, @Nonnull com.atlassian.cache.CacheSettings required)
getCachedReference in interface com.atlassian.cache.CacheFactory@Nonnull public <V> com.atlassian.cache.CachedReference<V> getCachedReference(@Nonnull Class<?> owningClass, @Nonnull String name, @Nonnull com.atlassian.cache.Supplier<V> supplier)
getCachedReference in interface com.atlassian.cache.CacheFactory@Nonnull public <V> 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)
getCachedReference in interface com.atlassian.cache.CacheFactory@Nonnull public <K,V> com.atlassian.cache.Cache<K,V> getCache(@Nonnull String name)
getCache in interface com.atlassian.cache.CacheFactory@Nonnull public <K,V> com.atlassian.cache.Cache<K,V> getCache(@Nonnull Class<?> owningClass, @Nonnull String name)
getCache in interface com.atlassian.cache.CacheFactory@Nonnull public <K,V> com.atlassian.cache.Cache<K,V> getCache(@Nonnull String name, @Nullable com.atlassian.cache.CacheLoader<K,V> loader)
getCache in interface com.atlassian.cache.CacheFactory@Nonnull public <K,V> com.atlassian.cache.Cache<K,V> getCache(@Nonnull String name, @Nullable com.atlassian.cache.CacheLoader<K,V> loader, @Nonnull com.atlassian.cache.CacheSettings required)
getCache in interface com.atlassian.cache.CacheFactoryCopyright © 2003–2019 Atlassian. All rights reserved.