PHP Class Predis\Command\ServerSentinel

Author: Daniele Alessandri ([email protected])
Inheritance: extends Command
Datei anzeigen Open project: tillkruss/redis-object-cache

Public Methods

Method Description
getId ( )
parseResponse ( $data )

Protected Methods

Method Description
processMastersOrSlaves ( array $servers ) : array Returns a processed response to SENTINEL MASTERS or SENTINEL SLAVES.

Method Details

getId() public method

public getId ( )

parseResponse() public method

public parseResponse ( $data )

processMastersOrSlaves() protected static method

Returns a processed response to SENTINEL MASTERS or SENTINEL SLAVES.
protected static processMastersOrSlaves ( array $servers ) : array
$servers array List of Redis servers.
return array