|Known Indirect Subclasses|
CloseableIterable that supports pagination while traversing a repository or incremental
changes. An implementation can optionally break a large traversal process into smaller pieces,
using checkpoints to track progress, and returning
hasMore() to indicate more objects are available.
CheckpointCloseableIterableImpl for an implementation.
Public Method Summary
Get current checkpoint value.
Inherited Method Summary
Performs any actions necessary to stop accessing the repository, such as closing the connection.
forEach(Consumer<? super T> arg0)
public abstract byte getCheckpoint ()
Get current checkpoint value. Framework is expected to call this method only after iterating through all objects available.
- checkpoint value to save
|RuntimeException||if computation of checkpoint value fails.|
public abstract boolean hasMore ()
Flag to indicate if more items are available to traverse beyond current set of ApiOperations
returned as part of
Iterable. Framework is expected to call this method only after
iterating through all objects available.
- True if more objects are available for processing after current batch. False if no more objects available for traversal.