RetryStatistics

public class RetryStatistics
extends Object

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


Struktura zawierająca statystyki sesji ponownej próby wykonania jednego IRemoteTest. Nie wszystkie pola mogą być wypełnione w zależności od RetryStrategy.

Podsumowanie

Pola

public Map<Integer, Long> mAttemptIsolationCost

public long mRetryFailure

public long mRetrySuccess

public long mRetryTime

Konstruktory publiczne

RetryStatistics()

Metody publiczne

static final RetryStatistics aggregateStatistics(List<RetryStatistics> stats)

Metoda pomocnicza do agregowania statystyk kilku ponownych prób.

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

Pola

mAttemptIsolationCost

public Map<Integer, Long> mAttemptIsolationCost

mRetryFailure

public long mRetryFailure

mRetrySuccess

public long mRetrySuccess

mRetryTime

public long mRetryTime

Konstruktory publiczne

RetryStatistics

public RetryStatistics ()

Metody publiczne

aggregateStatistics

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

Metoda pomocnicza do agregowania statystyk kilku ponownych prób.

Parametry
stats List

Zwraca
RetryStatistics

isolationCostPerAttempt

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

Parametry
attempt int

stats List

Zwraca
long