Spring data redis模糊key,并删除数据
1、使用spring data Redis 中的StringRedisTemplate模糊匹配key模糊匹配的方法,源码如下:public Set<K> keys(K pattern) { final byte[] rawKey = rawKey(pattern); Set<byte[]> rawKeys = execute(new RedisCallbac...
原创
2019-07-10 01:21:09 ·
2834 阅读 ·
0 评论