/[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 | package dk.thoerup.circuitbreaker.notification; |
2 | |
3 | import dk.thoerup.circuitbreaker.CircuitBreaker; |
4 | import dk.thoerup.circuitbreaker.Event; |
5 | |
6 | public class SystemOutNotifier implements Notifier { |
7 | |
8 | public void sendNotification(CircuitBreaker breaker, Event evnt) { |
9 | System.out.println("Circuitbreaker " + breaker.getName() + " : " + evnt.toString() ); |
10 | |
11 | } |
12 | |
13 | } |
ViewVC Help | |
Powered by ViewVC 1.1.20 |