Parent Directory | Revision Log | Patch
revision 412 by torben, Wed Oct 7 16:42:10 2009 UTC | revision 413 by torben, Wed Oct 7 17:56:13 2009 UTC | |
---|---|---|
# | Line 126 public class CircuitBreaker{ | Line 126 public class CircuitBreaker{ |
126 | return closed.getThreshold(); | return closed.getThreshold(); |
127 | } | } |
128 | ||
129 | public int getTimeout() { | |
130 | return (int)open.getTimeout(); | |
131 | } | |
132 | ||
133 | public int getFailureCount() { | public int getFailureCount() { |
134 | if (getState() == closed) { | if (getState() == closed) { |
135 | return closed.getFailureCount(); | return closed.getFailureCount(); |
|
ViewVC Help | |
Powered by ViewVC 1.1.20 |