from = $from; $this->to = $to; $this->count = $count; $this->progress = $progress; } /** * Get begin time * * @return integer the begin time */ public function getFrom() { return $this->from; } /** * Get the end time * * @return integer the end time */ public function getTo() { return $this->to; } /** * Get log count of histogram that query hits * * @return integer log count of histogram that query hits */ public function getCount() { return $this->count; } /** * Check if the histogram is completed * * @return bool true if this histogram is completed */ public function isCompleted() { return $this->progress == 'Complete'; } }