集群选项

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

获取 tradefed 测试计划程序服务帐户密钥文件。

String getSchedulerServiceUrl ()

获取 tradefed 测试计划程序服务 URL。

String getServiceUrl ()

获取 tradefed 集群 REST API 的基本 URL。

boolean isDeviceMonitorDisabled ()

返回是否禁用集群设备报告。

long maxDiskUsagePercentage ()

在我们停止租用额外的新任务之前的最大磁盘使用百分比。

boolean shouldCollectEarlyTestSummary ()

返回调度程序是否应收集早期测试摘要。

Boolean shouldUploadInvocationStatus ()

返回 TF 是否应该上传调用状态。

领域

TYPE_NAME

public static final String TYPE_NAME

唯一的配置对象类型名称。用于从GlobalConfiguration检索单例实例。

mClusterId

public String mClusterId

mNextClusterIds

public  mNextClusterIds

mServiceUrl

public String mServiceUrl

公共构造函数

集群选项

public ClusterOptions ()

公共方法

检查命令状态

public boolean checkCommandState ()

是否应在心跳期间检查命令状态(在 TF 集群上)。

退货
boolean

checkPermitsOnLease

public boolean checkPermitsOnLease ()

租赁前检查一些可用的许可证。

退货
boolean

获取ClusterId

public String getClusterId ()

获取此 TF 实例的集群 ID。

退货
String

获取连接超时

public int getConnectTimeout ()

获取 http 连接超时。

退货
int

获取设备组

public MultiMap<String, String> getDeviceGroup ()

获取设备组到设备的映射。

退货
MultiMap <String, String>

getDeviceMonitorSnapshotInterval

public long getDeviceMonitorSnapshotInterval ()

获取每个设备快照之间的时间间隔(以毫秒为单位)。

退货
long

获取设备标签

public  getDeviceTag ()

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

退货

getInvocationHeartbeatInterval

public long getInvocationHeartbeatInterval ()

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

退货
long

获取实验室名称

public String getLabName ()

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

退货
String

获取标签

public  getLabels ()

获取主机标签。

退货

getNextClusterIds

public  getNextClusterIds ()

获取此 TF 实例的辅助集群 ID。

退货

getReadTimeout

public int getReadTimeout ()

获取 http 读取超时。

退货
int

getRunTargetFormat

public String getRunTargetFormat ()

获取标记运行目标的格式。

退货
String

getSchedulerServiceAccountKey文件

public File getSchedulerServiceAccountKeyfile ()

获取 tradefed 测试计划程序服务帐户密钥文件。

退货
File

getSchedulerServiceUrl

public String getSchedulerServiceUrl ()

获取 tradefed 测试计划程序服务 URL。

退货
String

获取服务地址

public String getServiceUrl ()

获取 tradefed 集群 REST API 的基本 url。

退货
String

isDeviceMonitorDisabled

public boolean isDeviceMonitorDisabled ()

返回是否禁用集群设备报告。

退货
boolean

最大磁盘使用百分比

public long maxDiskUsagePercentage ()

在我们停止租用额外的新任务之前的最大磁盘使用百分比。

退货
long

shouldCollectEarlyTestSummary

public boolean shouldCollectEarlyTestSummary ()

返回调度程序是否应收集早期测试摘要。

退货
boolean

应该上传调用状态

public Boolean shouldUploadInvocationStatus ()

返回 TF 是否应该上传调用状态。

退货
Boolean