public function PurgersService::capacityTracker in Purge 8.3
Get the capacity tracker.
\Drupal\purge\Plugin\Purge\Purger\PurgersServiceInterface implementations always hold a single capacity tracker instance. The capacity tracker tracks runtime resource consumption and predicts capacity information.
Return value
\Drupal\purge\Plugin\Purge\Purger\CapacityTrackerInterface The capacity tracker.
Overrides PurgersServiceInterface::capacityTracker
File
- src/Plugin/ Purge/ Purger/ PurgersService.php, line 146 
Class
- PurgersService
- Provides the service that distributes access to one or more purgers.
Namespace
Drupal\purge\Plugin\Purge\PurgerCode
public function capacityTracker() {
  $this
    ->initializePurgers();
  return $this->capacityTracker;
}