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 Tag s; 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 Tag s;
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
MetricID s. |
SortedMap<MetricID,SimpleTimer> |
MetricRegistry.getSimpleTimers(MetricFilter filter)
Returns a map of all the simple timers in the registry and their
MetricID s which match the given filter. |
Copyright © 2020. All rights reserved.