- All Implemented Interfaces:
Iterable<T>
ScanIteration holds the values contained in Redis Multibulk reply on exectuting SCAN
command.
- Since:
- 1.4
- Author:
- Christoph Strobl, Mark Paluch
-
Constructor Summary
Constructors
-
Method Summary
long
The cursor id to be used for subsequent requests.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
ScanIteration
public ScanIteration(long cursorId,
@Nullable
Collection<T> items)
- Parameters:
cursorId -
items -
-
Method Details
-
getCursorId
public long getCursorId()
The cursor id to be used for subsequent requests.
- Returns:
-
getItems
Get the items returned.
- Returns:
-