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

pl.allegro.tech.hermes.consumers.config.HttpClientsMonitoringProperties Maven / Gradle / Ivy

There is a newer version: 2.8.0
Show newest version
package pl.allegro.tech.hermes.consumers.config;

import org.springframework.boot.context.properties.ConfigurationProperties;

@ConfigurationProperties(prefix = "consumer.http-client.monitoring")
public class HttpClientsMonitoringProperties {

    private boolean connectionPoolMonitoringEnabled = false;

    private boolean requestQueueMonitoringEnabled = true;

    public boolean isConnectionPoolMonitoringEnabled() {
        return connectionPoolMonitoringEnabled;
    }

    public void setConnectionPoolMonitoringEnabled(boolean connectionPoolMonitoringEnabled) {
        this.connectionPoolMonitoringEnabled = connectionPoolMonitoringEnabled;
    }

    public boolean isRequestQueueMonitoringEnabled() {
        return requestQueueMonitoringEnabled;
    }

    public void setRequestQueueMonitoringEnabled(boolean requestQueueMonitoringEnabled) {
        this.requestQueueMonitoringEnabled = requestQueueMonitoringEnabled;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy