IClusterオプション

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 が呼び出しステータスをアップロードする必要があるかどうかを返します。

パブリックメソッド

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

getデバイスグループ

public abstract MultiMap<String, String> getDeviceGroup ()

デバイス グループとデバイスのマッピングを取得します。

戻り値
MultiMap <String, String>

getDeviceMonitorSnapshotInterval

public abstract long getDeviceMonitorSnapshotInterval ()

各デバイスのスナップショット間の時間間隔をミリ秒単位で取得します。

戻り値
long

デバイスタグの取得

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 テスト スケジューラ サービスの URL を取得します。

戻り値
String

getサービスURL

public abstract String getServiceUrl ()

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

戻り値
String

デバイスモニターが無効です

public abstract boolean isDeviceMonitorDisabled ()

クラスターデバイスレポートが無効かどうかを返します。

戻り値
boolean

maxDiskUsagePercentage

public abstract long maxDiskUsagePercentage ()

追加の新しいタスクのリースを停止するまでの最大ディスク使用率。

戻り値
long

shouldCollectEarlyTestサマリー

public abstract boolean shouldCollectEarlyTestSummary ()

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

戻り値
boolean

shouldUploadInvocationStatus

public abstract Boolean shouldUploadInvocationStatus ()

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

戻り値
Boolean