2026년부터 트렁크 안정 개발 모델과 일치하고 생태계의 플랫폼 안정성을 보장하기 위해 2분기와 4분기에 AOSP에 소스 코드를 게시합니다. AOSP를 빌드하고 기여하려면 android-latest-release를 사용하세요. android-latest-release 매니페스트 브랜치는 항상 AOSP에 푸시된 최신 버전을 참조합니다. 자세한 내용은 AOSP 변경사항을 참고하세요.
Google은 AI 기술을 사용하여 콘텐츠를 사용자의 기본 언어로 번역합니다. AI 번역에는 오류가 있을 수 있습니다.
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
IClusterClient
public
interface
IClusterClient
| com.android.tradefed.cluster.IClusterClient
|
TFC 백엔드와 상호작용하기 위한 인터페이스입니다.
요약
상수
TYPE_NAME
public static final String TYPE_NAME
고유한 구성 객체 유형 이름입니다. GlobalConfiguration에서 싱글톤 인스턴스를 가져오는 데 사용됩니다.
상수 값:
'cluster_client'
공개 메서드
getCommandState
public abstract ClusterCommand.State getCommandState (String requestId,
String commandId)
클러스터 명령의 상태를 확인합니다.
| 매개변수 |
requestId |
String: 클러스터 요청 ID |
commandId |
String: 클러스터 명령 ID |
getCommandStatus
public ClusterCommandStatus getCommandStatus (String requestId,
String commandId)
클러스터 명령의 명령 상태를 가져옵니다 (취소된 경우 상태 및 취소 이유).
| 매개변수 |
requestId |
String: 클러스터 요청 ID |
commandId |
String: 클러스터 명령 ID |
getTestContext
public abstract TestContext getTestContext (String requestId,
String commandId)
| 매개변수 |
requestId |
String |
commandId |
String |
| 생성 값 |
IOException |
|
JSONException |
|
getTestEnvironment
public abstract TestEnvironment getTestEnvironment (String requestId)
요청의 TestEnvironment을 가져옵니다.
| 생성 값 |
|
java.io.IOException |
|
org.json.JSONException |
IOException |
|
JSONException |
|
getTestResources
public abstract List<TestResource> getTestResources (String requestId)
요청의 TestResource 가져오기
| 생성 값 |
|
java.io.IOException |
|
org.json.JSONException |
IOException |
|
JSONException |
|
leaseHostCommands
public abstract List<ClusterCommand> leaseHostCommands (String clusterId,
String hostname,
List<ClusterDeviceInfo> devices,
List<String> nextClusterIds,
int maxTasksTolease)
지정된 호스트에 대해 ClusterCommand를 임대합니다.
| 매개변수 |
clusterId |
String: 호스트의 클러스터 ID |
hostname |
String: 호스트 이름 |
devices |
List: 호스트가 보유한 deviceInfos |
nextClusterIds |
List: 명령어를 임대할 다음 클러스터 ID 목록입니다. |
maxTasksTolease |
int: 현재 임대할 수 있는 최대 작업 수 |
| 생성 값 |
|
org.json.JSONException |
JSONException |
|
updateTestContext
public abstract void updateTestContext (String requestId,
String commandId,
TestContext testContext)
| 매개변수 |
requestId |
String |
commandId |
String |
testContext |
TestContext |
| 생성 값 |
IOException |
|
JSONException |
|
이 페이지에 나와 있는 콘텐츠와 코드 샘플에는 콘텐츠 라이선스에서 설명하는 라이선스가 적용됩니다. 자바 및 OpenJDK는 Oracle 및 Oracle 계열사의 상표 또는 등록 상표입니다.
최종 업데이트: 2026-06-22(UTC)
[[["이해하기 쉬움","easyToUnderstand","thumb-up"],["문제가 해결됨","solvedMyProblem","thumb-up"],["기타","otherUp","thumb-up"]],[["필요한 정보가 없음","missingTheInformationINeed","thumb-down"],["너무 복잡함/단계 수가 너무 많음","tooComplicatedTooManySteps","thumb-down"],["오래됨","outOfDate","thumb-down"],["번역 문제","translationIssue","thumb-down"],["샘플/코드 문제","samplesCodeIssue","thumb-down"],["기타","otherDown","thumb-down"]],["최종 업데이트: 2026-06-22(UTC)"],[],[]]