@RequestScoped public class CircuitBreakerClientHigherSuccessThreshold extends Object implements Serializable
Constructor and Description |
---|
CircuitBreakerClientHigherSuccessThreshold() |
Modifier and Type | Method and Description |
---|---|
int |
getCounterForInvokingServiceA() |
Connection |
serviceA() |
void |
setCounterForInvokingServiceA(int count) |
public CircuitBreakerClientHigherSuccessThreshold()
public int getCounterForInvokingServiceA()
public void setCounterForInvokingServiceA(int count)
@CircuitBreaker(successThreshold=3, requestVolumeThreshold=4, failureRatio=0.75, delay=1000L) public Connection serviceA()
Copyright © 2016 – 2022 Eclipse Foundation. All rights reserved.
Use is subject to license terms.