org.infinispan.commons.stat.CounterMetricInfo Maven / Gradle / Ivy
package org.infinispan.commons.stat;
import java.util.Map;
import java.util.function.BiConsumer;
/**
* Represents a counter. It sets {@link CounterTracker} into the target instance.
*
* A counter tracks a monotonically increasing values and never resets to a lesser value.
*
* @since 15.0
*/
public final class CounterMetricInfo extends BaseSetterMetricInfo {
public CounterMetricInfo(String name, String description, Map map, BiConsumer setter) {
super(name, description, map, setter);
}
}