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