RetryStatistics

public class RetryStatistics
extends Object

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


하나의 IRemoteTest 재시도 세션의 통계를 보유하는 구조체입니다. RetryStrategy에 따라 일부 필드가 채워지지 않을 수 있습니다.

요약

필드

public Map<Integer, Long> mAttemptIsolationCost

public long mRetryFailure

public long mRetrySuccess

public long mRetryTime

공개 생성자

RetryStatistics()

공개 메서드

static final RetryStatistics aggregateStatistics(List<RetryStatistics> stats)

여러 재시도의 통계를 집계하는 도우미 메서드입니다.

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

필드

mAttemptIsolationCost

public Map<Integer, Long> mAttemptIsolationCost

mRetryFailure

public long mRetryFailure

mRetrySuccess

public long mRetrySuccess

mRetryTime

public long mRetryTime

공개 생성자

RetryStatistics

public RetryStatistics ()

공개 메서드

aggregateStatistics

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

여러 재시도의 통계를 집계하는 도우미 메서드입니다.

매개변수
stats List

반환
RetryStatistics

isolationCostPerAttempt

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

매개변수
attempt int

stats List

반환 값
long