List of usage examples for org.springframework.data.redis.core BoundZSetOperations incrementScore
@Nullable
Double incrementScore(V value, double delta);
From source file:org.springframework.integration.redis.outbound.RedisStoreWritingMessageHandler.java
private void doIncrementOrOverwrite(final BoundZSetOperations<String, Object> ops, Object object, Double score, boolean increment) { if (increment) { ops.incrementScore(object, score); } else {/* w w w .j a v a2 s .c om*/ ops.add(object, score); } }