Parent Directory | Revision Log | Patch
revision 395 by torben, Mon Oct 5 19:54:25 2009 UTC | revision 396 by torben, Tue Oct 6 04:59:03 2009 UTC | |
---|---|---|
# | Line 80 public class CircuitBreaker{ | Line 80 public class CircuitBreaker{ |
80 | ||
81 | public void tripBreaker() { | public void tripBreaker() { |
82 | synchronized(this) { | synchronized(this) { |
currentState = open; | ||
83 | open.trip(); | open.trip(); |
84 | currentState = open; | |
85 | ||
86 | ||
87 | logger.warning("Circuitbreaker tripBreaker - " + name); | logger.warning("Circuitbreaker tripBreaker - " + name); |
88 | } | } |
|
ViewVC Help | |
Powered by ViewVC 1.1.20 |