Class OfferLogCompactionDatabaseService
- java.lang.Object
-
- fr.gouv.vitam.storage.offers.database.OfferLogCompactionDatabaseService
-
public class OfferLogCompactionDatabaseService extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description OfferLogCompactionDatabaseService(com.mongodb.client.MongoCollection<org.bson.Document> offerLogCompactionCollection)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<OfferLog>
getAscendingOfferLogCompactionBy(java.lang.String containerName, java.lang.Long offset, int limit)
java.util.List<OfferLog>
getDescendingOfferLogCompactionBy(java.lang.String containerName, java.lang.Long offset, int limit)
boolean
loadNextOfferLogsAscending(java.lang.String containerName, java.lang.Long offset, int limit, java.util.List<OfferLog> results)
-
-
-
Method Detail
-
getDescendingOfferLogCompactionBy
public java.util.List<OfferLog> getDescendingOfferLogCompactionBy(java.lang.String containerName, java.lang.Long offset, int limit)
-
getAscendingOfferLogCompactionBy
public java.util.List<OfferLog> getAscendingOfferLogCompactionBy(java.lang.String containerName, java.lang.Long offset, int limit)
-
loadNextOfferLogsAscending
public boolean loadNextOfferLogsAscending(java.lang.String containerName, java.lang.Long offset, int limit, java.util.List<OfferLog> results)
-
-