You are here

interface CacheMissObserverInterface in X Autoload 7.5

An operation that can be queued up to be performed on the class finder once it is initialized.

In an average request, with the APC cache or similar enabled, class-to-file mappings will usually be loaded from the cache. The "real" class finder will only be initialized if one of the classes is not in the cache.

Hierarchy

Expanded class hierarchy of CacheMissObserverInterface

All classes that implement CacheMissObserverInterface

See also

ProxyClassFinder

3 files declare their use of CacheMissObserverInterface
DrupalPhaseControl.php in src/Phases/DrupalPhaseControl.php
LibraryCacheMissObserver.php in src/Libraries/LibraryCacheMissObserver.php
ProxyClassFinder.php in src/ClassFinder/ProxyClassFinder.php

File

src/CacheMissObserver/CacheMissObserverInterface.php, line 17

Namespace

Drupal\xautoload\CacheMissObserver
View source
interface CacheMissObserverInterface {

  /**
   * Executes the operation.
   *
   * This method will only be called if and when the "real" class finder is
   * initialized.
   *
   * @param ExtendedClassFinderInterface $finder
   *   The class finder.
   */
  function cacheMiss($finder);

}

Members