Package org.jobrunr.configuration
Class JobRunrMicroMeterIntegration
- java.lang.Object
-
- org.jobrunr.configuration.JobRunrMicroMeterIntegration
-
- All Implemented Interfaces:
java.lang.AutoCloseable
public class JobRunrMicroMeterIntegration extends java.lang.Object implements java.lang.AutoCloseable
A wrapper around a MicrometerMeterRegistry
that allows to integrate Micrometer with JobRunr. This wrapper is needed as otherwise the JobRunrConfiguration class would have a dependency on Micrometer which is optional.
-
-
Constructor Summary
Constructors Constructor Description JobRunrMicroMeterIntegration(io.micrometer.core.instrument.MeterRegistry meterRegistry)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
void
initialize(StorageProvider storageProvider, BackgroundJobServer backgroundJobServer)
-
-
-
Method Detail
-
initialize
public void initialize(StorageProvider storageProvider, BackgroundJobServer backgroundJobServer)
-
close
public void close()
- Specified by:
close
in interfacejava.lang.AutoCloseable
-
-