DiskActionCacheStore

sbt.util.DiskActionCacheStore
class DiskActionCacheStore(base: Path, converter: FileConverter) extends AbstractActionCacheStore

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def afterFileWrite(ref: HashedVirtualFileRef, path: Path, outputDirectory: Path): Unit

Emulate virtual side effects.

Emulate virtual side effects.

Attributes

override def findBlobs(refs: Seq[HashedVirtualFileRef]): Seq[HashedVirtualFileRef]

Find if blobs are present in the storage.

Find if blobs are present in the storage.

Attributes

Definition Classes
override def get(request: GetActionResultRequest): Either[Throwable, ActionResult]

Get the value for the key from the cache store. inlineContentPaths - paths whose contents would be inlined.

Get the value for the key from the cache store. inlineContentPaths - paths whose contents would be inlined.

Attributes

Definition Classes
override def put(request: UpdateActionResultRequest): Either[Throwable, ActionResult]

Put a value and blobs to the cache store for later retrieval, based on the actionDigest.

Put a value and blobs to the cache store for later retrieval, based on the actionDigest.

Attributes

Definition Classes
def putBlob(blob: Path, digest: Digest): Path
def putBlob(input: InputStream, digest: Digest): Path
def putBlob(input: ByteBuffer, digest: Digest): Path
override def putBlobs(blobs: Seq[VirtualFile]): Seq[HashedVirtualFileRef]

Put VirtualFile blobs to the cache store for later retrieval.

Put VirtualFile blobs to the cache store for later retrieval.

Attributes

Definition Classes
override def storeName: String

A named used to identify the cache store.

A named used to identify the cache store.

Attributes

Definition Classes
override def syncBlobs(refs: Seq[HashedVirtualFileRef], outputDirectory: Path): Seq[Path]

Materialize blobs to the output directory.

Materialize blobs to the output directory.

Attributes

Definition Classes
def syncFile(ref: HashedVirtualFileRef, casFile: Path, outputDirectory: Path): Path
def toCasFile(digest: Digest): Path

Inherited methods

def notFound: Throwable

Attributes

Inherited from:
AbstractActionCacheStore
def putBlobsIfNeeded(blobs: Seq[VirtualFile]): Seq[HashedVirtualFileRef]

Attributes

Inherited from:
AbstractActionCacheStore

Concrete fields

lazy val acBase: Path
lazy val casBase: Path