PHP 클래스 Predis\Command\ServerInfo

저자: Daniele Alessandri ([email protected])
상속: extends Command
파일 보기 프로젝트 열기: tillkruss/redis-object-cache 1 사용 예제들

공개 메소드들

메소드 설명
getId ( )
parseResponse ( $data )

보호된 메소드들

메소드 설명
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.

메소드 상세

getId() 공개 메소드

public getId ( )

parseAllocationStats() 보호된 메소드

Parses the response and extracts the allocation statistics.
protected parseAllocationStats ( string $str ) : array
$str string Response buffer.
리턴 array

parseDatabaseStats() 보호된 메소드

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

parseResponse() 공개 메소드

public parseResponse ( $data )

parseRow() 보호된 메소드

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.
리턴 array