Merge branch 'master' into support-sorted-set-with-lex
Conflicts: src/main/java/redis/clients/jedis/BinaryShardedJedis.java src/main/java/redis/clients/jedis/Jedis.java src/main/java/redis/clients/jedis/Protocol.java src/test/java/redis/clients/jedis/tests/commands/SortedSetCommandsTest.java
This commit is contained in:
@@ -10,6 +10,9 @@ import java.util.Set;
|
||||
public interface JedisCommands {
|
||||
String set(String key, String value);
|
||||
|
||||
String set(String key, String value, String nxxx,
|
||||
String expx, long time);
|
||||
|
||||
String get(String key);
|
||||
|
||||
Boolean exists(String key);
|
||||
@@ -110,6 +113,8 @@ public interface JedisCommands {
|
||||
|
||||
String srandmember(String key);
|
||||
|
||||
List<String> srandmember(String key, int count);
|
||||
|
||||
Long strlen(String key);
|
||||
|
||||
Long zadd(String key, double score, String member);
|
||||
@@ -220,33 +225,14 @@ public interface JedisCommands {
|
||||
|
||||
Long bitcount(final String key, long start, long end);
|
||||
|
||||
@Deprecated
|
||||
/**
|
||||
* This method is deprecated due to bug (scan cursor should be unsigned long)
|
||||
* And will be removed on next major release
|
||||
* @see https://github.com/xetorthio/jedis/issues/531
|
||||
*/
|
||||
ScanResult<Map.Entry<String, String>> hscan(final String key, int cursor);
|
||||
|
||||
@Deprecated
|
||||
/**
|
||||
* This method is deprecated due to bug (scan cursor should be unsigned long)
|
||||
* And will be removed on next major release
|
||||
* @see https://github.com/xetorthio/jedis/issues/531
|
||||
*/
|
||||
ScanResult<String> sscan(final String key, int cursor);
|
||||
|
||||
@Deprecated
|
||||
/**
|
||||
* This method is deprecated due to bug (scan cursor should be unsigned long)
|
||||
* And will be removed on next major release
|
||||
* @see https://github.com/xetorthio/jedis/issues/531
|
||||
*/
|
||||
ScanResult<Tuple> zscan(final String key, int cursor);
|
||||
|
||||
ScanResult<Map.Entry<String, String>> hscan(final String key, final String cursor);
|
||||
|
||||
ScanResult<String> sscan(final String key, final String cursor);
|
||||
|
||||
ScanResult<Tuple> zscan(final String key, final String cursor);
|
||||
|
||||
Long pfadd(final String key, final String... elements);
|
||||
|
||||
long pfcount(final String key);
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user