RetryStatistics

public class RetryStatistics
extends Object

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


Estructura que contiene las estadísticas de una sesión de reintento de un IRemoteTest. Es posible que no se propaguen todos los campos según la RetryStrategy.

Resumen

Campos

public Map<Integer, Long> mAttemptIsolationCost

public long mRetryFailure

public long mRetrySuccess

public long mRetryTime

Constructores públicos

RetryStatistics()

Métodos públicos

static final RetryStatistics aggregateStatistics(List<RetryStatistics> stats)

Método auxiliar para agregar las estadísticas de varios reintentos.

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

Campos

mAttemptIsolationCost

public Map<Integer, Long> mAttemptIsolationCost

mRetryFailure

public long mRetryFailure

mRetrySuccess

public long mRetrySuccess

mRetryTime

public long mRetryTime

Constructores públicos

RetryStatistics

public RetryStatistics ()

Métodos públicos

aggregateStatistics

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

Método auxiliar para agregar las estadísticas de varios reintentos.

Parámetros
stats List

Devuelve
RetryStatistics

isolationCostPerAttempt

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

Parámetros
attempt int

stats List

Devuelve
long