Package com.facebook.cache.common
Abstraction and classes related to cache management: cache key implementation, event listeners, debug utilities and others.
See: Description
-
Class Summary Class Description NoOpCacheErrorLogger An implementation of CacheErrorLogger that doesn't do anything. CacheKeyUtil BaseCacheEventListener No-op implementation of CacheEventListener so that listeners can extend and implement only the events they're interested in. WriterCallbacks Utility class to create typical WriterCallbacks. SimpleCacheKey CacheKey implementation that is a simple wrapper around a String object. NoOpCacheEventListener Implementation of CacheEventListener that doesn't do anything. MultiCacheKey A cache key that wraps multiple cache keys. DebuggingCacheKey Extension of SimpleCacheKey which adds the ability to hold a caller context. -
Enum Summary Enum Description CacheErrorCategory A categorizaton of different cache and storage related errors. EvictionReason -
Interface Summary Interface Description CacheErrorLogger An interface for logging various cache errors. CacheKey Strongly typed cache key to be used instead of Object. WriterCallback Callback that writes to an OutputStream. CacheEventListener An interface for logging various cache events. CacheEvent Interface to provide details of an individual cache event. HasDebugData