PHP Class Predis\Command\ServerInfo

Author: Daniele Alessandri ([email protected])
Inheritance: extends Command
Afficher le fichier Open project: tillkruss/redis-object-cache Class Usage Examples

Méthodes publiques

Méthode Description
getId ( )
parseResponse ( $data )

Méthodes protégées

Méthode Description
parseAllocationStats ( string $str ) : array Parses the response and extracts the allocation statistics.
parseDatabaseStats ( string $str ) : array Extracts the statistics of each logical DB from the string buffer.
parseRow ( string $row ) : array Parses a single row of the response and returns the key-value pair.

Method Details

getId() public méthode

public getId ( )

parseAllocationStats() protected méthode

Parses the response and extracts the allocation statistics.
protected parseAllocationStats ( string $str ) : array
$str string Response buffer.
Résultat array

parseDatabaseStats() protected méthode

Extracts the statistics of each logical DB from the string buffer.
protected parseDatabaseStats ( string $str ) : array
$str string Response buffer.
Résultat array

parseResponse() public méthode

public parseResponse ( $data )

parseRow() protected méthode

Parses a single row of the response and returns the key-value pair.
protected parseRow ( string $row ) : array
$row string Single row of the response.
Résultat array