Wikibase
MediaWiki Wikibase extension
|
A service interface for prefetching entities or data about them in order to make subsequent loading of them faster. More...
Public Member Functions | |
prefetch (array $entityIds) | |
Prefetches data for a list of entity ids. | |
purge (EntityId $entityId) | |
Purges prefetched data about a given entity. | |
purgeAll () | |
Purges all prefetched data. | |
A service interface for prefetching entities or data about them in order to make subsequent loading of them faster.
Wikibase\DataModel\Services\Entity\EntityPrefetcher::prefetch | ( | array | $entityIds | ) |
Prefetches data for a list of entity ids.
EntityId[] | $entityIds |
Implemented in Wikibase\DataAccess\ByTypeDispatchingEntityPrefetcher, Wikibase\Lib\Store\Sql\PrefetchingWikiPageEntityMetaDataAccessor, and Wikibase\DataModel\Services\Entity\NullEntityPrefetcher.
Wikibase\DataModel\Services\Entity\EntityPrefetcher::purge | ( | EntityId | $entityId | ) |
Purges prefetched data about a given entity.
EntityId | $entityId |
Implemented in Wikibase\DataAccess\ByTypeDispatchingEntityPrefetcher, Wikibase\Lib\Store\Sql\PrefetchingWikiPageEntityMetaDataAccessor, and Wikibase\DataModel\Services\Entity\NullEntityPrefetcher.
Wikibase\DataModel\Services\Entity\EntityPrefetcher::purgeAll | ( | ) |
Purges all prefetched data.
Implemented in Wikibase\DataAccess\ByTypeDispatchingEntityPrefetcher, Wikibase\Lib\Store\Sql\PrefetchingWikiPageEntityMetaDataAccessor, and Wikibase\DataModel\Services\Entity\NullEntityPrefetcher.