RetryStatistics

public class RetryStatistics
extends Object

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


Struktur, die die Statistiken für eine Wiederholungssitzung eines IRemoteTest enthält. Je nach RetryStrategy werden möglicherweise nicht alle Felder ausgefüllt.

Zusammenfassung

Felder

public mAttemptIsolationCost

public long mRetryFailure

public long mRetrySuccess

public long mRetryTime

Öffentliche Konstrukteure

RetryStatistics ()

Öffentliche Methoden

static final RetryStatistics aggregateStatistics ( stats) aggregateStatistics ( stats)

Hilfsmethode zum Aggregieren der Statistiken mehrerer Wiederholungen.

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

Felder

MVersuchIsolationKosten

public  mAttemptIsolationCost

mRetryFailure

public long mRetryFailure

mRetrySuccess

public long mRetrySuccess

mRetryTime

public long mRetryTime

Öffentliche Konstrukteure

RetryStatistics

public RetryStatistics ()

Öffentliche Methoden

aggregatStatistics

public static final RetryStatistics aggregateStatistics ( stats)

Hilfsmethode zum Aggregieren der Statistiken mehrerer Wiederholungen.

Parameter
stats

Kehrt zurück
RetryStatistics

isolationCostPerAttempt

public static long isolationCostPerAttempt (int attempt, 
                 stats)

Parameter
attempt int

stats

Kehrt zurück
long