Class ZScanBlockingCursorImpl<V>
- java.lang.Object
-
- io.quarkus.redis.runtime.datasource.ZScanBlockingCursorImpl<V>
-
- All Implemented Interfaces:
Cursor<List<ScoredValue<V>>>,ZScanCursor<V>
public class ZScanBlockingCursorImpl<V> extends Object implements ZScanCursor<V>
-
-
Field Summary
-
Fields inherited from interface io.quarkus.redis.datasource.Cursor
INITIAL_CURSOR_ID
-
-
Constructor Summary
Constructors Constructor Description ZScanBlockingCursorImpl(ReactiveZScanCursor<V> reactive, Duration timeout)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longcursorId()booleanhasNext()List<ScoredValue<V>>next()Iterable<ScoredValue<V>>toIterable()Returns anIterableproviding each member of the sorted set individually.
-
-
-
Constructor Detail
-
ZScanBlockingCursorImpl
public ZScanBlockingCursorImpl(ReactiveZScanCursor<V> reactive, Duration timeout)
-
-
Method Detail
-
toIterable
public Iterable<ScoredValue<V>> toIterable()
Description copied from interface:ZScanCursorReturns anIterableproviding each member of the sorted set individually. UnlikeCursor.next()which provides the members by batch, this method returns them one by one.- Specified by:
toIterablein interfaceZScanCursor<V>- Returns:
- the iterable
-
-