|
|
@ -23,7 +23,8 @@ public class RedisKit {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public static boolean Exists(String key) {
|
|
|
|
public static boolean Exists(String key) {
|
|
|
|
return Redis.use().call(jedis -> jedis.exists(key));
|
|
|
|
if (Redis.use() != null) return Redis.use().call(jedis -> jedis.exists(key));
|
|
|
|
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|