Package io.prometheus.metrics.core.util
Class Scheduler
java.lang.Object
io.prometheus.metrics.core.util.Scheduler
Used for scheduling maintenance tasks like purging outdated Exemplars or resetting native histograms.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Scheduler
public Scheduler()
-
-
Method Details
-
schedule
-
awaitInitialization
For unit test. Wait until the executor Thread is running.- Throws:
InterruptedException
-