Package com.mwdle.bitwarden
Class CacheManager
java.lang.Object
com.mwdle.bitwarden.CacheManager
A singleton that manages the lifecycle, background loading, and caching of Bitwarden item metadata.
-
Method Summary
Modifier and TypeMethodDescriptionstatic CacheManagervoidInvalidates the cache.voidTriggers a non-destructive, asynchronous refresh of the cache.
-
Method Details
-
getInstance
- Returns:
- the singleton instance of this manager
-
refreshCache
public void refreshCache()Triggers a non-destructive, asynchronous refresh of the cache. -
invalidateCache
public void invalidateCache()Invalidates the cache. -
getMetadata
- Returns:
- the cached list of metadata, or an empty list if retrieval fails
-