You are here

public function CapacityTrackerInterface::waitCooldownTime in Purge 8.3

Wait the time in seconds for the given purger.

Parameters

string $purger_instance_id: The instance ID of the purger for which to await the cooldown time.

Throws

\Drupal\purge\Plugin\Purge\Purger\Exception\BadBehaviorException Thrown when $purger_instance_id doesn't exist.

See also

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

\Drupal\purge\Plugin\Purge\Purger\PurgersServiceInterface::invalidate()

1 method overrides CapacityTrackerInterface::waitCooldownTime()
CapacityTracker::waitCooldownTime in src/Plugin/Purge/Purger/CapacityTracker.php
Wait the time in seconds for the given purger.

File

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

Class

CapacityTrackerInterface
Describes the capacity tracker.

Namespace

Drupal\purge\Plugin\Purge\Purger

Code

public function waitCooldownTime($purger_instance_id);