Class MetadataReconstructionMetricsCache
java.lang.Object
fr.gouv.vitam.metadata.core.metrics.MetadataReconstructionMetricsCache
-
Constructor Summary
ConstructorsConstructorDescriptionMetadataReconstructionMetricsCache
(long cacheDuration, TimeUnit cacheDurationUnit) -
Method Summary
Modifier and TypeMethodDescriptiongetDocumentReconstructionLatency
(MetadataCollections metadataCollection, int tenant, String strategy) getGraphReconstructionLatency
(MetadataCollections metadataCollection) void
registerLastDocumentReconstructionDate
(MetadataCollections metadataCollection, int tenant, String strategy, LocalDateTime lastDocumentReconstructionDate) void
registerLastGraphReconstructionDate
(MetadataCollections metadataCollection, LocalDateTime lastGraphReconstructionDate)
-
Constructor Details
-
MetadataReconstructionMetricsCache
-
-
Method Details
-
registerLastDocumentReconstructionDate
public void registerLastDocumentReconstructionDate(MetadataCollections metadataCollection, int tenant, String strategy, LocalDateTime lastDocumentReconstructionDate) -
getDocumentReconstructionLatency
public Duration getDocumentReconstructionLatency(MetadataCollections metadataCollection, int tenant, String strategy) -
registerLastGraphReconstructionDate
public void registerLastGraphReconstructionDate(MetadataCollections metadataCollection, LocalDateTime lastGraphReconstructionDate) -
getGraphReconstructionLatency
-