ClusterOptions

public class ClusterOptions
extends Object implements IClusterOptions

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


概要

定数

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 からシングルトン インスタンスを取得するために使用されます。

定数値: "cluster_options"

フィールド

mClusterId

public String mClusterId

mNextClusterIds

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

ホストのラベルを取得します。

戻り値

getNextClusterIds

public  getNextClusterIds ()

この TF インスタンスのセカンダリ クラスタ ID を取得します。

戻り値

getReadTimeout

public int getReadTimeout ()

HTTP 読み取りタイムアウトを取得します。

戻り値
int

getRunTargetFormat

public String getRunTargetFormat ()

実行ターゲットのラベル付けの形式を取得します。

戻り値
String

getSchedulerServiceAccountKeyfile

public File getSchedulerServiceAccountKeyfile ()

Tradefed テスト スケジューラ サービス アカウントのキーファイルを取得します。

戻り値
File

getSchedulerServiceUrl

public String getSchedulerServiceUrl ()

tradefed テスト スケジューラ サービスの URL を取得します。

戻り値
String

getServiceUrl

public String getServiceUrl ()

Tradefed クラスタ REST API のベース URL を取得します。

戻り値
String

isDeviceMonitorDisabled

public boolean isDeviceMonitorDisabled ()

クラスタ デバイスのレポートが無効になっているかどうかを返します。

戻り値
boolean

maxDiskUsagePercentage

public long maxDiskUsagePercentage ()

新しいタスクのリースを停止する前のディスク使用率の最大値。

戻り値
long

shouldCollectEarlyTestSummary

public boolean shouldCollectEarlyTestSummary ()

スケジューラが早期テストの概要を収集するかどうかを返します。

戻り値
boolean

shouldUploadInvocationStatus

public Boolean shouldUploadInvocationStatus ()

TF が呼び出しステータスをアップロードするかどうかを返します。

戻り値
Boolean