DATAREDIS-271 - Add support for 'pSetEx'.

Support for 'pSetEx' has been added for 'jedis' & 'srp'.
For 'lettuce' the command is emulated using 'eval'.

There is no support for 'pSetEx' when using 'jredis'.

'DefaultValueOperations.set' used with 'TimeUnit.MILLISECONDS' will fallback to 'setEx' in case 'pSetEx' is not supported by the driver in use.

Original pull request: #46.
This commit is contained in:
Christoph Strobl
2014-03-13 15:21:45 +01:00
committed by Thomas Darimont
parent a3ac8d0899
commit 4b2ccbecb9
18 changed files with 244 additions and 11 deletions

View File

@@ -94,7 +94,7 @@
<row><entry><code>PEXIPRE</code></entry><entry>X</entry></row>
<row><entry><code>PEXPIREAT</code></entry><entry>X</entry></row>
<row><entry><code>PING</code></entry><entry>X</entry></row>
<row><entry><code>PSETEX</code></entry><entry>-</entry></row>
<row><entry><code>PSETEX</code></entry><entry>X</entry></row>
<row><entry><code>PSUBSCRIBE</code></entry><entry>X</entry></row>
<row><entry><code>PTTL</code></entry><entry>X</entry></row>
<row><entry><code>PUBLISH</code></entry><entry>X</entry></row>