com.atlassian.cache
Interface CacheManager

All Superinterfaces:
CacheFactory

@Internal
public interface CacheManager
extends CacheFactory


Method Summary
 void flushCaches()
          Flush the contents of all flushable caches registered with the cache manager.
 Collection<Cache<?,?>> getCaches()
          Deprecated. Since 2.0. Use getManagedCaches() instead.
 Collection<ManagedCache> getManagedCaches()
          Gets the collection of caches managed.
 
Methods inherited from interface com.atlassian.cache.CacheFactory
getCache, getCache, getCache, getCache, getCache, getCachedReference, getCachedReference, getCachedReference, getCachedReference
 

Method Detail

getCaches

@Deprecated
Collection<Cache<?,?>> getCaches()
Deprecated. Since 2.0. Use getManagedCaches() instead.

Gets the collection of caches managed. This collection is not a "live" collection. It is a copy.

Returns:
a collection of Caches.

getManagedCaches

Collection<ManagedCache> getManagedCaches()
Gets the collection of caches managed. This collection is not a "live" collection. It is a copy.

Returns:
a collection of ManagedCaches.

flushCaches

void flushCaches()
Flush the contents of all flushable caches registered with the cache manager.

See Also:
CacheSettings.getFlushable()


Copyright © 2014 Atlassian. All Rights Reserved.