Quantcast
Channel: Active questions tagged redis+java - Stack Overflow
Viewing all articles
Browse latest Browse all 2204

Does the spring-data-redis pipelining executePipelined method guarantee an ordered results list?

$
0
0

Does the Spring data redis executePipelined method guarantee the order of results?

Example:

final List<Object> objects = redisLongOps.executePipelined(new SessionCallback<>() {    @Override    public Object execute(final RedisOperations operations) throws DataAccessException {        operations.opsForValue().get("key1");        operations.opsForValue().get("key2");        operations.opsForValue().get("key3");        return null;    }});objects.get(0); // key1 value?objects.get(1); // key2 value?objects.get(2); // key3 value?

The docs do not specify.


Viewing all articles
Browse latest Browse all 2204

Trending Articles