Comos\Qpm\Supervision\Config::getTimeout PHP Method

getTimeout() public method

public getTimeout ( ) : integer
return integer
    public function getTimeout()
    {
        return $this->_timeout;
    }

Usage Example

Ejemplo n.º 1
0
 /**
  *
  * @return boolean
  */
 public function isTimeout()
 {
     if (!$this->config->isTimeoutEnabled()) {
         return false;
     }
     $duration = \microtime(true) - $this->getStartTime();
     return $duration > $this->config->getTimeout();
 }
All Usage Examples Of Comos\Qpm\Supervision\Config::getTimeout