|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
@Internal public interface CacheManager
| 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. |
ManagedCache |
getManagedCache(String name)
Returns the managed cache for the specified name. |
Collection<ManagedCache> |
getManagedCaches()
Gets the collection of caches managed. |
void |
shutdown()
Shuts down and clean all data of the current instance and its all caches. |
| Methods inherited from interface com.atlassian.cache.CacheFactory |
|---|
getCache, getCache, getCache, getCache, getCache, getCachedReference, getCachedReference, getCachedReference, getCachedReference |
| Method Detail |
|---|
@Deprecated @Nonnull Collection<Cache<?,?>> getCaches()
getManagedCaches() instead.
Caches. The returned collection will only include caches created via
the getCache(...) methods. Caches created via the getCachedReference(...)
methods are not included.@Nonnull Collection<ManagedCache> getManagedCaches()
getCache(...) and
getCachedReference(...) methods.
ManagedCaches.void flushCaches()
CacheSettings.getFlushable()
@Nullable
ManagedCache getManagedCache(@Nonnull
String name)
name - the name of the managed cache to retrieve
ManagedCache specified by name
or null if no cache exists.void shutdown()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||