# 重试统计

`public class RetryStatistics`
`extends Object```` ```

## 概括

### 领域

`public` `mAttemptIsolationCost`

`public long` `mRetryFailure`

`public long` `mRetrySuccess`

`public long` `mRetryTime`

### 公共构造函数

`RetryStatistics ()`

### 公共方法

`static final RetryStatistics` `aggregateStatistics ( stats)` `aggregateStatistics ( stats)`

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

## 领域

### m尝试隔离成本

`public  mAttemptIsolationCost`

### m重试失败

`public long mRetryFailure`

### m重试成功

`public long mRetrySuccess`

### m重试时间

`public long mRetryTime`

## 公共构造函数

### 重试统计

`public RetryStatistics ()`

## 公共方法

### 聚合统计

`public static final RetryStatistics aggregateStatistics ( stats)`

`stats`

`RetryStatistics`

### 每次尝试隔离成本

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

`attempt` `int`

`stats`

`long`

[{ "type": "thumb-down", "id": "missingTheInformationINeed", "label":"没有我需要的信息" },{ "type": "thumb-down", "id": "tooComplicatedTooManySteps", "label":"太复杂/步骤太多" },{ "type": "thumb-down", "id": "outOfDate", "label":"内容需要更新" },{ "type": "thumb-down", "id": "translationIssue", "label":"翻译问题" },{ "type": "thumb-down", "id": "samplesCodeIssue", "label":"示例/代码问题" },{ "type": "thumb-down", "id": "otherDown", "label":"其他" }]
[{ "type": "thumb-up", "id": "easyToUnderstand", "label":"易于理解" },{ "type": "thumb-up", "id": "solvedMyProblem", "label":"解决了我的问题" },{ "type": "thumb-up", "id": "otherUp", "label":"其他" }]