I'm using redis under spring boot.
This is my related code:
this.listOps.remove(key, value);
this.listOps.add(key, value, System.currentTimeMillis());
I'm trying to remove and element and add it on the "first" positotion, updating score.
Is there any way to get it using a single sentence?