/[projects]/miscJava/CircuitBreaker/src/test/java/dk/thoerup/circuitbreaker/TestAccountingCircuitBreaker.java |
Parent Directory | Revision Log | Patch
revision 3211 by torben, Tue Jun 9 09:05:26 2015 UTC | revision 3212 by torben, Thu Dec 28 09:34:47 2017 UTC | |
---|---|---|
# | Line 16 public class TestAccountingCircuitBreake | Line 16 public class TestAccountingCircuitBreake |
16 | ||
17 | ||
18 | AccountingStatistics stats; | AccountingStatistics stats; |
19 | CircuitBreaker acb; | CircuitBreaker<String> acb; |
20 | ||
21 | @Before public void setup() { | @Before public void setup() { |
22 | stats = new AccountingStatistics(); | stats = new AccountingStatistics(); |
23 | ||
24 | acb = new CircuitBreaker("test", new StaticConfig(THRESHOLD, DELAY) ); | acb = new CircuitBreaker<>("test", new StaticConfig(THRESHOLD, DELAY) ); |
25 | acb.setStatistics(stats); | acb.setStatistics(stats); |
26 | } | } |
27 |
|
ViewVC Help | |
Powered by ViewVC 1.1.20 |