Phirehose::statusUpdate PHP Метод

statusUpdate() защищенный Метод

Called every $this->avgPeriod (default=60) seconds, and this default implementation calculates some rates, logs them, and resets the counters.
protected statusUpdate ( )
    protected function statusUpdate()
    {
        $this->log('Consume rate: ' . $this->statusRate . ' status/sec (' . $this->statusCount . ' total), avg ' . 'enqueueStatus(): ' . $this->enqueueTimeMS . 'ms, avg checkFilterPredicates(): ' . $this->filterCheckTimeMS . 'ms (' . $this->filterCheckCount . ' total) over ' . $this->avgElapsed . ' seconds, max stream idle period: ' . $this->maxIdlePeriod . ' seconds.');
        // Reset
        $this->statusCount = $this->filterCheckCount = $this->enqueueSpent = 0;
        $this->filterCheckSpent = $this->idlePeriod = $this->maxIdlePeriod = 0;
    }