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. Abhängig von der RetryStrategy werden möglicherweise nicht alle Felder ausgefüllt.

Zusammenfassung

Felder

public mAttemptIsolationCost

public long mRetryFailure

public long mRetrySuccess

public long mRetryTime

Öffentliche Bauträger

RetryStatistics ()

Öffentliche Methoden

static final RetryStatistics aggregateStatistics ( stats) aggregateStatistics ( stats)

Hilfsmethode zum Zusammenfassen der Statistiken mehrerer Wiederholungsversuche.

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

Felder

mAttemptIsolationCost

public  mAttemptIsolationCost

mRetryFailure

public long mRetryFailure

mRetrySuccess

public long mRetrySuccess

mRetryTime

public long mRetryTime

Öffentliche Bauträger

RetryStatistics

public RetryStatistics ()

Öffentliche Methoden

aggregatStatistics

public static final RetryStatistics aggregateStatistics ( stats)

Hilfsmethode zum Zusammenfassen der Statistiken mehrerer Wiederholungsversuche.

Parameter
stats

Kehrt zurück
RetryStatistics

IsolationCostPerAttempt

public static long isolationCostPerAttempt (int attempt, 
                 stats)

Parameter
attempt int

stats

Kehrt zurück
long