Added override annotation to ShardedJedis.set()
This commit is contained in:
@@ -32,11 +32,13 @@ public class ShardedJedis extends BinaryShardedJedis implements JedisCommands {
|
|||||||
return j.set(key, value);
|
return j.set(key, value);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public String set(String key, String value, String nxxx,
|
public String set(String key, String value, String nxxx,
|
||||||
String expx, long time) {
|
String expx, long time) {
|
||||||
Jedis j = getShard(key);
|
Jedis j = getShard(key);
|
||||||
return j.set(key, value, nxxx, expx, time);
|
return j.set(key, value, nxxx, expx, time);
|
||||||
}
|
}
|
||||||
|
|
||||||
public String get(String key) {
|
public String get(String key) {
|
||||||
Jedis j = getShard(key);
|
Jedis j = getShard(key);
|
||||||
return j.get(key);
|
return j.get(key);
|
||||||
|
|||||||
Reference in New Issue
Block a user