6 |
import dk.thoerup.circuitbreaker.config.BreakerConfig; |
import dk.thoerup.circuitbreaker.config.BreakerConfig; |
7 |
import dk.thoerup.circuitbreaker.config.StaticConfig; |
import dk.thoerup.circuitbreaker.config.StaticConfig; |
8 |
|
|
9 |
|
@Deprecated |
10 |
public class AccountingCircuitBreaker extends CircuitBreaker { |
public class AccountingCircuitBreaker extends CircuitBreaker { |
11 |
|
|
12 |
private AtomicInteger tripCount = new AtomicInteger(0); // how many times ahs the CB tripped |
private AtomicInteger tripCount = new AtomicInteger(0); // how many times ahs the CB tripped |