public interface AsyncBlobFetcher
Modifier and Type | Method and Description |
---|---|
com.google.common.util.concurrent.ListenableFuture<Unit> |
batchFetchBlobs(com.google.common.collect.ImmutableMultimap<Protocol.Digest,Callable<WritableByteChannel>> requests,
com.google.common.collect.ImmutableMultimap<Protocol.Digest,com.google.common.util.concurrent.SettableFuture<Unit>> futures) |
com.google.common.util.concurrent.ListenableFuture<ByteBuffer> |
fetch(Protocol.Digest digest) |
com.google.common.util.concurrent.ListenableFuture<Unit> |
fetchToStream(Protocol.Digest digest,
WritableByteChannel channel) |
com.google.common.util.concurrent.ListenableFuture<ByteBuffer> fetch(Protocol.Digest digest)
com.google.common.util.concurrent.ListenableFuture<Unit> fetchToStream(Protocol.Digest digest, WritableByteChannel channel)
com.google.common.util.concurrent.ListenableFuture<Unit> batchFetchBlobs(com.google.common.collect.ImmutableMultimap<Protocol.Digest,Callable<WritableByteChannel>> requests, com.google.common.collect.ImmutableMultimap<Protocol.Digest,com.google.common.util.concurrent.SettableFuture<Unit>> futures) throws IOException
IOException