class CacheReader extends AnyRef
Reads image content from the cache.
- Alphabetic
- By Inheritance
- CacheReader
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
getLayer(layerDigest: DescriptorDigest): CachedLayer
- layerDigest
the layer digest of the layer to get.
- returns
the cached layer with digest
layerDigest, ornullif not found.
-
def
getLayerFile(layerEntries: ImmutableList[LayerEntry]): Path
Finds the file that stores the content BLOB for an application layer.
Finds the file that stores the content BLOB for an application layer.
- layerEntries
the entries for the layer content
- returns
the newest cached layer file that matches the
layerTypeandsourceFiles, ornullif there is no match.
- Exceptions thrown
CacheMetadataCorruptedExceptionif getting the cache metadata fails.
-
def
getUpToDateLayerByLayerEntries(layerEntries: ImmutableList[LayerEntry]): CachedLayerWithMetadata
Gets an up-to-date layer that is built from the
sourceFiles.Gets an up-to-date layer that is built from the
sourceFiles.The method returns the first up-to-date layer found. This is safe because the source files will not have been modified since creation of any up-to-date layer (ie. all up-to-date layers should have the same file contents).
- layerEntries
the layer's content entries
- returns
an up-to-date layer containing the source files.
- Exceptions thrown
CacheMetadataCorruptedExceptionif reading the cache metadata fails.IOExceptionif reading the source files fails.
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )