PHP Class Qiniu\Zone

Show file Open project: qiniu/php-sdk Class Usage Examples

Public Properties

Property Type Description
$hostCache )
$ioHost
$scheme
$upHost 七牛源站Host
$upHostBackup

Public Methods

Method Description
__construct ( $scheme = null )
getBackupUpHostByToken ( $uptoken )
getBucketHosts ( $ak, $bucket )
getIoHost ( $ak, $bucket )
getUpHostByToken ( $uptoken )
getUpHosts ( $ak, $bucket )

Private Methods

Method Description
bucketHosts ( $ak, $bucket ) * 请求包: GET /v1/query?ak=&&bucket= 返回包:
getBucketHostsFromCache ( $key )
hostCacheFilePath ( )
hostCacheFromFile ( )
hostCacheToFile ( )
setBucketHostsToCache ( $key, $val )
unmarshalUpToken ( $uptoken )

Method Details

__construct() public method

public __construct ( $scheme = null )

getBackupUpHostByToken() public method

public getBackupUpHostByToken ( $uptoken )

getBucketHosts() public method

public getBucketHosts ( $ak, $bucket )

getIoHost() public method

public getIoHost ( $ak, $bucket )

getUpHostByToken() public method

public getUpHostByToken ( $uptoken )

getUpHosts() public method

public getUpHosts ( $ak, $bucket )

Property Details

$hostCache public property

)
public $hostCache

$ioHost public property

public $ioHost

$scheme public property

public $scheme

$upHost public property

七牛源站Host
public $upHost

$upHostBackup public property

public $upHostBackup