/[projects]/miscJava/CircuitBreaker/src/main/java/dk/thoerup/circuitbreaker/notification/MailNotifier.java |
Parent Directory | Revision Log | Patch
revision 3211 by torben, Tue Jun 9 08:55:10 2015 UTC | revision 3212 by torben, Thu Dec 28 09:34:47 2017 UTC | |
---|---|---|
# | Line 33 public class MailNotifier extends AsyncN | Line 33 public class MailNotifier extends AsyncN |
33 | ||
34 | ||
35 | @Override | @Override |
36 | public void sendAsync(CircuitBreaker breaker, Event evnt) { | public void sendAsync(CircuitBreaker<?> breaker, Event evnt) { |
37 | try { | try { |
38 | if (evnt == Event.BreakerTripped || evnt == Event.BreakerReset) { | if (evnt == Event.BreakerTripped || evnt == Event.BreakerReset) { |
39 | // create some properties and get the default Session | // create some properties and get the default Session |
|
ViewVC Help | |
Powered by ViewVC 1.1.20 |