Parent Directory
|
Revision Log
|
Patch
revision 467 by torben, Thu Oct 22 06:01:35 2009 UTC | revision 626 by torben, Mon Mar 8 10:01:25 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 closed - like a reset() was called initially |
63 | closed.resetFailureCount(); | |
64 | currentState = closed; | |
65 | } | } |
66 | ||
67 |
|
ViewVC Help | |
Powered by ViewVC 1.1.20 |