public class ScanIteration<T> extends Object implements Iterable<T>
ScanIteration
holds the values contained in Redis Multibulk reply on exectuting SCAN
command.Constructor and Description |
---|
ScanIteration(long cursorId,
Collection<T> items) |
Modifier and Type | Method and Description |
---|---|
long |
getCursorId()
The cursor id to be used for subsequent requests.
|
Collection<T> |
getItems()
Get the items returned.
|
Iterator<T> |
iterator() |
public ScanIteration(long cursorId, Collection<T> items)
cursorId
- items
-