/[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 1314 by torben, Tue Apr 19 17:12:27 2011 UTC revision 1376 by torben, Sat Apr 23 10:43:40 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) {          @Deprecated
64            public CircuitBreaker(String name, int threshold, int timeoutMS) {
65                  this(name, new StaticConfig(threshold, timeoutMS) );                  this(name, new StaticConfig(threshold, timeoutMS) );
66          }*/          }
67                    
68          public CircuitBreaker(String name, BreakerConfig config) {          public CircuitBreaker(String name, BreakerConfig config) {
69                  closed.setThreshold(config);                  closed.setThreshold(config);

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

  ViewVC Help
Powered by ViewVC 1.1.20