Class PushMeterRegistry
- java.lang.Object
-
- io.micrometer.core.instrument.MeterRegistry
-
- io.micrometer.core.instrument.push.PushMeterRegistry
-
- Direct Known Subclasses:
StepMeterRegistry
public abstract class PushMeterRegistry extends MeterRegistry
-
-
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
Constructors Modifier Constructor Description protected
PushMeterRegistry(PushRegistryConfig config, Clock clock)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
close()
Closes this registry, releasing any resources in the process.protected abstract void
publish()
void
start()
Deprecated.Usestart(ThreadFactory)
instead.void
start(java.util.concurrent.ThreadFactory threadFactory)
void
stop()
-
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, more, newCounter, newDistributionSummary, newFunctionCounter, newFunctionTimer, newGauge, newLongTaskTimer, newMeter, newTimeGauge, newTimer, remove, remove, summary, summary, timer, timer
-
-
-
-
Constructor Detail
-
PushMeterRegistry
protected PushMeterRegistry(PushRegistryConfig config, Clock clock)
-
-
Method Detail
-
publish
protected abstract void publish()
-
start
@Deprecated public final void start()
Deprecated.Usestart(ThreadFactory)
instead.
-
start
public void start(java.util.concurrent.ThreadFactory threadFactory)
-
stop
public void stop()
-
close
public void close()
Description copied from class:MeterRegistry
Closes 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:
close
in classMeterRegistry
-
-