/** * Alter the last access time of given {@code key(s)}. * * @param keys must not be {@literal null}. * @return {@link Mono} emitting the number of keys touched. * @see <a href="http://redis.io/commands/touch">Redis Documentation: TOUCH</a> * @since 2.1 */ default Mono<Long> touch(Collection<ByteBuffer> keys) { return touch(Mono.just(keys)).next().map(NumericResponse::getOutput); }
/** * Alter the last access time of given {@code key(s)}. * * @param keys must not be {@literal null}. * @return {@link Mono} emitting the number of keys touched. * @see <a href="http://redis.io/commands/touch">Redis Documentation: TOUCH</a> * @since 2.1 */ default Mono<Long> touch(Collection<ByteBuffer> keys) { return touch(Mono.just(keys)).next().map(NumericResponse::getOutput); }
/** * Alter the last access time of given {@code key(s)}. * * @param keys must not be {@literal null}. * @return {@link Mono} emitting the number of keys touched. * @see <a href="http://redis.io/commands/touch">Redis Documentation: TOUCH</a> * @since 2.1 */ default Mono<Long> touch(Collection<ByteBuffer> keys) { return touch(Mono.just(keys)).next().map(NumericResponse::getOutput); }