Class MongoDocumentStoreThrottlingMetricsUpdater
- java.lang.Object
-
- org.apache.jackrabbit.oak.plugins.document.mongo.MongoDocumentStoreThrottlingMetricsUpdater
-
- All Implemented Interfaces:
java.io.Closeable
,java.lang.AutoCloseable
public class MongoDocumentStoreThrottlingMetricsUpdater extends java.lang.Object implements java.io.Closeable
Mongo Document Store throttling metric updater. This class fetches and updates the mongo oplog window
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
SIZE
-
Constructor Summary
Constructors Constructor Description MongoDocumentStoreThrottlingMetricsUpdater(@NotNull com.mongodb.client.MongoDatabase localDb, @NotNull org.apache.jackrabbit.guava.common.util.concurrent.AtomicDouble oplogWindow)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
void
scheduleUpdateMetrics()
-
-
-
Field Detail
-
SIZE
public static final java.lang.String SIZE
- See Also:
- Constant Field Values
-
-