Package org.alfresco.util.cache
Interface AsynchronouslyRefreshedCache<T>
- All Superinterfaces:
RefreshableCache<T>
- All Known Implementing Classes:
AbstractAsynchronouslyRefreshedCache
-
Method Summary
Modifier and TypeMethodDescriptionGet the cache idboolean
isUpToDate
(String key) Determine if the cache is up to dateMethods inherited from interface org.alfresco.util.cache.RefreshableCache
get, refresh, register
-
Method Details
-
getCacheId
String getCacheId()Get the cache id- Returns:
- the cache ID
-
isUpToDate
Determine if the cache is up to date- Parameters:
key
- tennant id- Returns:
- true if the cache is not currently refreshing itself
-