/[projects]/miscJava/CircuitBreaker/src/main/java/dk/thoerup/circuitbreaker/notification/Notifier.java |
Parent Directory | Revision Log | Patch
CircuitBreaker/src/dk/thoerup/circuitbreaker/notification/Notifier.java revision 864 by torben, Sun Jun 20 21:54:53 2010 UTC | miscJava/CircuitBreaker/src/main/java/dk/thoerup/circuitbreaker/notification/Notifier.java revision 2449 by torben, Fri Mar 20 08:58:46 2015 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 | } | } |
|
ViewVC Help | |
Powered by ViewVC 1.1.20 |