Downloader ByteStream
public
class
ByteStreamDownloader
extends Object
java.lang.Object
|
↳ |
com.android.tradefed.cache.remote.ByteStreamDownloader
|
Klien yang menerapkan metode Read
layanan gRPC ByteStream
.
Ringkasan
Konstruktor publik |
ByteStreamDownloader(String instanceName, Channel channel, CallCredentials callCredentials, Duration callTimeout)
|
Metode publik |
ListenableFuture<Void>
|
downloadBlob(Digest digest, OutputStream out)
Mendownload BLOB melalui layanan ByteStream jarak jauh.
|
Konstruktor publik
Downloader ByteStream
public ByteStreamDownloader (String instanceName,
Channel channel,
CallCredentials callCredentials,
Duration callTimeout)
Parameter |
instanceName |
String |
channel |
Channel |
callCredentials |
CallCredentials |
callTimeout |
Duration |
Metode publik
downloadBlob
public ListenableFuture<Void> downloadBlob (Digest digest,
OutputStream out)
Mendownload BLOB melalui layanan ByteStream
jarak jauh.
Parameter |
digest |
Digest : ringkasan BLOB yang akan didownload. |
out |
OutputStream : ERROR(/OutputStream) tempat BLOB didownload. |
Hasil |
ListenableFuture<Void> |
|