Class MongoDocumentStoreThrottlingMetricsUpdater

  • All Implemented Interfaces:
    Closeable, AutoCloseable

    public class MongoDocumentStoreThrottlingMetricsUpdater
    extends Object
    implements Closeable
    Mongo Document Store throttling metric updater. This class fetches and updates the mongo oplog window
    • Constructor Detail

      • MongoDocumentStoreThrottlingMetricsUpdater

        public MongoDocumentStoreThrottlingMetricsUpdater​(@NotNull
                                                          @NotNull com.mongodb.client.MongoDatabase localDb,
                                                          @NotNull
                                                          @NotNull AtomicReference<Double> oplogWindow)