package cache
Type Members
-
class
Cache extends Closeable
Manages a cache.
Manages a cache. Implementation is thread-safe.
-
class
CacheDirectoryCreationException extends Exception
Thrown when a directory to be used as the
Cachecould not be created. -
class
CacheDirectoryNotOwnedException extends Exception
Thrown when trying to use a directory as
Cache, but the directory might be used by other applications. -
class
CacheMetadataCorruptedException extends Exception
Exception thrown when the cache metadata failed to load correctly, indicating that it is probably corrupted.
-
class
CacheMetadataTranslator extends AnyRef
Translates
CacheMetadatato and fromCacheMetadataTemplate. -
class
CacheReader extends AnyRef
Reads image content from the cache.
-
class
CacheWriter extends AnyRef
Writes
UnwrittenLayers to the cache. -
class
CachedLayer extends Layer
A
Layerthat has been written out to a cache and has its file-backed content BLOB, digest, size, and diff ID. -
class
CachedLayerWithMetadata extends CachedLayer
A
CachedLayerwith a last modified time. -
class
Caches extends Closeable
Manages both the base image layers cache and the application image layers cache.
Manages both the base image layers cache and the application image layers cache.
In general, the cache for base image layers should be shared between projects, while the cache for the application image layers should be specific to a single project.