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

io.split.client.impressions.ImpressionsManager Maven / Gradle / Ivy

package io.split.client.impressions;

import java.util.List;

public interface ImpressionsManager {

    public enum Mode {
        OPTIMIZED,
        DEBUG,
        NONE
    }

    void track(List impressions);
    void start();
    void close();

    final class NoOpImpressionsManager implements ImpressionsManager {

        @Override
        public void track(List impressions) { /* do nothing */ }

        @Override
        public void start(){
            /* do nothing */
        }

        @Override
        public void close() {
            /* do nothing */
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy