@RequestScoped public class CircuitBreakerClientWithDelay extends Object implements Serializable
Constructor and Description |
---|
CircuitBreakerClientWithDelay() |
Modifier and Type | Method and Description |
---|---|
int |
getCounterForInvokingServiceA() |
Connection |
serviceA() |
void |
setCounterForInvokingServiceA(int count) |
public int getCounterForInvokingServiceA()
public void setCounterForInvokingServiceA(int count)
@CircuitBreaker(successThreshold=2, requestVolumeThreshold=4, failureRatio=0.75, delay=50000L) public Connection serviceA()
Copyright © 2020 Eclipse Foundation. All rights reserved.