Tentar novamenteEstatísticas

public class RetryStatistics
extends Object

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


Estrutura que contém as estatísticas para uma sessão de nova tentativa de um IRemoteTest . Nem todos os campos podem ser preenchidos dependendo do RetryStrategy .

Resumo

Campos

public mAttemptIsolationCost

public long mRetryFailure

public long mRetrySuccess

public long mRetryTime

Construtores públicos

RetryStatistics ()

Métodos públicos

static final RetryStatistics aggregateStatistics ( stats) aggregateStatistics ( stats)

Método auxiliar para agregar as estatísticas de várias tentativas.

static long isolationCostPerAttempt (int attempt, stats) isolationCostPerAttempt (int attempt, stats)

Campos

mTentativaIsolamentoCusto

public  mAttemptIsolationCost

mRetryFailure

public long mRetryFailure

mRetrySuccess

public long mRetrySuccess

mRetryTime

public long mRetryTime

Construtores públicos

Tentar novamenteEstatísticas

public RetryStatistics ()

Métodos públicos

agregarEstatísticas

public static final RetryStatistics aggregateStatistics ( stats)

Método auxiliar para agregar as estatísticas de várias tentativas.

Parâmetros
stats

Devoluções
RetryStatistics

isolamentoCostPerAttempt

public static long isolationCostPerAttempt (int attempt, 
                 stats)

Parâmetros
attempt int

stats

Devoluções
long