ClusterOptions

public class ClusterOptions
extends Object implements IClusterOptions

java.lang.Object
   ↳ com.android.tradefed.cluster.ClusterOptions


摘要

欄位

public static final String TYPE_NAME

專屬的設定物件類型名稱。

public String mClusterId

public mNextClusterIds

public String mServiceUrl

公用建構函式

ClusterOptions()

公用方法

boolean checkCommandState()

在活動訊號期間是否應檢查指令狀態 (TF 叢集上)。

boolean checkPermitsOnLease()

請先查看一些可用的許可證,再租用服務。

String getClusterId()

取得這個 TF 執行個體的叢集 ID。

int getConnectTimeout()

取得 HTTP 連線逾時。

MultiMap<String, String> getDeviceGroup()

取得裝置群組與裝置的對應關係。

long getDeviceMonitorSnapshotInterval()

取得每個裝置快照的時間間隔 (以毫秒為單位)。

getDeviceTag()

取得裝置序列與代碼的對應。

long getInvocationHeartbeatInterval()

取得叫用活動訊號之間的時間間隔 (以毫秒為單位)。

String getLabName()

取得主機所屬的研究室名稱。

getLabels()

取得主機的標籤。

getNextClusterIds()

取得這個 TF 執行個體的次要叢集 ID。

int getReadTimeout()

取得 HTTP 讀取逾時。

String getRunTargetFormat()

取得為執行目標加上標籤的格式。

File getSchedulerServiceAccountKeyfile()

取得交易測試排程器服務帳戶金鑰檔案。

String getSchedulerServiceUrl()

取得交易測試排程器服務網址。

String getServiceUrl()

取得交易叢集 REST API 的基準網址。

boolean isDeviceMonitorDisabled()

傳回是否停用叢集裝置回報功能。

long maxDiskUsagePercentage()

停止租用其他新工作前的磁碟用量上限。

boolean shouldCollectEarlyTestSummary()

傳回排程器是否應收集初期測試摘要。

Boolean shouldUploadInvocationStatus()

傳回 TF 是否應上傳叫用狀態。

欄位

TYPE_NAME

public static final String TYPE_NAME

專屬的設定物件類型名稱。用於從 GlobalConfiguration

mClusterId

public String mClusterId

mNextClusterId

public  mNextClusterIds

mServiceUrl

public String mServiceUrl

公用建構函式

ClusterOptions

public ClusterOptions ()

公用方法

checkCommandState

public boolean checkCommandState ()

在活動訊號期間是否應檢查指令狀態 (TF 叢集上)。

傳回
boolean

checkPermitsOnLease

public boolean checkPermitsOnLease ()

請先查看一些可用的許可證,再租用服務。

傳回
boolean

getClusterId

public String getClusterId ()

取得這個 TF 執行個體的叢集 ID。

傳回
String

getConnectTimeout

public int getConnectTimeout ()

取得 HTTP 連線逾時。

傳回
int

getDeviceGroup

public MultiMap<String, String> getDeviceGroup ()

取得裝置群組與裝置的對應關係。

傳回
MultiMap<String, String>

getDeviceMonitorSnapshotInterval

public long getDeviceMonitorSnapshotInterval ()

取得每個裝置快照的時間間隔 (以毫秒為單位)。

傳回
long

getDeviceTag

public  getDeviceTag ()

取得裝置序列與代碼的對應。

傳回

getInvocationHeartbeatInterval

public long getInvocationHeartbeatInterval ()

取得叫用活動訊號之間的時間間隔 (以毫秒為單位)。

傳回
long

getLabName

public String getLabName ()

取得主機所屬的研究室名稱。

傳回
String

getLabels

public  getLabels ()

取得主機的標籤。

傳回

getNextClusterId

public  getNextClusterIds ()

取得這個 TF 執行個體的次要叢集 ID。

傳回

getReadTimeout

public int getReadTimeout ()

取得 HTTP 讀取逾時。

傳回
int

getRunTargetFormat

public String getRunTargetFormat ()

取得為執行目標加上標籤的格式。

傳回
String

getSchedulerServiceAccountKeyfile

public File getSchedulerServiceAccountKeyfile ()

取得交易測試排程器服務帳戶金鑰檔案。

傳回
File

getSchedulerServiceUrl

public String getSchedulerServiceUrl ()

取得交易測試排程器服務網址。

傳回
String

getServiceUrl

public String getServiceUrl ()

取得交易叢集 REST API 的基準網址。

傳回
String

isDeviceMonitor 已停用

public boolean isDeviceMonitorDisabled ()

傳回是否停用叢集裝置回報功能。

傳回
boolean

maxDisk 用量百分比

public long maxDiskUsagePercentage ()

停止租用其他新工作前的磁碟用量上限。

傳回
long

應收集早期測試摘要

public boolean shouldCollectEarlyTestSummary ()

傳回排程器是否應收集初期測試摘要。

傳回
boolean

shouldUploadInvocationStatus

public Boolean shouldUploadInvocationStatus ()

傳回 TF 是否應上傳叫用狀態。

傳回
Boolean