Parent Directory | Revision Log
Differentiate against a normal trip and a retrip from half-open back to open
1 | package dk.thoerup.circuitbreaker.notification; |
2 | |
3 | public interface Notifier { |
4 | public enum Event { |
5 | BreakerTripped, |
6 | BreakerAttemptReset, |
7 | BreakerRetripped, |
8 | BreakerReset |
9 | } |
10 | |
11 | public void sendNotification(String breakerName, Event evnt); |
12 | } |
ViewVC Help | |
Powered by ViewVC 1.1.20 |