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

com.avast.metrics.api.Naming Maven / Gradle / Ivy

package com.avast.metrics.api;

public interface Naming {
    static Naming defaultNaming() {
        return new Naming() {
            @Override
            public String successTimerName(String base) {
                return base + "Successes";
            }

            @Override
            public String failureTimerName(String base) {
                return base + "Failures";
            }
        };
    }

    String successTimerName(String base);

    String failureTimerName(String base);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy