!266 add 增加 RedisUtils 检查缓存对象是否存在方法

Merge pull request !266 from KonBAI/dev
feature/model
疯狂的狮子Li 2 years ago committed by Gitee
commit aeacfea536
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

@ -209,6 +209,15 @@ public class RedisUtils {
batch.execute();
}
/**
*
*
* @param key
*/
public static boolean isExistsObject(final String key) {
return CLIENT.getBucket(key).isExists();
}
/**
* List
*

Loading…
Cancel
Save