Package io.quarkus.redis.datasource
Interface ReactiveCursor<T>
- All Known Subinterfaces:
ReactiveHashScanCursor<K,,V> ReactiveKeyScanCursor<K>,ReactiveSScanCursor<V>,ReactiveZScanCursor<V>
- All Known Implementing Classes:
HScanReactiveCursorImpl,ScanReactiveCursorImpl,SScanReactiveCursorImpl,ZScanReactiveCursorImpl
public interface ReactiveCursor<T>
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final longDeprecated, for removal: This API element is subject to removal in a future version.Previously, this value was -1, assuming that this value is never produced by Redis as an actual cursor. -
Method Summary
-
Field Details
-
INITIAL_CURSOR_ID
Deprecated, for removal: This API element is subject to removal in a future version.Previously, this value was -1, assuming that this value is never produced by Redis as an actual cursor. However, Redis uses unsigned 64-bit integers as cursor values, so the assumption was wrong (-1 as 64-bit signed integer is 0xFFFF_FFFF_FFFF_FFFF, which is the biggest unsigned 64-bit integer). This should have never been exposed publicly and should not be relied upon.The current value is 0, which is the correct initial and final cursor value in Redis.
The cursor id when no operations have been emitted yet.- See Also:
-
-
Method Details
-
hasNext
boolean hasNext() -
next
io.smallrye.mutiny.Uni<T> next() -
cursorId
Deprecated, for removal: This API element is subject to removal in a future version.
-