Class OfferLogIterator
java.lang.Object
fr.gouv.vitam.common.iterables.BulkBufferingEntryIterator<OfferLog>
fr.gouv.vitam.storage.engine.server.storagetraceability.OfferLogIterator
Iterate over OfferLog
-
Constructor Summary
ConstructorDescriptionOfferLogIterator
(String strategyId, Order order, DataCategory dataCategory, StorageDistribution distribution, int chunkSize) -
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
-
OfferLogIterator
public OfferLogIterator(String strategyId, Order order, DataCategory dataCategory, StorageDistribution distribution, int chunkSize)
-
-
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.
-