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 abstract  getDeviceTag ()

获取设备序列号与标签的映射。

返回

getInvocationHeartbeatInterval

public abstract long getInvocationHeartbeatInterval ()

获取调用心跳之间的时间间隔(以毫秒为单位)。

返回
long

getLabName

public abstract String getLabName ()

获取主机所属实验的名称。

返回
String

getLabels

public abstract  getLabels ()

获取主机的标签。

返回

getNextClusterIds

public abstract  getNextClusterIds ()

获取此 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