package com.eactive.eai.common.circuitBreaker.type;

import io.github.resilience4j.circuitbreaker.CircuitBreakerConfig;
import lombok.Builder;
import lombok.Data;

@Data
@Builder
public class TypedCircuitBreakerVO {
	String id;
	String type;
	String name;
	String desc;
	int failureRateThreshold;
	int slidingWindowSize;
	int minimumNumberOfCalls;
	int waitDurationInOpenState;
	int permittedNumberOfCallsInHalfOpenState;
	int slowCallRateThreshold;
	int slowCallDurationThreshold;
	String useYn;
	CircuitBreakerConfig circuitBreakerConfig;
}