Parent Directory | Revision Log | Patch
revision 624 by torben, Thu Oct 22 06:01:35 2009 UTC | revision 625 by torben, Mon Mar 8 10:00:55 2010 UTC | |
---|---|---|
# | Line 58 public class CircuitBreaker{ | Line 58 public class CircuitBreaker{ |
58 | open.setTimeout(timeoutMS); | open.setTimeout(timeoutMS); |
59 | ||
60 | this.name = name; | this.name = name; |
61 | ||
62 | reset(); | // Initial state is open - like a reset() was called initially |
63 | closed.resetFailureCount(); | |
64 | currentState = closed; | |
65 | } | } |
66 | ||
67 |
|
ViewVC Help | |
Powered by ViewVC 1.1.20 |