Commit History

Author SHA1 Message Date
  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 2272982364 Updated CHANGELOG. 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
  Daniele Alessandri 1b5e148d96 \Predis\Client::setProfile now accepts also a string value to specify the target server profile. 15 years ago
  Daniele Alessandri 981b64fe21 Added support for weight parameter in server configuration, that allows to balance the keys asymmetrically across multiple servers. 15 years ago
  Daniele Alessandri 6ea96dcfea Added support for optionally weighted nodes in the hashring. 15 years ago
  Daniele Alessandri 435fdeab75 Add support for microsecond read/write timeouts. 15 years ago
  Daniele Alessandri 4f3ffe1217 Made ConnectionCluster::getConnection public, so client code can check to which server a command would be sent. 15 years ago
  Daniele Alessandri 486244be8d Reworked HashRing::remove to handle hash collisions in a consistent way. 15 years ago
  Daniele Alessandri 2cd056cab6 Added wrapping around for the consistent hashing algorithm. 15 years ago
  Daniele Alessandri 1c286f29d1 executeCommand is now part of the IConnection interface; Moved the actual implementation of executeCommand() from Predis\Client to Predis\Connection. 15 years ago