साल 2026 से, हम दूसरी और चौथी तिमाही में AOSP के लिए सोर्स कोड पब्लिश करेंगे. ऐसा इसलिए किया जाएगा, ताकि हम अपने ट्रंक स्टेबल डेवलपमेंट मॉडल के साथ काम कर सकें और यह पक्का कर सकें कि प्लैटफ़ॉर्म, पूरे सिस्टम के लिए स्थिर बना रहे. AOSP बनाने और उसमें योगदान देने के लिए, android-latest-release का इस्तेमाल करें. android-latest-release मेनिफ़ेस्ट ब्रांच, हमेशा AOSP पर पुश की गई सबसे नई रिलीज़ का रेफ़रंस देगी. ज़्यादा जानकारी के लिए, AOSP में हुए बदलाव देखें.
Google uses AI technology to translate content into your preferred language. AI translations can contain errors.
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
IClusterClient
public
interface
IClusterClient
| com.android.tradefed.cluster.IClusterClient
|
इस क्लास से सीधे इनहेरिट न करने वाली ज्ञात सबक्लास
|
यह टीएफ़सी बैकएंड के साथ इंटरैक्ट करने के लिए एक इंटरफ़ेस है.
खास जानकारी
कॉन्स्टेंट |
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
List<TestResource>
|
getTestResources(String requestId)
अनुरोध के लिए TestResource पाएं.
|
abstract
List<ClusterCommand>
|
leaseHostCommands(String clusterId, String hostname, List<ClusterDeviceInfo> devices, List<String> 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 |
| थ्रो |
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: होस्ट के लिए क्लस्टर आईडी |
hostname |
String: होस्टनेम |
devices |
List: डिवाइस की वे जानकारी जो होस्ट के पास है |
nextClusterIds |
List: अगले क्लस्टर आईडी की सूची, जिनसे कमांड ली जा सकती हैं. |
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 |
|
इस पेज पर मौजूद कॉन्टेंट और कोड सैंपल कॉन्टेंट के लाइसेंस में बताए गए लाइसेंस के हिसाब से हैं. Java और OpenJDK, 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) को अपडेट किया गया."],[],[]]