Remove duplicates ...
This commit is contained in:
@@ -27,12 +27,6 @@ public class Jedis extends BinaryJedis implements JedisCommands {
|
|||||||
super(shardInfo);
|
super(shardInfo);
|
||||||
}
|
}
|
||||||
|
|
||||||
public String ping() {
|
|
||||||
checkIsInMulti();
|
|
||||||
client.ping();
|
|
||||||
return client.getStatusCodeReply();
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Set the string value as value of the key. The string can't be longer than
|
* Set the string value as value of the key. The string can't be longer than
|
||||||
* 1073741824 bytes (1 GB).
|
* 1073741824 bytes (1 GB).
|
||||||
@@ -289,19 +283,6 @@ public class Jedis extends BinaryJedis implements JedisCommands {
|
|||||||
return client.getIntegerReply();
|
return client.getIntegerReply();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* Select the DB with having the specified zero-based numeric index. For
|
|
||||||
* default every new client connection is automatically selected to DB 0.
|
|
||||||
*
|
|
||||||
* @param index
|
|
||||||
* @return Status code reply
|
|
||||||
*/
|
|
||||||
public String select(final int index) {
|
|
||||||
checkIsInMulti();
|
|
||||||
client.select(index);
|
|
||||||
return client.getStatusCodeReply();
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Move the specified key from the currently selected DB to the specified
|
* Move the specified key from the currently selected DB to the specified
|
||||||
* destination DB. Note that this command returns 1 only if the key was
|
* destination DB. Note that this command returns 1 only if the key was
|
||||||
|
|||||||
Reference in New Issue
Block a user