Daniele Alessandri
|
0664bde7e9
|
Bugfix: replies to DEL commands must not be converted to a boolean response as DEL returns the number of keys removed.
|
2010-05-10 11:20:51 +02:00 |
|
Daniele Alessandri
|
b623144881
|
Better support for options for ZUNION and ZINTER.
|
2010-04-27 21:49:03 +02:00 |
|
Daniele Alessandri
|
c73918b991
|
Fix a couple of command aliases in the DEV profile.
|
2010-04-24 14:01:24 +02:00 |
|
Daniele Alessandri
|
db6b8a3fc8
|
Parse response to HGETALL as an array of key => value.
|
2010-04-24 13:56:00 +02:00 |
|
Daniele Alessandri
|
513baa556c
|
Process responses to HDEL as boolean values.
|
2010-04-24 13:09:18 +02:00 |
|
Daniele Alessandri
|
de2d75e1d7
|
Process responses to HEXISTS as boolean values.
|
2010-04-24 12:47:09 +02:00 |
|
Daniele Alessandri
|
83ffdc8bc8
|
Various fixes for HMSET and HMSET.
|
2010-04-24 12:00:46 +02:00 |
|
Daniele Alessandri
|
d79321ac8c
|
Process responses to HSET as boolean values.
|
2010-04-24 11:26:35 +02:00 |
|
Daniele Alessandri
|
23de93582e
|
Code formatting.
|
2010-04-24 09:19:51 +02:00 |
|
Daniele Alessandri
|
2eb68a0fee
|
New command: SETEX (Redis v2.0-dev).
|
2010-04-23 21:38:22 +02:00 |
|
Daniele Alessandri
|
a092ad46a3
|
New command: HSETNX (Redis v2.0-dev).
|
2010-04-23 21:32:10 +02:00 |
|
Daniele Alessandri
|
b5e2b9eee9
|
New command: HMGET (Redis v2.0-dev).
|
2010-04-23 21:28:43 +02:00 |
|
Daniele Alessandri
|
7c2866f9fc
|
Updating comments.
|
2010-04-23 21:23:23 +02:00 |
|
Daniele Alessandri
|
801c4647fd
|
Slight code reorganization.
|
2010-04-23 21:22:46 +02:00 |
|
Daniele Alessandri
|
b93b13133d
|
New command: HMSET (Redis v2.0-dev).
|
2010-04-23 21:12:46 +02:00 |
|
Daniele Alessandri
|
d9542c21c3
|
New commands: PUBLISH, SUBSCRIBE and UNSUBSCRIBE (Redis v2.0-dev).
|
2010-04-23 21:07:36 +02:00 |
|
Daniele Alessandri
|
0a0afec0ec
|
Reminder for ZUNION.
|
2010-04-23 20:54:41 +02:00 |
|
Daniele Alessandri
|
7ae94ca6fb
|
New \Predis\Protocol class. It's not really used right now...
|
2010-04-23 20:37:57 +02:00 |
|
Daniele Alessandri
|
df9fef8900
|
Moved the IDistributionAlgorithm interface one level up in the namespace chain, from \Predis\Utilities to \Predis.
|
2010-04-23 20:27:59 +02:00 |
|
Daniele Alessandri
|
d369f8bb74
|
Renamed the \Predis\Utilities\IRing interface to \Predis\Utilities\IDistributionAlgorithm.
|
2010-04-21 22:13:13 +02:00 |
|
Daniele Alessandri
|
8ae5197a38
|
Moved the initialization of the default \Predis\ResponseReader instance.
|
2010-04-21 21:32:19 +02:00 |
|
Daniele Alessandri
|
ce790071fd
|
Providing optional support for Redis 1.0.
|
2010-04-19 16:52:49 +02:00 |
|
Daniele Alessandri
|
f729793a9a
|
Drop default support for Redis 1.0 and switch to the multi-bulk type for all of the Redis commands.
|
2010-04-19 16:50:50 +02:00 |
|
Daniele Alessandri
|
ad2381a305
|
Users can now register their own \Predis\RedisServerProfile class with one or more aliases.
|
2010-04-19 15:37:43 +02:00 |
|
Daniele Alessandri
|
3121b1761e
|
Changed the way arguments of SORT are prepared before serialization to be compatible with an eventual switch to multi-bulk requests.
|
2010-04-18 14:33:22 +02:00 |
|
Daniele Alessandri
|
81aef81b55
|
Changed the way arguments of SLAVEOF are prepared before serialization to be compatible with an eventual switch to multi-bulk requests.
|
2010-04-18 13:09:03 +02:00 |
|
Daniele Alessandri
|
ea9c3388da
|
No more implicit serialization for an array instance passed as the single argument of a MultiBulkCommand.
|
2010-04-18 12:49:38 +02:00 |
|
Daniele Alessandri
|
24bf10c691
|
Some performance improvements in the serialization of multibulk commands.
|
2010-04-18 10:53:38 +02:00 |
|
Daniele Alessandri
|
a35faf2df6
|
Fixed a bug in the registration of the RPOPLPUSH command.
|
2010-04-17 18:48:13 +02:00 |
|
Daniele Alessandri
|
39052b181e
|
Merge branch 'hyves_contribs_port' into master. Huge thanks to Lorenzo Castelli for a lot of awesome improvements and ideas.
|
2010-04-17 15:26:21 +02:00 |
|
Daniele Alessandri
|
fa22d9667c
|
Get a Predis\ResponseError instance from a Predis\ServerException instance.
|
2010-04-17 09:13:32 +02:00 |
|
Daniele Alessandri
|
a3ead444b2
|
Removed a spurious new line.
|
2010-04-14 15:52:35 +02:00 |
|
Daniele Alessandri
|
8f50c5f69a
|
User-configurable key distribution algorithm to be used for clustered connections.
|
2010-04-14 15:03:27 +02:00 |
|
Daniele Alessandri
|
0e52825d97
|
Merge branch 'client_options' into hyves_contribs_port
|
2010-04-14 14:36:39 +02:00 |
|
Daniele Alessandri
|
5842c57b28
|
Merge branch 'hashring_rework' into hyves_contribs_port
|
2010-04-14 14:36:10 +02:00 |
|
Daniele Alessandri
|
c89e222fd2
|
Removed the setOption and getOption methods from ResponseReader as their implementation was clumsy.
|
2010-04-10 19:10:20 +02:00 |
|
Daniele Alessandri
|
c8509dd068
|
Exposed ResponseReader::setHandler as a public method and implemented ResponseReader::getHandler.
|
2010-04-10 18:48:42 +02:00 |
|
Daniele Alessandri
|
9e97c15a50
|
\Predis\Client now uses the new \Predis\ClientOptions class to define various options for a client instance.
|
2010-04-10 17:45:40 +02:00 |
|
Daniele Alessandri
|
c4341eafaa
|
Implemented the new \Predis\ClientOptions class.
|
2010-04-10 16:53:19 +02:00 |
|
Daniele Alessandri
|
a2617af24a
|
Removed a spurious space character.
|
2010-04-10 16:45:58 +02:00 |
|
Daniele Alessandri
|
ea04aa67c6
|
Bugfix: missing backslash for root namespace.
|
2010-04-10 16:44:50 +02:00 |
|
Daniele Alessandri
|
994258b4c2
|
Slightly changed the arguments order of HashRing::addNodeToRing.
|
2010-04-10 11:01:03 +02:00 |
|
Daniele Alessandri
|
3a44f766c2
|
Close the underlying connection also on MalformedServerResponse exceptions.
|
2010-04-10 10:15:05 +02:00 |
|
Daniele Alessandri
|
bac4be648f
|
Added support for persistent connections (optional and experimental).
|
2010-04-10 10:13:01 +02:00 |
|
Daniele Alessandri
|
a1c827cb2d
|
Precalculate the total count of the keys in the ring.
|
2010-04-10 09:25:58 +02:00 |
|
Daniele Alessandri
|
1ba033879a
|
Bugfix: wrap-around differences for HashRing and KetamaPureRing.
|
2010-04-10 09:05:49 +02:00 |
|
Daniele Alessandri
|
79e7b0b209
|
Predis\ConnectionCluster now accepts an instance of Predis\Utilities\IRing as an optional parameter.
|
2010-04-04 23:32:21 +02:00 |
|
Daniele Alessandri
|
6d5060b226
|
Introduced the new KetamaPureRing class with the same key distribution algorithm of libketama.
|
2010-04-04 23:14:57 +02:00 |
|
Daniele Alessandri
|
a6c246ac7c
|
Small refactoring of the HashRing class.
|
2010-04-04 23:13:22 +02:00 |
|
Daniele Alessandri
|
18e181d9a1
|
Introduced the new IRing interface.
|
2010-04-04 20:13:07 +02:00 |
|