The class used to present the result of log histogram status. For every log histogram, it contains : from/to time range, hit log count and query completed status.

author sls_dev
package SLS_PHP_SDK

 Methods

Aliyun_Sls_Models_Histogram constructor

__construct(integer $from, integer $to, integer $count, string $progress) 

Parameters

$from

integer

the begin time

$to

integer

the end time

$count

integer

log count of histogram that query hits

$progress

string

histogram query status(Complete or InComplete)

Get log count of histogram that query hits

getCount() : integer

Returns

integerlog count of histogram that query hits

Get begin time

getFrom() : integer

Returns

integerthe begin time

Get the end time

getTo() : integer

Returns

integerthe end time

Check if the histogram is completed

isCompleted() : boolean

Returns

booleantrue if this histogram is completed

 Properties

 

log count of histogram that query hits

$count : integer

Default

 

the begin time

$from : integer

Default

 

histogram query status(Complete or InComplete)

$progress : string

Default

 

the end time

$to : integer

Default