/[projects]/miscJava/CircuitBreaker/src/main/java/dk/thoerup/circuitbreaker/notification/SystemOutNotifier.java |
Parent Directory | Revision Log
Statistics should be added by composition instead of inheritance
1 | torben | 467 | package dk.thoerup.circuitbreaker.notification; |
2 | torben | 450 | |
3 | torben | 1161 | import dk.thoerup.circuitbreaker.CircuitBreaker; |
4 | torben | 2569 | import dk.thoerup.circuitbreaker.Event; |
5 | torben | 1161 | |
6 | torben | 450 | public class SystemOutNotifier implements Notifier { |
7 | |||
8 | torben | 1161 | public void sendNotification(CircuitBreaker breaker, Event evnt) { |
9 | System.out.println("Circuitbreaker " + breaker.getName() + " : " + evnt.toString() ); | ||
10 | torben | 450 | |
11 | } | ||
12 | |||
13 | } |
ViewVC Help | |
Powered by ViewVC 1.1.20 |