Daniele Alessandri
|
a2c9cb38a5
Accept the 'scheme' argument for Predis\ConnectionParameters. The 'redis' scheme is now an alias of 'tcp' for compatibility with older versions of Predis.
|
15 gadi atpakaļ |
Daniele Alessandri
|
72c41a25cb
Rename Predis\Connection to Predis\TcpConnection.
|
15 gadi atpakaļ |
Daniele Alessandri
|
b5a6c4e5c3
The Connection class now implements the new IConnectionSingle interface. Guess what is about to happen...
|
15 gadi atpakaļ |
Daniele Alessandri
|
0e69438c0b
Remove dots at the end of exception messages.
|
15 gadi atpakaļ |
Daniele Alessandri
|
761e3a2527
Add an optional argument to MultiBulkResponseIterator::sync() to specify if the synchronization of an iterable multibulk response should be performed by consuming the rest of the reply or by closing the underlying connection.
|
15 gadi atpakaļ |
Daniele Alessandri
|
316d3de10e
Add static method Predis\RedisServerProfile::getDevelopment() to create a new instance of the 'dev' server profile.
|
15 gadi atpakaļ |
Daniele Alessandri
|
5757318c9b
Remove Predis\RedisServerProfile::compareWith() since it is useless and it is broken anyway.
|
15 gadi atpakaļ |
Daniele Alessandri
|
c781e91c2e
Fix typos.
|
15 gadi atpakaļ |
Daniele Alessandri
|
9f21cb12a2
Rename Predis\Distribution\IDistributionAlgorithm to Predis\Distribution\IDistributionStrategy.
|
15 gadi atpakaļ |
Daniele Alessandri
|
69a0ed6d2f
Suppress PHP notices in Predis\ConnectionCluster::getConnectionById() if the specified connection alias/index does not exist.
|
15 gadi atpakaļ |
Daniele Alessandri
|
1f663f06be
Implement Predis\Client::getClientFor() to initialize a new client from a single connection of a cluster by its alias.
|
15 gadi atpakaļ |
Daniele Alessandri
|
5427bdcf22
Fast fail on exceptions different than Predis\ServerException or Predis\CommunicationException.
|
15 gadi atpakaļ |
Daniele Alessandri
|
6c512784cb
Merge branch 'pipeline_partial_failures'
|
15 gadi atpakaļ |
Daniele Alessandri
|
e70b8ed38b
Fix an old but harmless glitch in the serialization of inline commands with 0 arguments.
|
15 gadi atpakaļ |
Daniele Alessandri
|
40d5b04278
Change the behavior of a test and add a reminder for a later in-depth examination of alternatives.
|
15 gadi atpakaļ |
Daniele Alessandri
|
f0d2551244
Fix a wrong namespace path in SafeExecutor::execute().
|
15 gadi atpakaļ |
Daniele Alessandri
|
4c8ecc02e5
Force disconnection in Predis\Pipeline\StandardExecutor when a Predis\ServerException is thrown to prevent protocol desynchronization between the client and the server.
|
15 gadi atpakaļ |
Daniele Alessandri
|
84cb28e3ac
Merge branch 'pubsub_experimental'
|
15 gadi atpakaļ |
Daniele Alessandri
|
6e321a3530
Add the Predis\Client::pubSubContext() method to initialize a PubSub context from a client instance.
|
15 gadi atpakaļ |
Daniele Alessandri
|
658272fe4b
Fix wrong namespace path for EmptyRingException.
|
15 gadi atpakaļ |
Daniele Alessandri
|
fa6400dc22
Rename the \Predis\Utilities namespace to \Predis\Shared.
|
15 gadi atpakaļ |
Daniele Alessandri
|
376dfe3451
Move IDistributionAlgorithm, HashRing and KetamaPureRing to the new Predis\Distribution namespace.
|
15 gadi atpakaļ |
Daniele Alessandri
|
a26932b3b5
Throw a more appropriate InvalidArgumentException when a non-callable argument is passed to instances of Predis\CommandPipeline and Predis\MultiExecBlock.
|
15 gadi atpakaļ |
Daniele Alessandri
|
eab70fb134
Implement the new EmptyRingException exception class.
|
15 gadi atpakaļ |
Daniele Alessandri
|
5def6bebe3
Rename Predis\Pipeline\IExecutor to Predis\Pipeline\IPipelineExecutor.
|
15 gadi atpakaļ |
Daniele Alessandri
|
c01d185448
Bugfix: using the right variable in Predis\Pipeline\SafeExecutor makes things work.
|
15 gadi atpakaļ |
Daniele Alessandri
|
b3f340f830
Handling of partial failures and server errors in pipelines.
|
15 gadi atpakaļ |
Daniele Alessandri
|
f7bdd9d64b
The default server profile for Predis\Client is now 2.0 (supports for Redis v2.0 out of the box).
|
15 gadi atpakaļ |
Daniele Alessandri
|
4f0f2ca3eb
ZUNION and ZINTER have been changed to ZUNIONSTORE and ZINTERSTORE for consistency (see Redis commit 5d373da).
|
15 gadi atpakaļ |
Daniele Alessandri
|
7312dbe7fc
Implemented the new \Predis\PubSubContext class.
|
15 gadi atpakaļ |