src/Utility/StampedeProtectionTrait.php
public function setPrecomputeDelta($delta)
    {
        if (!is_int($delta) || $delta < 1 || $delta > 100) {
            throw new Exception('Invalid delta specified. An integer between 1 and 100 is required.');
        }

        $this->precomputeDelta = $delta;
    }
public function setPrecomputeDelta($delta)
    {
        if (!is_int($delta) || $delta < 1 || $delta > 100) {
            throw new Exception('Invalid delta specified. An integer between 1 and 100 is required.');
        }

        $this->precomputeDelta = $delta;
    }
public function setPrecomputeDelta ( $ delta ) { if ( ! is_int ( $ delta ) || $ delta < 1 || $ delta > 100 ) { throw new Exception ( 'Invalid delta specified. An integer between 1 and 100 is required.' ) ; } $ this -> precomputeDelta = $ delta ; }
Set the delta - percentage of TTL at which data should have a change to expire.

Default is 10%, set to higher to increase the time of early expiration.

@return void
Set the delta - percentage of TTL at which data should have a change to expire .