Class StorageClientOfferLogIterator
java.lang.Object
fr.gouv.vitam.common.iterables.BulkBufferingEntryIterator<OfferLog>
fr.gouv.vitam.storage.engine.client.StorageClientOfferLogIterator
Implementation of TraceabilityIterator for Storage.
Iterate over OfferLog for the traceability
-
Constructor Summary
ConstructorDescriptionStorageClientOfferLogIterator
(StorageClientFactory storageClientFactory, String strategyId, String offerId, Order order, DataCategory dataCategory, int chunkSize, Long startOffset) -
Method Summary
Modifier and TypeMethodDescriptionloadNextChunk
(int chunkSize) Loads a chunk of the specified size.Methods inherited from class fr.gouv.vitam.common.iterables.BulkBufferingEntryIterator
hasNext, next
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Iterator
forEachRemaining, remove
-
Constructor Details
-
StorageClientOfferLogIterator
public StorageClientOfferLogIterator(StorageClientFactory storageClientFactory, String strategyId, String offerId, Order order, DataCategory dataCategory, int chunkSize, Long startOffset)
-
-
Method Details
-
loadNextChunk
Description copied from class:BulkBufferingEntryIterator
Loads a chunk of the specified size.- Specified by:
loadNextChunk
in classBulkBufferingEntryIterator<OfferLog>
- Returns:
- List with next entries to process. Returned list must be the size specified, unless end of data is reached.
-