/[projects]/miscJava/CircuitBreaker/src/main/java/dk/thoerup/circuitbreaker/CircuitBreaker.java
ViewVC logotype

Diff of /miscJava/CircuitBreaker/src/main/java/dk/thoerup/circuitbreaker/CircuitBreaker.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1306 by torben, Tue Apr 19 15:22:09 2011 UTC revision 1314 by torben, Tue Apr 19 17:12:27 2011 UTC
# Line 60  public class CircuitBreaker{ Line 60  public class CircuitBreaker{
60          private ExecutorService executor = null;                  private ExecutorService executor = null;        
61          private Notifier notifier = new NullNotifier();          private Notifier notifier = new NullNotifier();
62                    
63          public CircuitBreaker(String name, int threshold, int timeoutMS) {          /*public CircuitBreaker(String name, int threshold, int timeoutMS) {
64                  this(name, new StaticConfig(threshold, timeoutMS) );                  this(name, new StaticConfig(threshold, timeoutMS) );
65          }          }*/
66                    
67          public CircuitBreaker(String name, BreakerConfig config) {          public CircuitBreaker(String name, BreakerConfig config) {
68                  closed.setThreshold(config);                  closed.setThreshold(config);

Legend:
Removed from v.1306  
changed lines
  Added in v.1314

  ViewVC Help
Powered by ViewVC 1.1.20