ByteStreamDownloader
public
class
ByteStreamDownloader
extends Object
Objeto java.lang.
|
↳ |
com.android.tradefed.cache.remote.ByteStreamDownloader
|
Un cliente que implementa el método Read
del servicio de gRPC de ByteStream
.
Resumen
Constructores públicos |
ByteStreamDownloader(String instanceName, Channel channel, CallCredentials callCredentials, Duration callTimeout)
|
Métodos públicos |
ListenableFuture<Void>
|
downloadBlob(Digest digest, OutputStream out)
Descarga un BLOB del servicio remoto ByteStream .
|
Constructores públicos
ByteStreamDownloader
public ByteStreamDownloader (String instanceName,
Channel channel,
CallCredentials callCredentials,
Duration callTimeout)
Parámetros |
instanceName |
String |
channel |
Channel |
callCredentials |
CallCredentials |
callTimeout |
Duration |
Métodos públicos
downloadBlob
public ListenableFuture<Void> downloadBlob (Digest digest,
OutputStream out)
Descarga un BLOB del servicio remoto ByteStream
.
Parámetros |
digest |
Digest : Es el resumen del BLOB que se descargará. |
out |
OutputStream : Es el ERROR(/OutputStream) en el que se descarga el BLOB. |
Muestra |
ListenableFuture<Void> |
|