Effective in 2026, to align with our trunk stable development model and ensure platform stability for the ecosystem, we will publish source code to AOSP in Q2 and Q4. For building and contributing to AOSP, use android-latest-release. The android-latest-release manifest branch will always reference the most recent release pushed to AOSP. For more information, see Changes to AOSP.
Stay organized with collections
Save and categorize content based on your preferences.
RemoteCacheClient
public
class
RemoteCacheClient
extends Object
implements
ICacheClient
| java.lang.Object
|
| ↳ |
com.android.tradefed.cache.remote.RemoteCacheClient
|
A RemoteActionCache implementation that uses gRPC calls to a remote API server.
Summary
Fields
REMOTE_TIMEOUT
public static final Duration REMOTE_TIMEOUT
Public constructors
RemoteCacheClient
public RemoteCacheClient (File workFolder,
String instanceName,
ManagedChannel channel,
CallCredentials callCredentials,
ByteStreamDownloader downloader,
ByteStreamUploader uploader)
| Parameters |
workFolder |
File |
instanceName |
String |
channel |
ManagedChannel |
callCredentials |
CallCredentials |
downloader |
ByteStreamDownloader |
uploader |
ByteStreamUploader |
Public methods
uploadCache
public void uploadCache (ExecutableAction action,
ExecutableActionResult actionResult)
Uploads the results for the ExecutableAction.
If the result of the action doesn't exist, the actionResult will be
stored. Otherwise, the result will be updated.
| Parameters |
action |
ExecutableAction: The action that generated the results. |
actionResult |
ExecutableActionResult: The action result to associate with the action. |
| Throws |
IOException |
|
InterruptedException |
|
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2026-06-22 UTC.
[null,null,["Last updated 2026-06-22 UTC."],[],[]]