You are here

interface RuntimeMeasurementTrackerInterface in Purge 8.3

Describes a tracker that tracks RuntimeMeasurement objects for purgers.

This tracker creates RuntimeMeasurement counters for purgers that return TRUE on their ::hasRuntimeMeasurement() implementation. When the counter objects attempt to store a new measurement value, this tracker will store the values for all counters in the underlying storing mechanism.

Hierarchy

Expanded class hierarchy of RuntimeMeasurementTrackerInterface

All classes that implement RuntimeMeasurementTrackerInterface

File

src/Plugin/Purge/Purger/RuntimeMeasurementTrackerInterface.php, line 15

Namespace

Drupal\purge\Plugin\Purge\Purger
View source
interface RuntimeMeasurementTrackerInterface extends DestructableInterface {

  /**
   * Set all purger plugin instances.
   *
   * @param \Drupal\purge\Plugin\Purge\Purger\PurgerInterface[] $purgers
   *   All purger plugins instantiated by
   *   \Drupal\purge\Plugin\Purge\Purger\PurgersServiceInterface.
   */
  public function setPurgers(array $purgers);

}

Members

Namesort descending Modifiers Type Description Overrides
DestructableInterface::destruct public function Performs destruct operations. 6
RuntimeMeasurementTrackerInterface::setPurgers public function Set all purger plugin instances. 1