Class MetadataReconstructionMetricsCache


  • @ThreadSafe
    public class MetadataReconstructionMetricsCache
    extends java.lang.Object
    • Constructor Detail

      • MetadataReconstructionMetricsCache

        public MetadataReconstructionMetricsCache​(long cacheDuration,
                                                  java.util.concurrent.TimeUnit cacheDurationUnit)
    • Method Detail

      • registerLastDocumentReconstructionDate

        public void registerLastDocumentReconstructionDate​(MetadataCollections metadataCollection,
                                                           int tenant,
                                                           java.lang.String strategy,
                                                           java.time.LocalDateTime lastDocumentReconstructionDate)
      • getDocumentReconstructionLatency

        public java.time.Duration getDocumentReconstructionLatency​(MetadataCollections metadataCollection,
                                                                   int tenant,
                                                                   java.lang.String strategy)
      • registerLastGraphReconstructionDate

        public void registerLastGraphReconstructionDate​(MetadataCollections metadataCollection,
                                                        java.time.LocalDateTime lastGraphReconstructionDate)
      • getGraphReconstructionLatency

        public java.time.Duration getGraphReconstructionLatency​(MetadataCollections metadataCollection)