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

de.otto.edison.metrics.configuration.MetricsLoadProperties Maven / Gradle / Ivy

There is a newer version: 0.82.2
Show newest version
package de.otto.edison.metrics.configuration;

import de.otto.edison.metrics.load.LoadDetector;
import org.springframework.boot.context.properties.ConfigurationProperties;

@ConfigurationProperties(prefix = "edison.metrics.load")
public class MetricsLoadProperties {

    private String timerName;

    private double minThreshold;

    private double maxThreshold;

    private Class strategy;

    public String getTimerName() {
        return this.timerName;
    }

    public void setTimerName(String timerName) {
        this.timerName = timerName;
    }

    public double getMinThreshold() {
        return this.minThreshold;
    }

    public void setMinThreshold(double minThreshold) {
        this.minThreshold = minThreshold;
    }

    public double getMaxThreshold() {
        return this.maxThreshold;
    }

    public void setMaxThreshold(double maxThreshold) {
        this.maxThreshold = maxThreshold;
    }

    public Class getStrategy() {
        return this.strategy;
    }

    public void setStrategy(Class strategy) {
        this.strategy = strategy;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy