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
Map<String, String>
|
getDeviceTag()
デバイスのシリアルとタグのマッピングを取得します。 |
abstract
long
|
getInvocationHeartbeatInterval()
呼び出しハートビート間の時間間隔をミリ秒単位で取得します。 |
abstract
String
|
getLabName()
ホストが属するラボの名前を取得します。 |
abstract
List<String>
|
getLabels()
ホストのラベルを取得します。 |
abstract
List<String>
|
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 |
|
getDeviceGroup
public abstract MultiMap<String, String> getDeviceGroup ()
デバイス グループとデバイスのマッピングを取得します。
| 戻り値 | |
|---|---|
MultiMap<String, String> |
|
getDeviceMonitorSnapshotInterval
public abstract long getDeviceMonitorSnapshotInterval ()
各デバイス スナップショット間の時間間隔をミリ秒単位で取得します。
| 戻り値 | |
|---|---|
long |
|
getDeviceTag
public abstract Map<String, String> getDeviceTag ()
デバイスのシリアル番号とタグのマッピングを取得します。
| 戻り値 | |
|---|---|
Map<String, String> |
|
getInvocationHeartbeatInterval
public abstract long getInvocationHeartbeatInterval ()
呼び出しハートビート間の時間間隔をミリ秒単位で取得します。
| 戻り値 | |
|---|---|
long |
|
getLabName
public abstract String getLabName ()
ホストが属するラボの名前を取得します。
| 戻り値 | |
|---|---|
String |
|
getLabels
public abstract List<String> getLabels ()
ホストのラベルを取得します。
| 戻り値 | |
|---|---|
List<String> |
|
getNextClusterIds
public abstract List<String> getNextClusterIds ()
この TF インスタンスのセカンダリ クラスタ ID を取得します。
| 戻り値 | |
|---|---|
List<String> |
|
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 |
|
getServiceUrl
public abstract String getServiceUrl ()
Tradefed クラスタ REST API のベース URL を取得します。
| 戻り値 | |
|---|---|
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 |
|