14171418141914201421142214231424142514261427
long i = 0L; boolean includeSet = (previousReceiptHandle == null) ? true : false; while (retCount < num && i < llen) { List<String> memIds = jedis.lrange(queueUrl + "-" + shard + "-Q", i, i + num - 1); if (memIds.size() == 0) { break; // done }