public void zDelByScore(String cacheKey, double minScore, double maxScore) throws Exception {
   ShardedJedis jedis = null;
   try {
     jedis = jedisPool.getResource();
     jedis.zremrangeByScore(cacheKey, minScore, maxScore);
   } catch (Exception e) {
     throw e;
   } finally {
     if (jedis != null) {
       jedisPool.returnResource(jedis);
     }
   }
 }
 /**
  * 通过key删除指定score内的元素
  *
  * @param key
  * @param start
  * @param end
  * @return
  */
 public Long zremrangeByScore(String key, double start, double end) {
   ShardedJedis jedis = null;
   Long res = null;
   try {
     jedis = pool.getResource();
     res = jedis.zremrangeByScore(key, start, end);
   } catch (Exception e) {
     pool.returnBrokenResource(jedis);
     e.printStackTrace();
   } finally {
     returnResource(pool, jedis);
   }
   return res;
 }