MediaWiki REL1_31
ProcessCacheLRUTestable Class Reference

Overrides some ProcessCacheLRU methods and properties accessibility. More...

Inheritance diagram for ProcessCacheLRUTestable:
Collaboration diagram for ProcessCacheLRUTestable:

Public Member Functions

 getCache ()
 
 getEntriesCount ()
 
- Public Member Functions inherited from ProcessCacheLRU
 __construct ( $maxKeys)
 
 clear ( $keys=null)
 Clear one or several cache entries, or all cache entries.
 
 get ( $key, $prop)
 Get a property field for a cache entry.
 
 getSize ()
 Get cache size.
 
 has ( $key, $prop, $maxAge=0.0)
 Check if a property field exists for a cache entry.
 
 resize ( $maxKeys)
 Resize the maximum number of cache entries, removing older entries as needed.
 
 set ( $key, $prop, $value)
 Set a property field for a cache entry.
 

Public Attributes

 $cache = []
 

Additional Inherited Members

- Protected Member Functions inherited from ProcessCacheLRU
 ping ( $key)
 Push an entry to the top of the cache.
 
- Protected Attributes inherited from ProcessCacheLRU
array $cache = []
 
array $cacheTimes = []
 
 $maxCacheKeys
 

Detailed Description

Overrides some ProcessCacheLRU methods and properties accessibility.

Definition at line 258 of file ProcessCacheLRUTest.php.

Member Function Documentation

◆ getCache()

ProcessCacheLRUTestable::getCache ( )

Definition at line 261 of file ProcessCacheLRUTest.php.

References $cache.

◆ getEntriesCount()

ProcessCacheLRUTestable::getEntriesCount ( )

Definition at line 265 of file ProcessCacheLRUTest.php.

References cache.

Member Data Documentation

◆ $cache

ProcessCacheLRUTestable::$cache = []

Definition at line 259 of file ProcessCacheLRUTest.php.

Referenced by getCache().


The documentation for this class was generated from the following file: