public function setRetryFactor($factor)
    {
        if (!(is_int($factor) || is_float($factor)) || $factor < 1) {
            throw new \Plop\Exception('Invalid value');
        }
        $this->retryFactor = $factor;
        return $this;
    }
public function setRetryFactor($factor)
    {
        if (!(is_int($factor) || is_float($factor)) || $factor < 1) {
            throw new \Plop\Exception('Invalid value');
        }
        $this->retryFactor = $factor;
        return $this;
    }
public function setRetryFactor ( $ factor ) { if ( ! ( is_int ( $ factor ) || is_float ( $ factor ) ) || $ factor < 1 ) { throw new \ Plop \ Exception ( 'Invalid value' ) ; } $ this -> retryFactor = $ factor ; return $ this ; }
Set the factor applied to the delay
between each reconnection attempt.

\param int|float $factor
Delay factor.
This value must be greater or equal to 1.

\retval Plop::HandlerInterface
The current handler instance (ie. \a $this).
Set the factor applied to the delay between each reconnection attempt .