| Package | Description |
|---|---|
| org.eclipse.microprofile.metrics |
MicroProfile Metrics
|
| Modifier and Type | Method and Description |
|---|---|
SimpleTimer |
MetricRegistry.getSimpleTimer(MetricID metricID)
Return the
SimpleTimer registered for the provided MetricID. |
SimpleTimer |
MetricRegistry.simpleTimer(Metadata metadata)
Return the
SimpleTimer registered under the the MetricID with the Metadata's name and
with no tags; or create and register a new SimpleTimer if none is registered. |
SimpleTimer |
MetricRegistry.simpleTimer(Metadata metadata,
Tag... tags)
Return the
SimpleTimer registered under the the MetricID with the Metadata's name and
with the provided Tags; or create and register a new SimpleTimer if none is registered. |
SimpleTimer |
MetricRegistry.simpleTimer(MetricID metricID)
Return the
SimpleTimer registered under the MetricID;
or create and register a new SimpleTimer if none is registered. |
SimpleTimer |
MetricRegistry.simpleTimer(String name)
Return the
SimpleTimer registered under the MetricID with this name and with no tags; or create
and register a new SimpleTimer if none is registered. |
SimpleTimer |
MetricRegistry.simpleTimer(String name,
Tag... tags)
Return the
SimpleTimer registered under the MetricID with this name and with the provided Tags;
or create and register a new SimpleTimer if none is registered. |
| Modifier and Type | Method and Description |
|---|---|
SortedMap<MetricID,SimpleTimer> |
MetricRegistry.getSimpleTimers()
Returns a map of all the simple timers in the registry and their
MetricIDs. |
SortedMap<MetricID,SimpleTimer> |
MetricRegistry.getSimpleTimers(MetricFilter filter)
Returns a map of all the simple timers in the registry and their
MetricIDs which match the given filter. |
Copyright © 2017 – 2020 Eclipse Foundation. All rights reserved.
Use is subject to license terms.