RetryStatistics

public class RetryStatistics
extends Object

java.lang.Object
com.android.tradefed.retry.RetryStatistics


1 つの IRemoteTest の再試行セッションの統計情報を保持する構造。すべてのフィールド は、RetryStrategyによっては入力されない場合があります。

概要

フィールド

public Map<Integer, Long> mAttemptIsolationCost

public long mRetryFailure

public long mRetrySuccess

public long mRetryTime

パブリック コンストラクタ

RetryStatistics()

パブリック メソッド

static final RetryStatistics aggregateStatistics(List<RetryStatistics> stats)

複数の再試行の統計情報を集計するヘルパー メソッド。

static long isolationCostPerAttempt(int attempt, List<RetryStatistics> stats)

フィールド

mAttemptIsolationCost

public Map<Integer, Long> mAttemptIsolationCost

mRetryFailure

public long mRetryFailure

mRetrySuccess

public long mRetrySuccess

mRetryTime

public long mRetryTime

パブリック コンストラクタ

RetryStatistics

public RetryStatistics ()

パブリック メソッド

aggregateStatistics

public static final RetryStatistics aggregateStatistics (List<RetryStatistics> stats)

複数の再試行の統計情報を集計するヘルパー メソッド。

パラメータ
stats List

戻り値
RetryStatistics

isolationCostPerAttempt

public static long isolationCostPerAttempt (int attempt, 
                List<RetryStatistics> stats)

パラメータ
attempt int

stats List

戻り値
long