T
- The type returned by the iteratorE
- The AbstractPaginationRequest
this loader will invokeF
- The AbstractPaginationResponse
that the AbstractPaginationRequest
will return.public class SpectraS3PaginationLoader<T,E extends AbstractPaginationRequest,F extends AbstractPaginationResponse> extends java.lang.Object implements LazyIterable.LazyLoader<T>
PaginatingCommand
which implements the
call specific logic for each paginated request.Constructor and Description |
---|
SpectraS3PaginationLoader(PaginatingCommand<T,E,F> paginatingCommand,
int pageLength,
int retries) |
Modifier and Type | Method and Description |
---|---|
java.util.List<T> |
getNextValues() |
public SpectraS3PaginationLoader(PaginatingCommand<T,E,F> paginatingCommand, int pageLength, int retries)
public java.util.List<T> getNextValues()
getNextValues
in interface LazyIterable.LazyLoader<T>