public function poll()
    {
        try {
            foreach ($this->getMonitoredQueues() as $queue) {
                $this->storeTubeStats($queue);
                $this->deploySonar($queue);

                if (! $this->isQueueOnline($queue)) {
                    continue;
                }

                if (! $this->isWaitTimeOk($queue)) {
                    continue;
                }

                if (! $this->isPendingCountOk($queue)) {
                    continue;
                }

                if (! $this->isFailedCountOk($queue)) {
                    continue;
                }
            }
        } catch (Exception $e) {
            $this->eye->logger()->error('Error during queue poll process', $e);
        }
    }
public function poll()
    {
        try {
            foreach ($this->getMonitoredQueues() as $queue) {
                $this->storeTubeStats($queue);
                $this->deploySonar($queue);

                if (! $this->isQueueOnline($queue)) {
                    continue;
                }

                if (! $this->isWaitTimeOk($queue)) {
                    continue;
                }

                if (! $this->isPendingCountOk($queue)) {
                    continue;
                }

                if (! $this->isFailedCountOk($queue)) {
                    continue;
                }
            }
        } catch (Exception $e) {
            $this->eye->logger()->error('Error during queue poll process', $e);
        }
    }
public function poll ( ) { try { foreach ( $ this -> getMonitoredQueues ( ) as $ queue ) { $ this -> storeTubeStats ( $ queue ) ; $ this -> deploySonar ( $ queue ) ; if ( ! $ this -> isQueueOnline ( $ queue ) ) { continue ; } if ( ! $ this -> isWaitTimeOk ( $ queue ) ) { continue ; } if ( ! $ this -> isPendingCountOk ( $ queue ) ) { continue ; } if ( ! $ this -> isFailedCountOk ( $ queue ) ) { continue ; } } } catch ( Exception $ e ) { $ this -> eye -> logger ( ) -> error ( 'Error during queue poll process' , $ e ) ; } }
Poll the Queue monitor for all checks.

@return void
Poll the Queue monitor for all checks .