/[projects]/CircuitBreaker/src/dk/thoerup/circuitbreaker/notification/Notifier.java
ViewVC logotype

Diff of /CircuitBreaker/src/dk/thoerup/circuitbreaker/notification/Notifier.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1160 by torben, Sun Jun 20 21:54:53 2010 UTC revision 1161 by torben, Mon Oct 4 17:36:43 2010 UTC
# Line 1  Line 1 
1  package dk.thoerup.circuitbreaker.notification;  package dk.thoerup.circuitbreaker.notification;
2    
3    import dk.thoerup.circuitbreaker.CircuitBreaker;
4    
5  public interface Notifier {  public interface Notifier {
6          public enum Event {          public enum Event {
7                  BreakerTripped,                  BreakerTripped,
# Line 8  public interface Notifier { Line 10  public interface Notifier {
10                  BreakerReset                  BreakerReset
11          }          }
12                    
13          public void sendNotification(String breakerName, Event evnt);          public void sendNotification(CircuitBreaker breaker, Event evnt);
14  }  }

Legend:
Removed from v.1160  
changed lines
  Added in v.1161

  ViewVC Help
Powered by ViewVC 1.1.20