Package de.cxp.ocs.smartsuggest.updater
Class SuggestionsUpdater
java.lang.Object
de.cxp.ocs.smartsuggest.updater.SuggestionsUpdater
- All Implemented Interfaces:
Instrumentable
,Runnable
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
instrument
(Optional<MeterRegistryAdapter> metricsRegistryAdapter, Iterable<io.micrometer.core.instrument.Tag> tags) Optional meter registry (adapter that gives access to the actual meter-registry).void
run()
-
Constructor Details
-
SuggestionsUpdater
public SuggestionsUpdater()
-
-
Method Details
-
run
public void run() -
instrument
public void instrument(Optional<MeterRegistryAdapter> metricsRegistryAdapter, Iterable<io.micrometer.core.instrument.Tag> tags) Description copied from interface:Instrumentable
Optional meter registry (adapter that gives access to the actual meter-registry). If not available, no metrics should be measured.- Specified by:
instrument
in interfaceInstrumentable
- Parameters:
metricsRegistryAdapter
- optional adaptertags
- these "standard" tags should be used for all added sensors. More tags can be added.
-