public interface ContentAddressedStorageClient
Modifier and Type | Interface and Description |
---|---|
static interface |
ContentAddressedStorageClient.FileMaterializer
Interface for filesystem operations required for materialization.
|
Modifier and Type | Method and Description |
---|---|
com.google.common.util.concurrent.ListenableFuture<Unit> |
addMissing(Collection<UploadDataSupplier> data) |
boolean |
containsDigest(Protocol.Digest digest) |
com.google.common.util.concurrent.ListenableFuture<ByteBuffer> |
fetch(Protocol.Digest digest) |
com.google.common.util.concurrent.ListenableFuture<Unit> |
materializeOutputs(List<Protocol.OutputDirectory> outputDirectories,
List<Protocol.OutputFile> outputFiles,
ContentAddressedStorageClient.FileMaterializer materializer)
Materializes the outputFiles and outputDirectories into root.
|
com.google.common.util.concurrent.ListenableFuture<Unit> addMissing(Collection<UploadDataSupplier> data) throws IOException
IOException
com.google.common.util.concurrent.ListenableFuture<Unit> materializeOutputs(List<Protocol.OutputDirectory> outputDirectories, List<Protocol.OutputFile> outputFiles, ContentAddressedStorageClient.FileMaterializer materializer) throws IOException
IOException
boolean containsDigest(Protocol.Digest digest)
com.google.common.util.concurrent.ListenableFuture<ByteBuffer> fetch(Protocol.Digest digest)