Package fr.gouv.vitam.storage.offers.database

# Class OfferLogCompactionDatabaseService

java.lang.Object
fr.gouv.vitam.storage.offers.database.OfferLogCompactionDatabaseService

public class OfferLogCompactionDatabaseService extends Object

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `OfferLogCompactionDatabaseService(com.mongodb.client.MongoCollection<org.bson.Document> offerLogCompactionCollection)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `List<OfferLog>`
  `getAscendingOfferLogCompactionBy(String containerName, Long offset, int limit)`
  `List<OfferLog>`
  `getDescendingOfferLogCompactionBy(String containerName, Long offset, int limit)`
  `boolean`
  `loadNextOfferLogsAscending(String containerName, Long offset, int limit, List<OfferLog> results)`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### OfferLogCompactionDatabaseService

    public OfferLogCompactionDatabaseService(com.mongodb.client.MongoCollection<org.bson.Document> offerLogCompactionCollection)

- ## Method Details

  - ### getDescendingOfferLogCompactionBy

    public List<OfferLog> getDescendingOfferLogCompactionBy(String containerName, Long offset, int limit)

  - ### getAscendingOfferLogCompactionBy

    public List<OfferLog> getAscendingOfferLogCompactionBy(String containerName, Long offset, int limit)

  - ### loadNextOfferLogsAscending

    public boolean loadNextOfferLogsAscending(String containerName, Long offset, int limit, List<OfferLog> results)