|
|
@ -50,7 +50,7 @@ public abstract class BaseRedisClient<A> implements RedisClient<A> { |
|
|
|
@ScriptBridge |
|
|
|
@ScriptBridge |
|
|
|
public String hkeys(String key) { |
|
|
|
public String hkeys(String key) { |
|
|
|
long start = System.currentTimeMillis(); |
|
|
|
long start = System.currentTimeMillis(); |
|
|
|
Set<String> set = jedis.keys(key); |
|
|
|
Set<String> set = jedis.hkeys(key); |
|
|
|
LogKit.info("Fetch data from redis spend time {} ms.", System.currentTimeMillis() - start); |
|
|
|
LogKit.info("Fetch data from redis spend time {} ms.", System.currentTimeMillis() - start); |
|
|
|
return object2JSONString(set); |
|
|
|
return object2JSONString(set); |
|
|
|
} |
|
|
|
} |
|
|
|