Expanded deprecated comment, fixed a misspelling of DECRBY.

This commit is contained in:
rdifalco
2014-10-19 13:22:17 -07:00
parent 8f4dbaf89f
commit 076df8c92d
4 changed files with 15 additions and 7 deletions

View File

@@ -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. * decrement by 1 the decrement is integer.
* <p> * <p>
* INCR commands are limited to 64 bit signed integers. * INCR commands are limited to 64 bit signed integers.
@@ -2145,11 +2145,18 @@ public class BinaryJedis implements BasicCommands, BinaryJedisCommands,
return brpop(getArgsAddTimeout(timeout, keys)); return brpop(getArgsAddTimeout(timeout, keys));
} }
/**
* @deprecated unusable command, this command will be removed in 3.0.0.
*/
@Deprecated @Deprecated
public List<byte[]> blpop(byte[] arg) { public List<byte[]> blpop(byte[] arg) {
return blpop(new byte[][]{arg}); return blpop(new byte[][]{arg});
} }
/**
* @deprecated unusable command, this command will be removed in 3.0.0.
*/
@Deprecated @Deprecated
public List<byte[]> brpop(byte[] arg) { public List<byte[]> brpop(byte[] arg) {
return brpop(new byte[][]{arg}); return brpop(new byte[][]{arg});

View File

@@ -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 @Deprecated
List<byte[]> blpop(byte[] arg); List<byte[]> blpop(byte[] arg);
/** /**
* @deprecated This command has no meaning. * @deprecated unusable command, this command will be removed in 3.0.0.
*/ */
@Deprecated @Deprecated
List<byte[]> brpop(byte[] arg); List<byte[]> brpop(byte[] arg);

View File

@@ -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 @Deprecated
public List<String> blpop(String arg) { 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 @Deprecated
public List<String> brpop(String arg) { public List<String> brpop(String arg) {

View File

@@ -217,7 +217,7 @@ public interface JedisCommands {
Long rpushx(String key, String... string); Long rpushx(String key, String... string);
/** /**
* @deprecated unusable command * @deprecated unusable command, this will be removed in 3.0.0.
*/ */
@Deprecated @Deprecated
List<String> blpop(String arg); List<String> blpop(String arg);
@@ -225,7 +225,7 @@ public interface JedisCommands {
List<String> blpop(int timeout, String key); List<String> blpop(int timeout, String key);
/** /**
* @deprecated unusable command * @deprecated unusable command, this will be removed in 3.0.0.
*/ */
@Deprecated @Deprecated
List<String> brpop(String arg); List<String> brpop(String arg);