/[projects]/miscJava/CircuitBreaker/src/main/java/dk/thoerup/circuitbreaker/notification/SystemOutNotifier.java |
Parent Directory | Revision Log
Narrow thrown from Throwable to Exception, Added a notifier that prints to system.out
1 | torben | 450 | package dk.thoerup.curcuitbreaker.notification; |
2 | |||
3 | public class SystemOutNotifier implements Notifier { | ||
4 | |||
5 | public void sendNotification(String breakerName, Event evnt) { | ||
6 | System.out.println("Circuitbreaker " + breakerName + " : " + evnt.toString() ); | ||
7 | |||
8 | } | ||
9 | |||
10 | } |
ViewVC Help | |
Powered by ViewVC 1.1.20 |