\Aliyun\OTSOTSClientConfig

OTSClientConfig 是用来封装OTS SDK端配置的类,OTSClient对象构造时会创建OTSClientConfig对象。 当你在构造OTSClient对象时传入的参数会用来构造OTSClientConfig对象。

Summary

Methods
Properties
Constants
__construct()
getEndPoint()
getAccessKeyID()
getAccessKeySecret()
getInstanceName()
$endPoint
$accessKeyID
$accessKeySecret
$instanceName
$connectionTimeout
$socketTimeout
$errorLogHandler
$debugLogHandler
$retryPolicy
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Properties

$endPoint

$endPoint : 

Type

$accessKeyID

$accessKeyID : 

Type

$accessKeySecret

$accessKeySecret : 

Type

$instanceName

$instanceName : 

Type

$connectionTimeout

$connectionTimeout : 

Type

$socketTimeout

$socketTimeout : 

Type

$errorLogHandler

$errorLogHandler : 

Error级别日志处理函数,默认处理函数为 defaultOTSErrorLogHandler,行为是打印到屏幕

Type

$debugLogHandler

$debugLogHandler : 

Debug级别日志处理函数,默认处理函数为 defaultOTSDebugLogHandler,行为是打印到屏幕

Type

$retryPolicy

$retryPolicy : \Aliyun\OTS\Retry\RetryPolicy

Type

\Aliyun\OTS\Retry\RetryPolicy — 重试策略,默认为 \Aliyun\OTS\Retry\DefaultRetryPolicy。

Methods

__construct()

__construct(array  $args) 

OTSClientConfig的构造函数。 它的参数从 OTSClient 的构造函数中传入。具体参数说明请见 OTSClient 的构造函数。

Parameters

array $args

getEndPoint()

getEndPoint() 

getAccessKeyID()

getAccessKeyID() 

getAccessKeySecret()

getAccessKeySecret() 

getInstanceName()

getInstanceName()