Package redis.clients.jedis

Examples of redis.clients.jedis.ShardedJedis.llen()


                    logger.debug("event=scheduled_revisibility_processor");
                }
            } catch (SetFailedException e) {
            }

            long llen = jedis.llen(queueUrl + "-" + shard + "-Q");
           
            if (llen == 0L) {
                return Collections.emptyList();
            }
           
View Full Code Here


                if (processHiddenIds) {
                  checkAndSetVisibilityProcessing(queueUrl, shard, CMBProperties.getInstance().getRedisRevisibleFrequencySec());
                    tryCheckAndProcessRevisibleSet(queueUrl, shard, CMBProperties.getInstance().getRedisRevisibleSetFrequencySec());
                }
             
                messageCount += jedis.llen(queueUrl + "-" + shard + "-Q");
            }
         
        } catch (JedisException e) {
            brokenJedis = true;
            throw e;
View Full Code Here

        try {

          jedis = getResource();
           
          for (int shard=0; shard<numberOfShards; shard++) {          
                messageCount += jedis.llen(queueUrl + "-" + shard + "-Q");
            }
         
        } catch (JedisException e) {
            brokenJedis = true;
            throw e;
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.