Class FunctionalAdministrationReconstructionMetricsCache
- java.lang.Object
-
- fr.gouv.vitam.functional.administration.core.reconstruction.FunctionalAdministrationReconstructionMetricsCache
-
@ThreadSafe public class FunctionalAdministrationReconstructionMetricsCache extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description FunctionalAdministrationReconstructionMetricsCache(long cacheDuration, java.util.concurrent.TimeUnit cacheDurationUnit)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.time.Duration
getReconstructionLatency(FunctionalAdminCollections collection, int tenant)
void
registerLastDocumentReconstructionDate(FunctionalAdminCollections collection, int tenant, java.time.LocalDateTime lastDocumentReconstructionDate)
-
-
-
Method Detail
-
registerLastDocumentReconstructionDate
public void registerLastDocumentReconstructionDate(FunctionalAdminCollections collection, int tenant, java.time.LocalDateTime lastDocumentReconstructionDate)
-
getReconstructionLatency
public java.time.Duration getReconstructionLatency(FunctionalAdminCollections collection, int tenant)
-
-