# Functions

ClearRules clears all the rules in isolation module.
No description provided by the author
GetRules returns all the rules based on copy.
GetRulesOfResource returns specific resource's rules based on copy.
IsValidRule checks whether the given Rule is valid.
LoadRules loads the given retry rules to the rule manager, while all previous rules will be replaced.
LoadRulesOfResource loads the given resource's isolation rules to the rule manager, while all previous resource's rules will be replaced.

# Constants

AlwaysRetryPolicy 一直重试,直到成功.
只要不为空,则匹配.
CompositeRetryPolicy 组合重试策略,按照一定的组合顺序进行重试.
包含匹配.
CustomPolicyRtyPolicy 用户自定义重试策略.
ErrorClassifierRetryPolicy 自定义错误分类器的重试策略.
精确匹配.
ExponentialBackOffPolicy 指数退避策略回退,每次回退会在上一次基础上乘N倍.
ExponentialRandomBackOffPolicy 使用随机倍率的回退.
FixedBackOffPolicy 休眠规定时长的回退策略.
MaxAttemptsRetryPolicy 设置最大重试次数的重试策略,耗尽后则不再重试.
NeverRetryPolicy 仅仅第一次重试,之后不允许重试,默认策略,.
NoBackOffPolicy 不回退,立即重试.
前缀匹配.
正则匹配.
SimpleRetryPolicy 简单重试策略,失败后直接重试,没有休眠等.
后缀匹配.
TimeoutRtyPolicy 超时重试策略, 只有在没有超时的情况下才进行重试,超时后则退出重试.
UniformRandomBackoffPolicy 均匀随机回退.

# Structs

Item 规则子项,针对具体参数.
Rule 重试规则.

# Type aliases

BackoffPolicyType 退避策略.
ErrorMatcherType 异常匹配模式.
RetryPolicyType 重试策略.