RetryStatistics

public class RetryStatistics
extends Object

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


Structure holding the statistics for a retry session of one IRemoteTest. Not all fields might be populated depending of the RetryStrategy.

Summary

Fields

public mAttemptIsolationCost

public long mRetryFailure

public long mRetrySuccess

public long mRetryTime

Public constructors

RetryStatistics()

Public methods

static final RetryStatistics aggregateStatistics( stats)

Helper method to aggregate the statistics of several retries.

static long isolationCostPerAttempt(int attempt, stats)

Fields

mAttemptIsolationCost

public  mAttemptIsolationCost

mRetryFailure

public long mRetryFailure

mRetrySuccess

public long mRetrySuccess

mRetryTime

public long mRetryTime

Public constructors

RetryStatistics

public RetryStatistics ()

Public methods

aggregateStatistics

public static final RetryStatistics aggregateStatistics ( stats)

Helper method to aggregate the statistics of several retries.

Parameters
stats

Returns
RetryStatistics

isolationCostPerAttempt

public static long isolationCostPerAttempt (int attempt, 
                 stats)

Parameters
attempt int

stats

Returns
long