public class OutputsMaterializer extends Object
Modifier and Type | Class and Description |
---|---|
static class |
OutputsMaterializer.FilesystemFileMaterializer
Simple default file materializer that actually materializes things on the filesystem.
|
static class |
OutputsMaterializer.PendingMaterialization
Container class for pending materialization requests
|
Constructor and Description |
---|
OutputsMaterializer(int sizeLimit,
ExecutorService materializerService,
AsyncBlobFetcher fetcher,
Protocol protocol,
BuckEventBus buckEventBus) |
Modifier and Type | Method and Description |
---|---|
com.google.common.util.concurrent.ListenableFuture<Unit> |
materialize(Collection<Protocol.OutputDirectory> outputDirectories,
Collection<Protocol.OutputFile> outputFiles,
ContentAddressedStorageClient.FileMaterializer materializer)
Materialize the outputs of an action into a directory.
|
public OutputsMaterializer(int sizeLimit, ExecutorService materializerService, AsyncBlobFetcher fetcher, Protocol protocol, BuckEventBus buckEventBus)
public com.google.common.util.concurrent.ListenableFuture<Unit> materialize(Collection<Protocol.OutputDirectory> outputDirectories, Collection<Protocol.OutputFile> outputFiles, ContentAddressedStorageClient.FileMaterializer materializer) throws IOException
IOException