IClusterOptions
public
interface
IClusterOptions
com.android.tradefed.cluster.IClusterOptions |
用於取得叢集相關選項的介面。
摘要
公用方法 | |
---|---|
abstract
boolean
|
checkCommandState()
是否應在心跳期間檢查指令狀態 (在 TF 叢集中)。 |
abstract
boolean
|
checkPermitsOnLease()
租用前請先查看可用的許可證。 |
abstract
String
|
getClusterId()
取得這個 TF 執行個體的叢集 ID。 |
abstract
int
|
getConnectTimeout()
取得 HTTP 連線逾時時間。 |
abstract
MultiMap<String, String>
|
getDeviceGroup()
取得裝置群組至裝置對應項目。 |
abstract
long
|
getDeviceMonitorSnapshotInterval()
以毫秒為單位,取得每個裝置快照之間的時間間隔。 |
abstract
|
getDeviceTag()
取得裝置序號與標記的對應項目。 |
abstract
long
|
getInvocationHeartbeatInterval()
以毫秒為單位,取得呼叫心跳之間的時間間隔。 |
abstract
String
|
getLabName()
取得主機所屬實驗室的名稱。 |
abstract
|
getLabels()
取得主機的標籤。 |
abstract
|
getNextClusterIds()
取得這個 TF 執行個體的次要叢集 ID。 |
abstract
int
|
getReadTimeout()
取得 HTTP 讀取逾時。 |
abstract
String
|
getRunTargetFormat()
取得用於標示執行目標的格式。 |
abstract
File
|
getSchedulerServiceAccountKeyfile()
取得 Tradefed 測試排程器服務帳戶金鑰檔案。 |
abstract
String
|
getSchedulerServiceUrl()
取得 Tradefed 測試排程工具服務網址。 |
abstract
String
|
getServiceUrl()
取得 tradefed 叢集 REST API 的基本網址。 |
abstract
boolean
|
isDeviceMonitorDisabled()
傳回叢集裝置回報功能是否已停用。 |
abstract
long
|
maxDiskUsagePercentage()
停止租用其他新任務前的磁碟使用率上限百分比。 |
abstract
boolean
|
shouldCollectEarlyTestSummary()
傳回排程器是否應收集早期測試摘要。 |
abstract
Boolean
|
shouldUploadInvocationStatus()
傳回 TF 是否應上傳叫用狀態。 |
公用方法
checkCommandState
public abstract boolean checkCommandState ()
是否應在心跳期間檢查指令狀態 (在 TF 叢集中)。
傳回 | |
---|---|
boolean |
checkPermitsOnLease
public abstract boolean checkPermitsOnLease ()
租用前請先查看可用的許可證。
傳回 | |
---|---|
boolean |
getClusterId
public abstract String getClusterId ()
取得這個 TF 執行個體的叢集 ID。
傳回 | |
---|---|
String |
getConnectTimeout
public abstract int getConnectTimeout ()
取得 HTTP 連線逾時時間。
傳回 | |
---|---|
int |
getDeviceGroup
public abstract MultiMap<String, String> getDeviceGroup ()
取得裝置群組至裝置對應項目。
傳回 | |
---|---|
MultiMap<String, String> |
getDeviceMonitorSnapshotInterval
public abstract long getDeviceMonitorSnapshotInterval ()
以毫秒為單位,取得每個裝置快照之間的時間間隔。
傳回 | |
---|---|
long |
getDeviceTag
public abstractgetDeviceTag ()
取得裝置序號與標記的對應關係。
傳回 | |
---|---|
|
getInvocationHeartbeatInterval
public abstract long getInvocationHeartbeatInterval ()
以毫秒為單位,取得兩次叫用心跳間隔的時間間隔。
傳回 | |
---|---|
long |
getLabName
public abstract String getLabName ()
取得主機所屬實驗室的名稱。
傳回 | |
---|---|
String |
getLabels
public abstractgetLabels ()
取得主機的標籤。
傳回 | |
---|---|
|
getNextClusterIds
public abstractgetNextClusterIds ()
取得這個 TF 執行個體的次要叢集 ID。
傳回 | |
---|---|
|
getReadTimeout
public abstract int getReadTimeout ()
取得 HTTP 讀取逾時時間。
傳回 | |
---|---|
int |
getRunTargetFormat
public abstract String getRunTargetFormat ()
取得標示執行目標的格式。
傳回 | |
---|---|
String |
getSchedulerServiceAccountKeyfile
public abstract File getSchedulerServiceAccountKeyfile ()
取得 Tradefed 測試排程器服務帳戶金鑰檔案。
傳回 | |
---|---|
File |
getSchedulerServiceUrl
public abstract String getSchedulerServiceUrl ()
取得 tradefed 測試排程工具服務網址。
傳回 | |
---|---|
String |
getServiceUrl
public abstract String getServiceUrl ()
取得 tradefed 叢集 REST API 的基本網址。
傳回 | |
---|---|
String |
isDeviceMonitorDisabled
public abstract boolean isDeviceMonitorDisabled ()
傳回叢集裝置回報功能是否已停用。
傳回 | |
---|---|
boolean |
maxDiskUsagePercentage
public abstract long maxDiskUsagePercentage ()
停止租用額外新工作之前的磁碟使用率上限百分比。
傳回 | |
---|---|
long |
shouldCollectEarlyTestSummary
public abstract boolean shouldCollectEarlyTestSummary ()
傳回排程器應否收集早期測試摘要。
傳回 | |
---|---|
boolean |
shouldUploadInvocationStatus
public abstract Boolean shouldUploadInvocationStatus ()
傳回 TF 是否應上傳叫用狀態。
傳回 | |
---|---|
Boolean |