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