Aliyun_Log_Models_Shard

The class used to present the shard detail, for every shard ,it contains id , status , begin Range, end range, createtime

author

log service dev

package

LOG_PHP_SDK

Methods

Aliyun_Log_Models_Shhard constructor

__construct(integer $shardId, string $status, string $inclusiveBeginKey, string $exclusiveEndKey,  $createTime) 
para

integer @createTime the shard create time

Arguments

$shardId

integer

the shard id

$status

string

the shard status

$inclusiveBeginKey

string

the shard inclusive begin key

$exclusiveEndKey

string

the shard exclusive end key

$createTime

Get the shard create time

getCreateTime() : integer

Response

integer

createTime

Get the shard exclusive begin key

getExclusiveBeginKey() : string

Response

string

exclusive begin key

Get the shard inclusive begin key

getInclusiveBeginKey() : string

Response

string

inclusive begin key

Get the shardId

getShardId() : integer

Response

integer

the shard id

Get the shard status

getStatus() : string

Response

string

the shard status

Properties

the shard id

shardId : \interger
var

the shard id

Type(s)

\interger

shard status (readwrite or readonly)

status : string
var

shard status (readwrite or readonly)

Type(s)

string

shard inclusive begin key

inclusiveBeginKey : string
var

shard inclusive begin key

Type(s)

string

shard exclusive begin key

exclusiveEndKey : string
var

shard exclusive begin key

Type(s)

string

shard create time

createTime : integer
var

shard create time

Type(s)

integer