Class PushMeterRegistry
java.lang.Object
io.micrometer.core.instrument.MeterRegistry
io.micrometer.core.instrument.push.PushMeterRegistry
- Direct Known Subclasses:
StepMeterRegistry
-
Nested Class Summary
Nested classes/interfaces inherited from class io.micrometer.core.instrument.MeterRegistry
MeterRegistry.Config, MeterRegistry.More -
Field Summary
Fields inherited from class io.micrometer.core.instrument.MeterRegistry
clock -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedPushMeterRegistry(PushRegistryConfig config, Clock clock) -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()Closes this registry, releasing any resources in the process.protected booleanReturns if scheduled publishing of metrics is in progress.protected abstract voidpublish()final voidstart()Deprecated.voidstart(ThreadFactory threadFactory) voidstop()Methods inherited from class io.micrometer.core.instrument.MeterRegistry
clear, config, counter, counter, defaultHistogramConfig, find, forEachMeter, gauge, gauge, gauge, gauge, gaugeCollectionSize, gaugeMapSize, get, getBaseTimeUnit, getConventionName, getConventionTags, getMeters, isClosed, meterRegistrationFailed, more, newCounter, newDistributionSummary, newFunctionCounter, newFunctionTimer, newGauge, newLongTaskTimer, newLongTaskTimer, newMeter, newTimeGauge, newTimer, remove, remove, removeByPreFilterId, summary, summary, timer, timer
-
Constructor Details
-
PushMeterRegistry
-
-
Method Details
-
publish
protected abstract void publish() -
isPublishing
protected boolean isPublishing()Returns if scheduled publishing of metrics is in progress.- Returns:
- if scheduled publishing of metrics is in progress
- Since:
- 1.11.0
-
start
Deprecated.Usestart(ThreadFactory)instead. -
start
-
stop
public void stop() -
close
public void close()Description copied from class:MeterRegistryCloses this registry, releasing any resources in the process. Once closed, this registry will no longer accept new meters and any publishing activity will cease.- Overrides:
closein classMeterRegistry
-
start(ThreadFactory)instead.