\Aliyun\OTS\RetryDefaultRetryPolicy

默认重试策略 最大重试次数为3,最大重试间隔为2000毫秒,对流控类错误以及读操作相关的服务端内部错误进行了重试。

Summary

Methods
Properties
Constants
__construct()
maxRetryTimeReached()
canRetry()
getRetryDelay()
$maxRetryTimes
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Properties

$maxRetryTimes

$maxRetryTimes : 

Type

Methods

__construct()

__construct(\Aliyun\OTS\Retry\int  $maxRetryTimes = null, \Aliyun\OTS\Retry\int  $maxRetryDelay = null) 

Parameters

\Aliyun\OTS\Retry\int $maxRetryTimes
\Aliyun\OTS\Retry\int $maxRetryDelay

maxRetryTimeReached()

maxRetryTimeReached(\Aliyun\OTS\Handlers\RequestContext  $context) 

Parameters

\Aliyun\OTS\Handlers\RequestContext $context

canRetry()

canRetry(\Aliyun\OTS\Handlers\RequestContext  $context) 

Parameters

\Aliyun\OTS\Handlers\RequestContext $context

getRetryDelay()

getRetryDelay(\Aliyun\OTS\Handlers\RequestContext  $context) 

Parameters

\Aliyun\OTS\Handlers\RequestContext $context