叢集選項

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 測試排程器服務 URL。

abstract String getServiceUrl ()

取得 tradefed 叢集 REST API 的基本 url。

abstract boolean isDeviceMonitorDisabled ()

返回集群設備報告是否已停用。

abstract long maxDiskUsagePercentage ()

我們停止租用額外的新任務之前的最大磁碟使用百分比。

abstract boolean shouldCollectEarlyTestSummary ()

返回調度程序是否應收集早期測試摘要。

abstract Boolean shouldUploadInvocationStatus ()

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

公共方法

檢查命令狀態

public abstract boolean checkCommandState ()

是否應在心跳期間檢查命令狀態(在 TF 集群上)。

退貨
boolean

檢查租賃許可

public abstract boolean checkPermitsOnLease ()

租賃前檢查一些可用的許可證。

退貨
boolean

取得叢集ID

public abstract String getClusterId ()

取得此 TF 實例的群集 ID。

退貨
String

取得連線逾時

public abstract int getConnectTimeout ()

取得http連線逾時。

退貨
int

取得設備組

public abstract MultiMap<String, String> getDeviceGroup ()

取得設備組到設備的對應。

退貨
MultiMap <String, String>

取得設備監控快照間隔

public abstract long getDeviceMonitorSnapshotInterval ()

取得每個設備快照之間的時間間隔(以毫秒為單位)。

退貨
long

取得設備標籤

public abstract  getDeviceTag ()

取得設備序列到標籤的對應。

退貨

取得呼叫心跳間隔

public abstract long getInvocationHeartbeatInterval ()

取得呼叫心跳之間的時間間隔(以毫秒為單位)。

退貨
long

取得實驗室名稱

public abstract String getLabName ()

取得主機所屬實驗室的名稱。

退貨
String

取得標籤

public abstract  getLabels ()

取得主機的標籤。

退貨

取得下一個集群 ID

public abstract  getNextClusterIds ()

取得此 TF 實例的輔助集群 ID。

退貨

取得讀取逾時

public abstract int getReadTimeout ()

取得http讀取超時​​。

退貨
int

取得運行目標格式

public abstract String getRunTargetFormat ()

取得標記運行目標的格式。

退貨
String

取得SchedulerServiceAccountKey文件

public abstract File getSchedulerServiceAccountKeyfile ()

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

退貨
File

取得排程服務 URL

public abstract String getSchedulerServiceUrl ()

取得 tradefed 測試排程器服務 URL。

退貨
String

取得服務地址

public abstract String getServiceUrl ()

取得 tradefed 叢集 REST API 的基本 url。

退貨
String

isDeviceMonitorDisabled

public abstract boolean isDeviceMonitorDisabled ()

返回集群設備報告是否已停用。

退貨
boolean

最大磁碟使用百分比

public abstract long maxDiskUsagePercentage ()

我們停止租用額外的新任務之前的最大磁碟使用百分比。

退貨
long

應收集早期測試總結

public abstract boolean shouldCollectEarlyTestSummary ()

返回調度程序是否應收集早期測試摘要。

退貨
boolean

應該上傳呼叫狀態

public abstract Boolean shouldUploadInvocationStatus ()

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

退貨
Boolean