All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.infinispan.commons.stat.MetricInfo Maven / Gradle / Ivy

There is a newer version: 15.1.0.Dev04
Show newest version
package org.infinispan.commons.stat;

import java.util.Collections;
import java.util.Map;

/**
 * Class that represent the information about a metrics.
 * 

* Includes the metrics's name, description and tags. Subclasses can add more information about it. * * @since 15.0 */ public interface MetricInfo { /** * @return The metrics name. */ String getName(); /** * @return The metrics description/help message. */ String getDescription(); /** * @return The tags to be used. Must be non-null. */ default Map getTags() { return Collections.emptyMap(); } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy