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

io.mats3.api.intercept.MatsMetricsInterceptor Maven / Gradle / Ivy

There is a newer version: 0.19.22-2024-11-09
Show newest version
package io.mats3.api.intercept;

/**
 * Marker interface to denote a metrics interceptor. The MatsFactory will only allow one such singleton interceptor, and
 * remove any previously installed if subsequently installing another.
 */
public interface MatsMetricsInterceptor {
    /**
     * When measuring "initiate complete", and the initiation ends up sending no messages, there is no
     * InitiatorId to include. This is a constant that can be used instead. Value is
     * "_no_outgoing_messages_". (Note that this also holds for logging, but it came up first with
     * pure metrics).
     */
    String INITIATOR_ID_WHEN_NO_OUTGOING_MESSAGES = "_no_outgoing_messages_";
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy