Daniele Alessandri
3c77d3b0c1
Update examples.
2013-12-01 11:28:56 +01:00
Daniele Alessandri
e6f1788e27
Rename interfaces and classes in the Predis\Cluster namespace.
...
A few methods were renamed accordingly for consistency
2013-11-16 16:21:27 +01:00
Daniele Alessandri
e54bc31212
Create Predis\Cluster namespace and move related classes / interfaces.
2012-07-30 20:10:14 +02:00
Daniele Alessandri
7683f97ff2
Move the hash generator inside the command hash strategy class.
...
This should make things a tiny bit faster (we are speaking about micro
optimizations anyway) but more importantly it results in a better
encapsulation.
2012-07-30 15:42:45 +02:00
Daniele Alessandri
55a3fd65a2
More code styling changes.
2012-07-27 12:23:25 +02:00
Daniele Alessandri
6c732c737b
Order "use" directives by namespace depth and name.
...
This is not really useful per se, but at least we use a fixed rule.
2012-07-26 23:04:20 +02:00
Daniele Alessandri
9426d78b90
Fix example for custom distribution strategy.
...
See ISSUE #63 for details.
2012-04-13 11:37:03 +02:00
Daniele Alessandri
dc14c29676
Rename certain namespaces, interfaces and classes.
...
Now we follow a Symfony2-like naming convention for namespaces, interfaces
and classes sticking with one clear rule.
- Renamed namespaces:
- Predis\Network
- Predis\Profiles
- Predis\Iterators
- Predis\Options
- Predis\Commands
- Predis\Commands\Processors
- Renamed interfaces:
- Predis\IReplyObject
- Predis\IRedisServerError
- Predis\IConnectionFactory
- Predis\IConnectionParameters
- Predis\Options\IOption
- Predis\Options\IClientOptions
- Predis\Profile\IServerProfile
- Predis\Pipeline\IPipelineExecutor
- Predis\Distribution\INodeKeyGenerator
- Predis\Distribution\IDistributionStrategy
- Predis\Protocol\IProtocolProcessor
- Predis\Protocol\IResponseReader
- Predis\Protocol\IResponseHandler
- Predis\Protocol\ICommandSerializer
- Predis\Protocol\IComposableProtocolProcessor
- Predis\Network\IConnection
- Predis\Network\IConnectionSingle
- Predis\Network\IConnectionComposable
- Predis\Network\IConnectionCluster
- Predis\Network\IConnectionReplication
- Predis\Commands\ICommand
- Predis\Commands\IPrefixable
- Predis\Command\Processor\ICommandProcessor
- Predis\Command\Processor\ICommandProcessorChain
- Predis\Command\Processor\IProcessingSupport
- Renamed Classes:
- Predis\Commands\Command
- Predis\Network\ConnectionBase
- Classes moved to different namespaces:
- Predis\MonitorContext
Meh
2012-01-31 18:19:18 +01:00
Daniele Alessandri
0fee0c6d97
Remove the underscore prefix for names of private/protected fields.
2011-11-25 14:17:11 +01:00
Daniele Alessandri
2f23fb03f0
Apply minor changes to the rest of the examples.
2011-10-22 11:07:25 +02:00
Daniele Alessandri
9608a97469
Add a license header to PHP files.
2011-10-18 16:41:46 +02:00
Daniele Alessandri
20d872a306
Apply some coding style changes.
2011-10-18 15:51:55 +02:00
Daniele Alessandri
cb363b52f6
Update examples.
2011-05-05 16:24:46 +02:00
Daniele Alessandri
150795f999
Remove the key_distribution option and allow user-defined callbacks to initialize a cluster connection.
2011-05-05 15:06:00 +02:00
Daniele Alessandri
b5a1ba9795
Minor code and formatting changes for the example files.
2011-04-25 14:22:34 +02:00
Daniele Alessandri
f6eab6ec3a
Just a minor code styling change.
2011-04-11 23:43:49 +02:00
Daniele Alessandri
2b2ca8e8dc
Remove trailing spaces in code.
2011-02-15 12:46:19 +01:00
Daniele Alessandri
44839a7a6f
Minor fix in a comment.
2011-02-12 17:25:48 +01:00
Daniele Alessandri
dad3704488
Examples: bulk update.
2010-05-22 14:48:37 +02:00
Daniele Alessandri
d585b11bf5
Examples: add CustomDistributionStrategy.php
2010-05-22 14:34:28 +02:00