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

net.openhft.chronicle.analytics.internal.MuteAnalytics Maven / Gradle / Ivy

package net.openhft.chronicle.analytics.internal;

import net.openhft.chronicle.analytics.Analytics;
import org.jetbrains.annotations.NotNull;

import java.util.Map;

enum MuteAnalytics implements Analytics {
    INSTANCE;
    int mutedEvents = 0;

    @Override
    public void sendEvent(@NotNull String name, @NotNull Map additionalEventParameters) {
        // Do nothing because this is a mute instance.
        mutedEvents++;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy