
com.github.mtakaki.dropwizard.circuitbreaker.jersey.CircuitBreakerConfiguration Maven / Gradle / Ivy
package com.github.mtakaki.dropwizard.circuitbreaker.jersey;
import java.util.HashMap;
import java.util.Map;
import com.github.mtakaki.dropwizard.circuitbreaker.RateType;
import lombok.Getter;
import lombok.Setter;
@Getter
@Setter
public class CircuitBreakerConfiguration {
/**
* Default threshold.
*/
private double threshold;
/**
* Default threshold rate type.
*/
private RateType rateType;
/**
* Custom thresholds with circuit breaker name and threshold value.
*/
private Map customThresholds = new HashMap<>();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy