RetryStatistics

public class RetryStatistics
extends Object

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


Struktur mit den Statistiken für eine Wiederholungssitzung eines IRemoteTest. Je nach RetryStrategy sind möglicherweise nicht alle Felder ausgefüllt.

Zusammenfassung

Felder

public Map<Integer, Long> mAttemptIsolationCost

public long mRetryFailure

public long mRetrySuccess

public long mRetryTime

Öffentliche Konstruktoren

RetryStatistics()

Öffentliche Methoden

static final RetryStatistics aggregateStatistics(List<RetryStatistics> stats)

Hilfsmethode zum Aggregieren der Statistiken mehrerer Wiederholungen.

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

Felder

mAttemptIsolationCost

public Map<Integer, Long> mAttemptIsolationCost

mRetryFailure

public long mRetryFailure

mRetrySuccess

public long mRetrySuccess

mRetryTime

public long mRetryTime

Öffentliche Konstruktoren

RetryStatistics

public RetryStatistics ()

Öffentliche Methoden

aggregateStatistics

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

Hilfsmethode zum Aggregieren der Statistiken mehrerer Wiederholungen.

Parameter
stats List

Gibt zurück
RetryStatistics

isolationCostPerAttempt

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

Parameter
attempt int

stats List

Gibt zurück
long