MediaWiki
master
|
Generic interface for object stores with key encoding methods. More...
Public Member Functions | |
makeGlobalKey ( $class,... $components) | |
Make a cache key using the "global" keyspace for the given components. More... | |
makeKey ( $class,... $components) | |
Make a cache key using the default keyspace for the given components. More... | |
Generic interface for object stores with key encoding methods.
Definition at line 9 of file IStoreKeyEncoder.php.
IStoreKeyEncoder::makeGlobalKey | ( | $class, | |
$components | |||
) |
Make a cache key using the "global" keyspace for the given components.
string | $class | Key collection name component |
string|int | ...$components Key components for entity IDs |
Implemented in WANObjectCache, ReplicatedBagOStuff, MultiWriteBagOStuff, MediumSpecificBagOStuff, CachedBagOStuff, and BagOStuff.
IStoreKeyEncoder::makeKey | ( | $class, | |
$components | |||
) |
Make a cache key using the default keyspace for the given components.
string | $class | Key collection name component |
string|int | ...$components Key components for entity IDs |
Implemented in WANObjectCache, ReplicatedBagOStuff, MultiWriteBagOStuff, MediumSpecificBagOStuff, CachedBagOStuff, and BagOStuff.