/** * Use a {@link Flux} to iterate over keys. The resulting {@link Flux} acts as a cursor and issues {@code SCAN} * commands itself as long as the subscriber signals demand. * * @return the {@link Flux} emitting the {@literal keys} one by one or an {@link Flux#empty() empty flux} if none * exist. * @see <a href="http://redis.io/commands/scan">Redis Documentation: SCAN</a> * @since 2.1 */ default Flux<K> scan() { return scan(ScanOptions.NONE); }
/** * Use a {@link Flux} to iterate over keys. The resulting {@link Flux} acts as a cursor and issues {@code SCAN} * commands itself as long as the subscriber signals demand. * * @return the {@link Flux} emitting the {@literal keys} one by one or an {@link Flux#empty() empty flux} if none * exist. * @see <a href="http://redis.io/commands/scan">Redis Documentation: SCAN</a> * @since 2.1 */ default Flux<K> scan() { return scan(ScanOptions.NONE); }
/** * Use a {@link Flux} to iterate over keys. The resulting {@link Flux} acts as a cursor and issues {@code SCAN} * commands itself as long as the subscriber signals demand. * * @return the {@link Flux} emitting the {@literal keys} one by one or an {@link Flux#empty() empty flux} if none * exist. * @see <a href="http://redis.io/commands/scan">Redis Documentation: SCAN</a> * @since 2.1 */ default Flux<K> scan() { return scan(ScanOptions.NONE); }