| Interface | Description |
|---|---|
| Cache |
An interface for cache.
|
| Cache.Listener |
Listener of
Cache events. |
| CacheDataSource.EventListener |
Listener of
CacheDataSource events. |
| CacheEvictor |
Evicts data from a
Cache. |
| ContentMetadata |
Interface for an immutable snapshot of keyed metadata.
|
| Class | Description |
|---|---|
| CacheDataSink |
Writes data into a cache.
|
| CacheDataSinkFactory |
A
DataSink.Factory that produces CacheDataSink. |
| CacheDataSource |
A
DataSource that reads and writes a Cache. |
| CacheDataSourceFactory |
A
DataSource.Factory that produces CacheDataSource. |
| CachedRegionTracker |
Utility class for efficiently tracking regions of data that are stored in a
Cache
for a given cache key. |
| CacheSpan |
Defines a span of data that may or may not be cached (as indicated by
CacheSpan.isCached). |
| CacheUtil |
Caching related utility methods.
|
| CacheUtil.CachingCounters |
Counters used during caching.
|
| ContentMetadataMutations |
Defines multiple mutations on metadata value which are applied atomically.
|
| DefaultContentMetadata |
Default implementation of
ContentMetadata. |
| LeastRecentlyUsedCacheEvictor |
Evicts least recently used cache files first.
|
| NoOpCacheEvictor |
Evictor that doesn't ever evict cache files.
|
| SimpleCache |
A
Cache implementation that maintains an in-memory representation. |
| Exception | Description |
|---|---|
| Cache.CacheException |
Thrown when an error is encountered when writing data.
|
| CacheDataSink.CacheDataSinkException |
Thrown when IOException is encountered when writing data into sink.
|
| Annotation Type | Description |
|---|---|
| CacheDataSource.CacheIgnoredReason |
Reasons the cache may be ignored.
|
| CacheDataSource.Flags |
Flags controlling the cache's behavior.
|