PHP 클래스 Predis\Command\Redis\INFO

저자: Daniele Alessandri ([email protected])
상속: extends Predis\Command\Command
파일 보기 프로젝트 열기: nrk/predis

공개 메소드들

메소드 설명
getId ( )
parseNewResponseFormat ( $lines )
parseOldResponseFormat ( $lines )
parseResponse ( $data )

보호된 메소드들

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

parseDatabaseStats() 보호된 메소드

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

parseNewResponseFormat() 공개 메소드

public parseNewResponseFormat ( $lines )

parseOldResponseFormat() 공개 메소드

public parseOldResponseFormat ( $lines )

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