IClusterOptions
public interface IClusterOptions
com.android.tradefed.cluster.IClusterOptions |
獲取集群相關選項的界面。
概括
公共方法 | |
---|---|
abstract boolean | checkCommandState () 是否應在心跳期間檢查命令狀態(在 TF 集群上)。 |
abstract boolean | checkFlashingPermitsOnLease () 檢查它是否應該在租賃前檢查可用的閃爍許可證。 |
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 |
checkFlashingPermitsOnLease
public abstract boolean checkFlashingPermitsOnLease ()
檢查它是否應該在租賃前檢查可用的閃爍許可證。
退貨 | |
---|---|
boolean |
checkPermitsOnLease
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> |
getDeviceMonitorSnapshotInterval
public abstract long getDeviceMonitorSnapshotInterval ()
以毫秒為單位獲取每個設備快照之間的時間間隔。
退貨 | |
---|---|
long |
獲取設備標籤
public abstractgetDeviceTag ()
獲取設備序列到標籤映射。
退貨 | |
---|---|
獲取調用心跳間隔
public abstract long getInvocationHeartbeatInterval ()
以毫秒為單位獲取調用心跳之間的時間間隔。
退貨 | |
---|---|
long |
獲取實驗室名稱
public abstract String getLabName ()
獲取主機所屬實驗室的名稱。
退貨 | |
---|---|
String |
獲取標籤
public abstractgetLabels ()
獲取主機的標籤。
退貨 | |
---|---|
獲取下一個集群 ID
public abstractgetNextClusterIds ()
獲取此 TF 實例的輔助集群 ID。
退貨 | |
---|---|
獲取讀取超時
public abstract int getReadTimeout ()
獲取 http 讀取超時。
退貨 | |
---|---|
int |
獲取運行目標格式
public abstract String getRunTargetFormat ()
獲取標記運行目標的格式。
退貨 | |
---|---|
String |
getSchedulerServiceAccountKeyfile
public abstract File getSchedulerServiceAccountKeyfile ()
獲取 tradefed 測試調度程序服務帳戶密鑰文件。
退貨 | |
---|---|
File |
getSchedulerServiceUrl
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 |
shouldCollectEarlyTestSummary
public abstract boolean shouldCollectEarlyTestSummary ()
返回調度程序是否應收集早期測試摘要。
退貨 | |
---|---|
boolean |
shouldUploadInvocationStatus
public abstract Boolean shouldUploadInvocationStatus ()
返回 TF 是否應上傳調用狀態。
退貨 | |
---|---|
Boolean |