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

ru.fix.aggregating.profiler.AggregatingIndicationProvider Maven / Gradle / Ivy

There is a newer version: 1.6.6
Show newest version
package ru.fix.aggregating.profiler;

import ru.fix.aggregating.profiler.engine.AutoLabelStickerable;

import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;

public class AggregatingIndicationProvider implements AutoLabelStickerable {
    private final Map autoLabels = new ConcurrentHashMap<>();
    private final IndicationProvider provider;
    
    public AggregatingIndicationProvider(IndicationProvider provider) {
        this.provider = provider;
    }

    public IndicationProvider getProvider() {
        return this.provider;
    }

    @Override
    public void setAutoLabel(String name, String value) {
        this.autoLabels.put(name, value);
    }

    @Override
    public Map getAutoLabels() {
        return autoLabels;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy