public function getHitRatio() { if ($this->_requests != 0) { return $this->_hits / $this->_requests; } else { return 0; } }