You are here

public function CapacityTrackerInterface::getCooldownTimeTotal in Purge 8.3

Get the time in seconds to wait after invalidation for all purgers.

Return value

float The maximum number of seconds - as float - to wait after invalidation.

Throws

\Drupal\purge\Plugin\Purge\Purger\Exception\BadPluginBehaviorException Thrown when the returned floating point value is lower than 0.0, higher than 3.0 or is not returned as floating point value.

See also

\Drupal\purge\Plugin\Purge\Purger\PurgerCapacityDataInterface::getCooldownTime()

1 method overrides CapacityTrackerInterface::getCooldownTimeTotal()
CapacityTracker::getCooldownTimeTotal in src/Plugin/Purge/Purger/CapacityTracker.php
Get the time in seconds to wait after invalidation for all purgers.

File

src/Plugin/Purge/Purger/CapacityTrackerInterface.php, line 53

Class

CapacityTrackerInterface
Describes the capacity tracker.

Namespace

Drupal\purge\Plugin\Purge\Purger

Code

public function getCooldownTimeTotal();