Ubiquity 2.5.2
php rapid development framework
Loading...
Searching...
No Matches
PreloaderCacheInfo Class Reference

Gives some informations about opcache preloading. More...

Static Public Member Functions

static isActive ()
 Returns true if opcache preloader is activated.
 
static getStatistics ()
 Returrns the opcache preload statistics.
 
static getMemoryConsumption ()
 Returns the preloader memory consumption.
 
static getFunctions ()
 Returns the list of preloaded functions.
 
static getScripts ()
 Returns the list of preloaded scripts.
 
static getClasses ()
 Returns the list of preloaded classes.
 

Static Private Member Functions

static getStatus ()
 
static getElement ($part, $default)
 

Private Attributes

const PRELOAD_KEY_CACHE = 'preload_statistics'
 

Detailed Description

Gives some informations about opcache preloading.

Ubiquity\cache\preloading$PreloaderCacheInfo This class is part of Ubiquity

Author
jcheron myadd.nosp@m.ress.nosp@m.mail@.nosp@m.gmai.nosp@m.l.com
Version
1.0.1

Definition at line 15 of file PreloaderCacheInfo.php.

Member Function Documentation

◆ getClasses()

static getClasses ( )
static

Returns the list of preloaded classes.

Returns
array|NULL

Definition at line 76 of file PreloaderCacheInfo.php.

◆ getElement()

static getElement (   $part,
  $default 
)
staticprivate

Definition at line 22 of file PreloaderCacheInfo.php.

◆ getFunctions()

static getFunctions ( )
static

Returns the list of preloaded functions.

Returns
array|NULL

Definition at line 58 of file PreloaderCacheInfo.php.

◆ getMemoryConsumption()

static getMemoryConsumption ( )
static

Returns the preloader memory consumption.

Returns
array|NULL

Definition at line 49 of file PreloaderCacheInfo.php.

◆ getScripts()

static getScripts ( )
static

Returns the list of preloaded scripts.

Returns
array|NULL

Definition at line 67 of file PreloaderCacheInfo.php.

◆ getStatistics()

static getStatistics ( )
static

Returrns the opcache preload statistics.

Returns
NULL|array

Definition at line 40 of file PreloaderCacheInfo.php.

◆ getStatus()

static getStatus ( )
staticprivate

Definition at line 18 of file PreloaderCacheInfo.php.

◆ isActive()

static isActive ( )
static

Returns true if opcache preloader is activated.

Returns
bool

Definition at line 31 of file PreloaderCacheInfo.php.

Field Documentation

◆ PRELOAD_KEY_CACHE

const PRELOAD_KEY_CACHE = 'preload_statistics'
private

Definition at line 16 of file PreloaderCacheInfo.php.


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