Commit History

Author SHA1 Message Date
  Daniele Alessandri 39052b181e Merge branch 'hyves_contribs_port' into master. Huge thanks to Lorenzo Castelli for a lot of awesome improvements and ideas. 15 years ago
  Daniele Alessandri fa22d9667c Get a Predis\ResponseError instance from a Predis\ServerException instance. 15 years ago
  Daniele Alessandri a3ead444b2 Removed a spurious new line. 15 years ago
  Daniele Alessandri 8f50c5f69a User-configurable key distribution algorithm to be used for clustered connections. 15 years ago
  Daniele Alessandri 0e52825d97 Merge branch 'client_options' into hyves_contribs_port 15 years ago
  Daniele Alessandri 5842c57b28 Merge branch 'hashring_rework' into hyves_contribs_port 15 years ago
  Daniele Alessandri c89e222fd2 Removed the setOption and getOption methods from ResponseReader as their implementation was clumsy. 15 years ago
  Daniele Alessandri c8509dd068 Exposed ResponseReader::setHandler as a public method and implemented ResponseReader::getHandler. 15 years ago
  Daniele Alessandri 9e97c15a50 \Predis\Client now uses the new \Predis\ClientOptions class to define various options for a client instance. 15 years ago
  Daniele Alessandri c4341eafaa Implemented the new \Predis\ClientOptions class. 15 years ago
  Daniele Alessandri a2617af24a Removed a spurious space character. 15 years ago
  Daniele Alessandri ea04aa67c6 Bugfix: missing backslash for root namespace. 15 years ago
  Daniele Alessandri 994258b4c2 Slightly changed the arguments order of HashRing::addNodeToRing. 15 years ago
  Daniele Alessandri 3a44f766c2 Close the underlying connection also on MalformedServerResponse exceptions. 15 years ago
  Daniele Alessandri bac4be648f Added support for persistent connections (optional and experimental). 15 years ago
  Daniele Alessandri a1c827cb2d Precalculate the total count of the keys in the ring. 15 years ago
  Daniele Alessandri 1ba033879a Bugfix: wrap-around differences for HashRing and KetamaPureRing. 15 years ago
  Daniele Alessandri 79e7b0b209 Predis\ConnectionCluster now accepts an instance of Predis\Utilities\IRing as an optional parameter. 15 years ago
  Daniele Alessandri 6d5060b226 Introduced the new KetamaPureRing class with the same key distribution algorithm of libketama. 15 years ago
  Daniele Alessandri a6c246ac7c Small refactoring of the HashRing class. 15 years ago
  Daniele Alessandri 18e181d9a1 Introduced the new IRing interface. 15 years ago
  Daniele Alessandri aafddece15 Removed code duplication. 15 years ago
  Daniele Alessandri 45ed2a9f96 Changed the parameters order for the constructor of the \Predis\CommunicationException class. 15 years ago
  Daniele Alessandri 958c0a3b33 Disallow length parameter <= 0 for Connection::readBytes. 15 years ago
  Daniele Alessandri f7f9e3483c Reworked the CommunicationException class and its derivates; When specified, close the underlying connection after a CommunicationException has been trown. 15 years ago
  Daniele Alessandri 5040ce7d18 New exceptions hierarchy. 15 years ago
  Daniele Alessandri 41f2065287 Removed a couple of redundant destructors. 15 years ago
  Daniele Alessandri 617d5f69b6 Added support for async connections. 15 years ago
  Daniele Alessandri c87fc91fb4 Bugfix: close the connection on Connection::rawCommand when the parameter is set to TRUE. 15 years ago
  Daniele Alessandri 4cc43775b0 Added support for partial reads/writes. Note that stream_get_contents is not used because it doesn't seem to respect the timeout. 15 years ago