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 long
cursorId()
boolean
hasNext()
List<V>
next()
Iterable<V>
toIterable()
Returns anIterable
providing 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:SScanCursor
Returns anIterable
providing each member of the set individually. UnlikeCursor.next()
which provides the members by batch, this method returns them one by one.- Specified by:
toIterable
in interfaceSScanCursor<V>
- Returns:
- the iterable
-
-