Expanded deprecated comment, fixed a misspelling of DECRBY.
This commit is contained in:
@@ -565,7 +565,7 @@ public class BinaryJedis implements BasicCommands, BinaryJedisCommands,
|
||||
}
|
||||
|
||||
/**
|
||||
* DECRRBY work just like {@link #decr(byte[]) INCR} but instead to
|
||||
* DECRBY work just like {@link #decr(byte[]) INCR} but instead to
|
||||
* decrement by 1 the decrement is integer.
|
||||
* <p>
|
||||
* INCR commands are limited to 64 bit signed integers.
|
||||
@@ -2145,11 +2145,18 @@ public class BinaryJedis implements BasicCommands, BinaryJedisCommands,
|
||||
return brpop(getArgsAddTimeout(timeout, keys));
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @deprecated unusable command, this command will be removed in 3.0.0.
|
||||
*/
|
||||
@Deprecated
|
||||
public List<byte[]> blpop(byte[] arg) {
|
||||
return blpop(new byte[][]{arg});
|
||||
}
|
||||
|
||||
/**
|
||||
* @deprecated unusable command, this command will be removed in 3.0.0.
|
||||
*/
|
||||
@Deprecated
|
||||
public List<byte[]> brpop(byte[] arg) {
|
||||
return brpop(new byte[][]{arg});
|
||||
|
||||
@@ -220,13 +220,14 @@ public interface BinaryJedisCommands {
|
||||
|
||||
|
||||
/**
|
||||
* @deprecated This command has no meaning.
|
||||
* @deprecated unusable command, this command will be removed in 3.0.0.
|
||||
*/
|
||||
@Deprecated
|
||||
List<byte[]> blpop(byte[] arg);
|
||||
|
||||
|
||||
/**
|
||||
* @deprecated This command has no meaning.
|
||||
* @deprecated unusable command, this command will be removed in 3.0.0.
|
||||
*/
|
||||
@Deprecated
|
||||
List<byte[]> brpop(byte[] arg);
|
||||
|
||||
@@ -1882,7 +1882,7 @@ public class Jedis extends BinaryJedis implements JedisCommands,
|
||||
}
|
||||
|
||||
/**
|
||||
* @deprecated unusable command
|
||||
* @deprecated unusable command, this command will be removed in 3.0.0.
|
||||
*/
|
||||
@Deprecated
|
||||
public List<String> blpop(String arg) {
|
||||
@@ -1890,7 +1890,7 @@ public class Jedis extends BinaryJedis implements JedisCommands,
|
||||
}
|
||||
|
||||
/**
|
||||
* @deprecated unusable command
|
||||
* @deprecated unusable command, this command will be removed in 3.0.0.
|
||||
*/
|
||||
@Deprecated
|
||||
public List<String> brpop(String arg) {
|
||||
|
||||
@@ -217,7 +217,7 @@ public interface JedisCommands {
|
||||
Long rpushx(String key, String... string);
|
||||
|
||||
/**
|
||||
* @deprecated unusable command
|
||||
* @deprecated unusable command, this will be removed in 3.0.0.
|
||||
*/
|
||||
@Deprecated
|
||||
List<String> blpop(String arg);
|
||||
@@ -225,7 +225,7 @@ public interface JedisCommands {
|
||||
List<String> blpop(int timeout, String key);
|
||||
|
||||
/**
|
||||
* @deprecated unusable command
|
||||
* @deprecated unusable command, this will be removed in 3.0.0.
|
||||
*/
|
||||
@Deprecated
|
||||
List<String> brpop(String arg);
|
||||
|
||||
Reference in New Issue
Block a user