Package fr.gouv.vitam.functional.administration.core.reconstruction

# Class FunctionalAdministrationReconstructionMetricsCache

java.lang.Object
fr.gouv.vitam.functional.administration.core.reconstruction.FunctionalAdministrationReconstructionMetricsCache

@ThreadSafe public class FunctionalAdministrationReconstructionMetricsCache extends Object

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `FunctionalAdministrationReconstructionMetricsCache(long cacheDuration, TimeUnit cacheDurationUnit)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `Duration`
  `getReconstructionLatency(FunctionalAdminCollections collection, int tenant)`
  `void`
  `registerLastDocumentReconstructionDate(FunctionalAdminCollections collection, int tenant, LocalDateTime lastDocumentReconstructionDate)`

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

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

- ## Constructor Details

  - ### FunctionalAdministrationReconstructionMetricsCache

    public FunctionalAdministrationReconstructionMetricsCache(long cacheDuration, TimeUnit cacheDurationUnit)

- ## Method Details

  - ### registerLastDocumentReconstructionDate

    public void registerLastDocumentReconstructionDate(FunctionalAdminCollections collection, int tenant, LocalDateTime lastDocumentReconstructionDate)

  - ### getReconstructionLatency

    public Duration getReconstructionLatency(FunctionalAdminCollections collection, int tenant)