本文整理了Java中io.vertx.redis.RedisClient.zremrangebyscore
方法的一些代码示例,展示了RedisClient.zremrangebyscore
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。RedisClient.zremrangebyscore
方法的具体详情如下:
包路径:io.vertx.redis.RedisClient
类名称:RedisClient
方法名:zremrangebyscore
[英]Remove all members in a sorted set within the given scores
[中]删除给定分数内已排序集合中的所有成员
代码示例来源:origin: io.vertx/vertx-rx-java
/**
* Remove all members in a sorted set within the given scores
* @param key Key string
* @param min Pattern defining a minimum value
* @param max Pattern defining a maximum value
* @param handler
* @return
*/
public io.vertx.rxjava.redis.RedisClient zremrangebyscore(String key, String min, String max, Handler<AsyncResult<Long>> handler) {
delegate.zremrangebyscore(key, min, max, handler);
return this;
}
代码示例来源:origin: vert-x3/vertx-rx
/**
* Remove all members in a sorted set within the given scores
* @param key Key string
* @param min Pattern defining a minimum value
* @param max Pattern defining a maximum value
* @param handler
* @return
*/
public io.vertx.rxjava.redis.RedisClient zremrangebyscore(String key, String min, String max, Handler<AsyncResult<Long>> handler) {
delegate.zremrangebyscore(key, min, max, handler);
return this;
}
代码示例来源:origin: org.swisspush/redisques
/**
* Remove queues from the sorted set that are timestamped before a limit time.
*
* @param limit limit timestamp
*/
private void removeOldQueues(long limit) {
log.debug("Cleaning old queues");
redisClient.zremrangebyscore(getQueuesKey(), "-inf", String.valueOf(limit), event -> {
});
}
内容来源于网络,如有侵权,请联系作者删除!