RetryStatistics

public class RetryStatistics
extends Object

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


Cấu trúc lưu giữ số liệu thống kê cho một phiên thử lại của một IRemoteTest. Không phải trường nào cũng có thể được điền sẵn, tuỳ thuộc vào RetryStrategy.

Tóm tắt

Trường

public mAttemptIsolationCost

public long mRetryFailure

public long mRetrySuccess

public long mRetryTime

Hàm khởi tạo công khai

RetryStatistics()

Phương thức công khai

static final RetryStatistics aggregateStatistics( stats)

Phương thức trợ giúp để tổng hợp số liệu thống kê của một số lần thử lại.

static long isolationCostPerAttempt(int attempt, stats)

Trường

mAttemptIsolationCost

public  mAttemptIsolationCost

mRetryFailure

public long mRetryFailure

mRetrySuccess

public long mRetrySuccess

mRetryTime

public long mRetryTime

Hàm khởi tạo công khai

RetryStatistics

public RetryStatistics ()

Phương thức công khai

aggregateStatistics

public static final RetryStatistics aggregateStatistics ( stats)

Phương thức trợ giúp để tổng hợp số liệu thống kê của một số lần thử lại.

Tham số
stats

Giá trị trả về
RetryStatistics

isolationCostPerAttempt

public static long isolationCostPerAttempt (int attempt, 
                 stats)

Tham số
attempt int

stats

Trả về
long