Class OfferLogIterator
- java.lang.Object
-
- fr.gouv.vitam.common.iterables.BulkBufferingEntryIterator<OfferLog>
-
- fr.gouv.vitam.storage.engine.server.storagetraceability.OfferLogIterator
-
- All Implemented Interfaces:
java.util.Iterator<OfferLog>
public class OfferLogIterator extends BulkBufferingEntryIterator<OfferLog>
Iterate over OfferLog
-
-
Constructor Summary
Constructors Constructor Description OfferLogIterator(java.lang.String strategyId, Order order, DataCategory dataCategory, StorageDistribution distribution, int chunkSize)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.util.List<OfferLog>
loadNextChunk(int chunkSize)
Loads a chunk of the specified size.-
Methods inherited from class fr.gouv.vitam.common.iterables.BulkBufferingEntryIterator
hasNext, next
-
-
-
-
Constructor Detail
-
OfferLogIterator
public OfferLogIterator(java.lang.String strategyId, Order order, DataCategory dataCategory, StorageDistribution distribution, int chunkSize)
-
-
Method Detail
-
loadNextChunk
protected java.util.List<OfferLog> loadNextChunk(int chunkSize)
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.
-
-