![JAR search and dependency download from the Maven repository](/logo.png)
org.avaje.metric.MetricNameCache Maven / Gradle / Ivy
The newest version!
package org.avaje.metric;
/**
* Cache of MetricNames that share a common base name.
*
* Typically this is used when the full name of the metric is known at runtime and must be looked
* up. Using this cache avoids extra parsing of the metrics name and this MetricNameCache exists for
* that performance reason.
*/
public interface MetricNameCache {
/**
* Return the MetricName from the cache creating it if required.
*
* Typically the name passed in could be a soap operation name or method name.
*
*/
MetricName get(String name);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy