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

# Class OfferLogAndCompactedOfferLogService

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

public class OfferLogAndCompactedOfferLogService extends Object

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `OfferLogAndCompactedOfferLogService(com.mongodb.client.MongoCollection<org.bson.Document> offerLogCollection, com.mongodb.client.MongoCollection<org.bson.Document> compactedOfferLogCollection)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `almostTransactionalSaveAndDelete(CompactedOfferLog toSave, List<OfferLog> toDelete)`

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

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

- ## Constructor Details

  - ### OfferLogAndCompactedOfferLogService

    public OfferLogAndCompactedOfferLogService(com.mongodb.client.MongoCollection<org.bson.Document> offerLogCollection, com.mongodb.client.MongoCollection<org.bson.Document> compactedOfferLogCollection)

- ## Method Details

  - ### almostTransactionalSaveAndDelete

    public void almostTransactionalSaveAndDelete(CompactedOfferLog toSave, List<OfferLog> toDelete)