Commit Graph

774 Commits

Author SHA1 Message Date
Daniele Alessandri ca22208ce8 Define a default value for the number of values used to populate KEYS. 2011-05-03 18:00:30 +02:00
Daniele Alessandri a386263d84 Add an helper method to get the actual keys from the whole argument list. 2011-05-03 17:37:39 +02:00
Daniele Alessandri 2bdfed5071 Add an abstraction for a virtual command that leverages Redis scripting with the new EVAL command. 2011-05-03 15:14:51 +02:00
Daniele Alessandri bd027341be New command: EVAL (Redis v2.4-dev). 2011-05-03 15:07:56 +02:00
Daniele Alessandri 4fc87fa161 Update README. 2011-05-03 14:31:35 +02:00
Daniele Alessandri be1f0914b1 Update README's markdown code to show nice colors on GitHub. 2011-04-26 08:26:22 +02:00
Daniele Alessandri 804a5d95fb Merged pull request #28 from udat/110425-fixes.
A few fixes
2011-04-25 15:02:28 -07:00
Artur Kotyrba 650d6a07e0 Fixed method and class name 2011-04-25 23:39:05 +02:00
Artur Kotyrba d4694da487 Added missing use statements 2011-04-25 23:37:00 +02:00
Artur Kotyrba 7e4b367a1d Removed unused argument for constructor of SafeExecutor and SafeClusterExecutor 2011-04-25 23:36:30 +02:00
Daniele Alessandri 19b703588b Add an example for Predis\DispatcherLoop. 2011-04-25 14:39:29 +02:00
Daniele Alessandri b5a1ba9795 Minor code and formatting changes for the example files. 2011-04-25 14:22:34 +02:00
Daniele Alessandri 21372bef6d Add an example for Predis\MonitorContext. 2011-04-25 14:17:24 +02:00
Daniele Alessandri e507198cc3 Do not populate the 'arguments' property if commands received with MONITOR do not carry an argument list. 2011-04-25 14:16:12 +02:00
Daniele Alessandri 88a9f509b4 Fix database handling in Predis\MonitorContext. 2011-04-25 14:14:01 +02:00
Daniele Alessandri b2575bd667 Reorganize some Redis commands classes. 2011-04-25 12:39:21 +02:00
Daniele Alessandri 86edc50ac4 Rename Predis\ConnectionParameters::setByUser(). 2011-04-25 09:49:38 +02:00
Daniele Alessandri dac0104267 Move the reducer function in Predis\Commands\Command::__toString() to a protected method. 2011-04-25 09:48:39 +02:00
Daniele Alessandri f7a3388865 Adjust formatting of Predis\Profiles\ServerVersionNext. 2011-04-25 09:42:07 +02:00
Daniele Alessandri 7b4da3cd78 Use variadic SUBSCRIBE in the PubSub example. 2011-04-24 14:11:34 +02:00
Daniele Alessandri 6dd3565c67 Reuse code. 2011-04-24 14:10:53 +02:00
Daniele Alessandri 3ca4645231 Implement Predis\DispatcherLoop on top of Predis\PubSubContext. 2011-04-24 13:57:19 +02:00
Daniele Alessandri c07c610a0d Implement Predis\MonitorContext as an abstraction for the MONITOR command. 2011-04-24 13:16:16 +02:00
Daniele Alessandri 880d2d24b9 Add the ability to get a connection out of a cluster using a key. 2011-04-24 11:13:33 +02:00
Daniele Alessandri 4ef8948b5e Move the key-tag extractor method to Predis\Helpers. 2011-04-24 11:04:17 +02:00
Daniele Alessandri b396eb3c48 Remove code from the test for SLAVEOF. 2011-04-24 10:03:23 +02:00
Daniele Alessandri b4a90df812 Reuse code. 2011-04-24 09:59:01 +02:00
Daniele Alessandri dd3faa3d53 New command: CLIENT (Redis v2.4-dev). 2011-04-24 09:32:47 +02:00
Daniele Alessandri 819f3ca6ed Implement variadic SREM in the development profile (Redis v2.4). 2011-04-24 09:06:23 +02:00
Daniele Alessandri 8787930977 Implement variadic HDEL in the development profile (Redis v2.4). 2011-04-19 20:49:30 +02:00
Daniele Alessandri a8705b9535 Implement variadic SADD in the development profile (Redis v2.4). 2011-04-19 20:42:50 +02:00
Daniele Alessandri 66f6610c72 Implement variadic RPUSH and LPUSH in the development profile (Redis v2.4). 2011-04-19 20:35:48 +02:00
Daniele Alessandri 9bc50e321e The stable version of Redis will be 2.4. 2011-04-19 20:04:37 +02:00
Daniele Alessandri 4af1b7744c Implement an option to specify which cluster class to use. 2011-04-12 15:42:37 +02:00
Daniele Alessandri cbc7929f6e Move the logic of the connection factory option to a dedicated class. 2011-04-12 14:45:28 +02:00
Daniele Alessandri 1a175da7ca Predis\ConnectionParameters::__isset() should check if a parameters has been set and its value is not null. 2011-04-12 13:01:22 +02:00
Daniele Alessandri f6eab6ec3a Just a minor code styling change. 2011-04-11 23:43:49 +02:00
Daniele Alessandri 07d9717f8a Fix wrong import with the 'use' directive. 2011-04-11 23:23:55 +02:00
Daniele Alessandri 3f3c235363 Make Predis\Distribution\IDistributionStrategy extend the new Predis\Distribution\INodeKeyGenerator interface. 2011-04-11 23:20:10 +02:00
Daniele Alessandri a348e32144 Improve Predis\Client::getConnection() internals. 2011-04-11 18:53:02 +02:00
Daniele Alessandri 55899e7741 Check for null client options in the filter method. 2011-04-11 18:21:05 +02:00
Daniele Alessandri d1157a506d Remove useless code. 2011-04-11 18:21:01 +02:00
Daniele Alessandri bea8a3239d Remove default null value from Predis\Client::initializeConnection(). 2011-04-11 17:01:26 +02:00
Daniele Alessandri 839ce08487 Mostly aesthetic changes for Predis\PubSubContext. 2011-04-11 16:19:22 +02:00
Daniele Alessandri 944a478272 Remove Predis\Commands\Command::setArguments(). 2011-04-09 09:35:28 +02:00
Daniele Alessandri 83bab78bd1 Rename the newConnection() method to create() in Predis\ConnectionFactory. 2011-04-08 16:55:08 +02:00
Daniele Alessandri b22cb6f76d Rename Predis\IConnectionSchemes to Predis\IConnectionFactory. 2011-04-08 16:40:25 +02:00
Daniele Alessandri 5527fc34e7 Split the FAQ file. 2011-04-08 15:23:23 +02:00
Daniele Alessandri 7979d9ab64 Update TODO. 2011-04-08 11:23:02 +02:00
Daniele Alessandri 0396320951 Merge branch 'command_preprocessors' 2011-04-08 11:22:24 +02:00