|
MediaWiki REL1_39
|
Track per-module file dependencies in object cache via BagOStuff. More...


Public Member Functions | |
| __construct (BagOStuff $stash) | |
| remove ( $type, $entities) | |
| Delete the currently tracked dependencies for an entity or set of entities. | |
| retrieveMulti ( $type, array $entities) | |
| Get the currently tracked dependencies for a set of entities. | |
| storeMulti ( $type, array $dataByEntity, $ttl) | |
| Set the currently tracked dependencies for a set of entities. | |
Public Member Functions inherited from Wikimedia\DependencyStore\DependencyStore | |
| newEntityDependencies (array $paths=[], $asOf=null) | |
| retrieve ( $type, $entity) | |
| Get the currently tracked dependencies for an entity. | |
| store ( $type, $entity, array $data, $ttl) | |
| Set the currently tracked dependencies for an entity. | |
Track per-module file dependencies in object cache via BagOStuff.
Definition at line 33 of file KeyValueDependencyStore.php.
| Wikimedia\DependencyStore\KeyValueDependencyStore::__construct | ( | BagOStuff | $stash | ) |
| BagOStuff | $stash | Storage backend |
Definition at line 40 of file KeyValueDependencyStore.php.
| Wikimedia\DependencyStore\KeyValueDependencyStore::remove | ( | $type, | |
| $entities ) |
Delete the currently tracked dependencies for an entity or set of entities.
| string | $type | Entity type |
| string | string[] | $entities | Entity name(s) |
Reimplemented from Wikimedia\DependencyStore\DependencyStore.
Definition at line 85 of file KeyValueDependencyStore.php.
| Wikimedia\DependencyStore\KeyValueDependencyStore::retrieveMulti | ( | $type, | |
| array | $entities ) |
Get the currently tracked dependencies for a set of entities.
| string | $type | Entity type |
| string[] | $entities | Entity names |
Reimplemented from Wikimedia\DependencyStore\DependencyStore.
Definition at line 44 of file KeyValueDependencyStore.php.
References $blob, $type, and Wikimedia\DependencyStore\DependencyStore\newEntityDependencies().
| Wikimedia\DependencyStore\KeyValueDependencyStore::storeMulti | ( | $type, | |
| array | $dataByEntity, | ||
| $ttl ) |
Set the currently tracked dependencies for a set of entities.
| string | $type | Entity type |
| array[] | $dataByEntity | Map of (entity => (paths: paths, asOf: UNIX timestamp or null)) |
| int | $ttl | New time-to-live in seconds |
Reimplemented from Wikimedia\DependencyStore\DependencyStore.
Definition at line 65 of file KeyValueDependencyStore.php.