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 |
__construct(integer $shardId, string $status, string $inclusiveBeginKey, string $exclusiveEndKey, $createTime)
| para |
integer @createTime the shard create time |
|---|---|
integerthe shard id
stringthe shard status
stringthe shard inclusive begin key
stringthe shard exclusive end key
getCreateTime() : integer
integercreateTime
getExclusiveBeginKey() : string
stringexclusive begin key
getInclusiveBeginKey() : string
stringinclusive begin key
getShardId() : integer
integerthe shard id
getStatus() : string
stringthe shard status
shardId : \interger
| var |
the shard id |
|---|
\interger
status : string
| var |
shard status (readwrite or readonly) |
|---|
string
inclusiveBeginKey : string
| var |
shard inclusive begin key |
|---|
string
exclusiveEndKey : string
| var |
shard exclusive begin key |
|---|
string
createTime : integer
| var |
shard create time |
|---|
integer