/[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 393 by torben, Mon Oct 5 19:44:40 2009 UTC revision 394 by torben, Mon Oct 5 19:46:15 2009 UTC
# Line 2  package dk.thoerup.curcuitbreaker; Line 2  package dk.thoerup.curcuitbreaker;
2    
3  import java.util.logging.Logger;  import java.util.logging.Logger;
4    
5    /* Simple CircuitBreaker implementation - snipped from http://www.jroller.com/kenwdelong/entry/circuit_breaker_in_java
6     *
7  /* example of how it can be used   *  example of how it can be used
8  protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {  protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
9                  class TestInvocation implements CircuitInvocation {                  class TestInvocation implements CircuitInvocation {
10                          String url;                          String url;

Legend:
Removed from v.393  
changed lines
  Added in v.394

  ViewVC Help
Powered by ViewVC 1.1.20