จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
IClusterClient
public
interface
IClusterClient
com.android.tradefed.cluster.IClusterClient
|
อินเทอร์เฟซสำหรับการโต้ตอบกับแบ็กเอนด์ TFC
สรุป
ค่าคงที่ |
String |
TYPE_NAME
ชื่อประเภทออบเจ็กต์การกําหนดค่าที่ไม่ซ้ำกัน
|
ค่าคงที่
TYPE_NAME
public static final String TYPE_NAME
ชื่อประเภทออบเจ็กต์การกําหนดค่าที่ไม่ซ้ำกัน ใช้ดึงข้อมูลอินสแตนซ์แบบ Singleton จาก GlobalConfiguration
ค่าคงที่:
"cluster_client"
เมธอดสาธารณะ
getCommandState
public abstract ClusterCommand.State getCommandState (String requestId,
String commandId)
ระบุสถานะของคําสั่งคลัสเตอร์
พารามิเตอร์ |
requestId |
String : รหัสคําขอคลัสเตอร์ |
commandId |
String : รหัสคําสั่งคลัสเตอร์ |
getCommandStatus
public ClusterCommandStatus getCommandStatus (String requestId,
String commandId)
รับสถานะคําสั่งของคําสั่งคลัสเตอร์ (สถานะและเหตุผลในการยกเลิกหากยกเลิก)
พารามิเตอร์ |
requestId |
String : รหัสคําขอคลัสเตอร์ |
commandId |
String : รหัสคําสั่งคลัสเตอร์ |
getTestContext
public abstract TestContext getTestContext (String requestId,
String commandId)
พารามิเตอร์ |
requestId |
String |
commandId |
String |
getTestEnvironment
public abstract TestEnvironment getTestEnvironment (String requestId)
รับ TestEnvironment
สำหรับคำขอ
โยน |
|
IOException |
|
org.json.JSONException |
JSONException |
|
getTestResources
public abstract getTestResources (String requestId)
รับ TestResource
สำหรับคำขอ
โยน |
|
IOException |
|
org.json.JSONException |
JSONException |
|
leaseHostCommands
public abstract leaseHostCommands (String clusterId,
String hostname,
devices,
nextClusterIds,
int maxTasksTolease)
เช่า ClusterCommand
สำหรับโฮสต์ที่ระบุ
พารามิเตอร์ |
clusterId |
String : รหัสคลัสเตอร์ของผู้จัดการประชุม |
hostname |
String : ชื่อโฮสต์ |
devices |
: deviceInfos ที่โฮสต์มี |
nextClusterIds |
: รายการรหัสคลัสเตอร์ถัดไปที่จะเช่าคําสั่ง |
maxTasksTolease |
int : จํานวนงานสูงสุดที่เช่าได้ในปัจจุบัน |
โยน |
|
org.json.JSONException |
JSONException |
|
updateTestContext
public abstract void updateTestContext (String requestId,
String commandId,
TestContext testContext)
พารามิเตอร์ |
requestId |
String |
commandId |
String |
testContext |
TestContext |
ตัวอย่างเนื้อหาและโค้ดในหน้าเว็บนี้ขึ้นอยู่กับใบอนุญาตที่อธิบายไว้ในใบอนุญาตการใช้เนื้อหา Java และ OpenJDK เป็นเครื่องหมายการค้าหรือเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2024-12-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"]],["อัปเดตล่าสุด 2024-12-22 UTC"],[],[]]