- Gauge - Annotation Type in org.eclipse.microprofile.metrics.annotation
-
An annotation for marking a method or field as a gauge.
- Gauge<T extends Number> - Interface in org.eclipse.microprofile.metrics
-
A gauge metric is an instantaneous reading of a particular value.
- gauge(String, T, Function<T, R>, Tag...) - Method in interface org.eclipse.microprofile.metrics.MetricRegistry
-
Return the
Gauge
of type
Number
registered under the
MetricID
with this
name and with the provided
Tag
s; or create and register this gauge if none is registered.
- gauge(MetricID, T, Function<T, R>) - Method in interface org.eclipse.microprofile.metrics.MetricRegistry
-
Return the
Gauge
of type
Number
registered under the
MetricID
; or create
and register this gauge if none is registered.
- gauge(Metadata, T, Function<T, R>, Tag...) - Method in interface org.eclipse.microprofile.metrics.MetricRegistry
-
Return the
Gauge
of type
Number
registered under the
MetricID
with
the @{link Metadata}'s name and with the provided
Tag
s; or create and register this gauge if none is
registered.
- gauge(String, Supplier<T>, Tag...) - Method in interface org.eclipse.microprofile.metrics.MetricRegistry
-
Return the
Gauge
registered under the
MetricID
with this name and with the provided
Tag
s;
or create and register this gauge if none is registered.
- gauge(MetricID, Supplier<T>) - Method in interface org.eclipse.microprofile.metrics.MetricRegistry
-
Return the
Gauge
registered under the
MetricID
; or create and register this gauge if none is
registered.
- gauge(Metadata, Supplier<T>, Tag...) - Method in interface org.eclipse.microprofile.metrics.MetricRegistry
-
Return the
Gauge
registered under the
MetricID
with the @{link Metadata}'s name and with the
provided
Tag
s; or create and register this gauge if none is registered.
- getCount() - Method in interface org.eclipse.microprofile.metrics.Counter
-
Returns the counter's current value.
- getCount() - Method in interface org.eclipse.microprofile.metrics.Counting
-
Returns the current count.
- getCount() - Method in interface org.eclipse.microprofile.metrics.Histogram
-
Returns the number of values recorded.
- getCount() - Method in interface org.eclipse.microprofile.metrics.Timer
-
- getCounter(MetricID) - Method in interface org.eclipse.microprofile.metrics.MetricRegistry
-
- getCounters() - Method in interface org.eclipse.microprofile.metrics.MetricRegistry
-
Returns a map of all the counters in the registry and their
MetricID
s.
- getCounters(MetricFilter) - Method in interface org.eclipse.microprofile.metrics.MetricRegistry
-
Returns a map of all the counters in the registry and their
MetricID
s which match the given filter.
- getDescription() - Method in class org.eclipse.microprofile.metrics.DefaultMetadata
-
- getDescription() - Method in interface org.eclipse.microprofile.metrics.Metadata
-
Returns the description of the metric if set, otherwise this method returns the empty
String
.
- getElapsedTime() - Method in interface org.eclipse.microprofile.metrics.Timer
-
Returns the total elapsed timing durations of all completed timing events that are recorded with
Timer.update(Duration)
.
- getGauge(MetricID) - Method in interface org.eclipse.microprofile.metrics.MetricRegistry
-
- getGauges() - Method in interface org.eclipse.microprofile.metrics.MetricRegistry
-
Returns a map of all the gauges in the registry and their
MetricID
s.
- getGauges(MetricFilter) - Method in interface org.eclipse.microprofile.metrics.MetricRegistry
-
Returns a map of all the gauges in the registry and their
MetricID
s which match the given filter.
- getHistogram(MetricID) - Method in interface org.eclipse.microprofile.metrics.MetricRegistry
-
- getHistograms() - Method in interface org.eclipse.microprofile.metrics.MetricRegistry
-
Returns a map of all the histograms in the registry and their
MetricID
s.
- getHistograms(MetricFilter) - Method in interface org.eclipse.microprofile.metrics.MetricRegistry
-
Returns a map of all the histograms in the registry and their
MetricID
s which match the given filter.
- getMax() - Method in class org.eclipse.microprofile.metrics.Snapshot
-
Returns the highest value in the snapshot.
- getMean() - Method in class org.eclipse.microprofile.metrics.Snapshot
-
Returns the arithmetic mean of the values in the snapshot.
- getMetadata(String) - Method in interface org.eclipse.microprofile.metrics.MetricRegistry
-
Return the
Metadata
for the provided name.
- getMetadata() - Method in interface org.eclipse.microprofile.metrics.MetricRegistry
-
Returns a map of all the metadata in the registry and their names.
- getMetric(MetricID) - Method in interface org.eclipse.microprofile.metrics.MetricRegistry
-
- getMetric(MetricID, Class<T>) - Method in interface org.eclipse.microprofile.metrics.MetricRegistry
-
Return the
Metric
registered for the provided
MetricID
as the provided type.
- getMetricIDs() - Method in interface org.eclipse.microprofile.metrics.MetricRegistry
-
Returns a set of the
MetricID
s of all the metrics in the registry.
- getMetrics(MetricFilter) - Method in interface org.eclipse.microprofile.metrics.MetricRegistry
-
Returns a map of all the metrics in the registry and their
MetricID
s which match the given filter.
- getMetrics(Class<T>, MetricFilter) - Method in interface org.eclipse.microprofile.metrics.MetricRegistry
-
Returns a map of all the metrics in the registry and their
MetricID
s which match the given filter and
which are assignable to the provided type.
- getMetrics() - Method in interface org.eclipse.microprofile.metrics.MetricRegistry
-
Returns a map of all the metrics in the registry and their
MetricID
s at query time.
- getName() - Method in class org.eclipse.microprofile.metrics.DefaultMetadata
-
- getName() - Method in interface org.eclipse.microprofile.metrics.Metadata
-
Returns the metric name.
- getName() - Method in class org.eclipse.microprofile.metrics.MetricID
-
Returns the Metric name associated with this MetricID
- getNames() - Method in interface org.eclipse.microprofile.metrics.MetricRegistry
-
Returns a set of the names of all the metrics in the registry.
- getPercentile() - Method in class org.eclipse.microprofile.metrics.Snapshot.PercentileValue
-
Returns percentile
- getScope() - Method in interface org.eclipse.microprofile.metrics.MetricRegistry
-
Returns the scope of this metric registry.
- getSnapshot() - Method in interface org.eclipse.microprofile.metrics.Histogram
-
- getSnapshot() - Method in interface org.eclipse.microprofile.metrics.Sampling
-
Returns a snapshot of the values.
- getSnapshot() - Method in interface org.eclipse.microprofile.metrics.Timer
-
- getSum() - Method in interface org.eclipse.microprofile.metrics.Histogram
-
Returns the sum of values recorded.
- getTagName() - Method in class org.eclipse.microprofile.metrics.Tag
-
- getTags() - Method in class org.eclipse.microprofile.metrics.MetricID
-
Returns the underlying map containing the tags.
- getTagsAsArray() - Method in class org.eclipse.microprofile.metrics.MetricID
-
Gets the list of tags as an array of
Tag
objects.
- getTagsAsList() - Method in class org.eclipse.microprofile.metrics.MetricID
-
Gets the list of tags as a list of
Tag
objects
- getTagsAsString() - Method in class org.eclipse.microprofile.metrics.MetricID
-
Gets the list of tags as a single String in the format 'key="value",key2="value2",...'
- getTagValue() - Method in class org.eclipse.microprofile.metrics.Tag
-
- getTimer(MetricID) - Method in interface org.eclipse.microprofile.metrics.MetricRegistry
-
- getTimers() - Method in interface org.eclipse.microprofile.metrics.MetricRegistry
-
Returns a map of all the timers in the registry and their
MetricID
s.
- getTimers(MetricFilter) - Method in interface org.eclipse.microprofile.metrics.MetricRegistry
-
Returns a map of all the timers in the registry and their
MetricID
s which match the given filter.
- getUnit() - Method in class org.eclipse.microprofile.metrics.DefaultMetadata
-
- getUnit() - Method in interface org.eclipse.microprofile.metrics.Metadata
-
Returns the unit of this metric if set, otherwise this method returns
MetricUnits.NONE
- getValue() - Method in interface org.eclipse.microprofile.metrics.Gauge
-
Returns the metric's current value.
- getValue() - Method in class org.eclipse.microprofile.metrics.Snapshot.PercentileValue
-
Returns value at percentile
- GIBIBITS - Static variable in class org.eclipse.microprofile.metrics.MetricUnits
-
- GIGABITS - Static variable in class org.eclipse.microprofile.metrics.MetricUnits
-
- GIGABYTES - Static variable in class org.eclipse.microprofile.metrics.MetricUnits
-