|
|
|
@ -549,15 +549,4 @@ public final class RedisUtil {
|
|
|
|
|
* @return 移除的个数
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
public long lRemove(String key, long count, Object value) {
|
|
|
|
|
try {
|
|
|
|
|
Long remove = redisTemplate.opsForList().remove(key, count, value);
|
|
|
|
|
return remove;
|
|
|
|
|
} catch (Exception e) {
|
|
|
|
|
e.printStackTrace();
|
|
|
|
|
return 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|