refactor: 将keys标记为不建议使用

This commit is contained in:
zhangRui 2022-04-15 19:55:45 +08:00
parent 6645f7c5ce
commit 07c2e9c82e

View File

@ -239,6 +239,7 @@ public class RedisCache
* @param pattern 字符串前缀
* @return 对象列表
*/
@Deprecated
public Collection<String> keys(final String pattern)
{
return redisTemplate.keys(pattern);