हमारा सुझाव है कि 27 मार्च, 2025 से AOSP को बनाने और उसमें योगदान देने के लिए, aosp-main
के बजाय android-latest-release
का इस्तेमाल करें. ज़्यादा जानकारी के लिए, AOSP में हुए बदलाव लेख पढ़ें.
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
IClusterClient
public
interface
IClusterClient
com.android.tradefed.cluster.IClusterClient
|
ऐसे सबक्लास जिनके बारे में पहले से पता है
|
TFC बैकएंड के साथ इंटरैक्ट करने के लिए इंटरफ़ेस.
खास जानकारी
कॉन्स्टेंट |
String |
TYPE_NAME
कॉन्फ़िगरेशन ऑब्जेक्ट टाइप का यूनीक नाम.
|
सार्वजनिक तरीके |
abstract
IClusterEventUploader<ClusterCommandEvent>
|
getCommandEventUploader()
IClusterEventUploader पाएं, जिसका इस्तेमाल ClusterCommandEvent अपलोड करने के लिए किया जा सकता है.
|
abstract
ClusterCommand.State
|
getCommandState(String requestId, String commandId)
क्लस्टर कमांड की स्थिति तय करना.
|
default
ClusterCommandStatus
|
getCommandStatus(String requestId, String commandId)
क्लस्टर कमांड की स्थिति (स्थिति और रद्द होने की वजह) पाएं.
|
abstract
IClusterEventUploader<ClusterHostEvent>
|
getHostEventUploader()
IClusterEventUploader पाएं, जिसका इस्तेमाल ClusterHostEvent अपलोड करने के लिए किया जा सकता है.
|
abstract
TestContext
|
getTestContext(String requestId, String commandId)
|
abstract
TestEnvironment
|
getTestEnvironment(String requestId)
किसी अनुरोध के लिए TestEnvironment पाएं.
|
abstract
|
getTestResources(String requestId)
किसी अनुरोध के लिए TestResource पाएं.
|
abstract
|
leaseHostCommands(String clusterId, String hostname, devices, nextClusterIds, int maxTasksTolease)
दिए गए होस्ट के लिए ClusterCommand को लीज़ पर लें.
|
abstract
void
|
updateTestContext(String requestId, String commandId, TestContext testContext)
|
कॉन्स्टेंट
TYPE_NAME
public static final String TYPE_NAME
कॉन्फ़िगरेशन ऑब्जेक्ट टाइप का यूनीक नाम. इसका इस्तेमाल, 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) को अपडेट किया गया."],[],[]]