/[projects]/CircuitBreaker/src/dk/thoerup/circuitbreaker/notification/Notifier.java
ViewVC logotype

Contents of /CircuitBreaker/src/dk/thoerup/circuitbreaker/notification/Notifier.java

Parent Directory Parent Directory | Revision Log Revision Log


Revision 864 - (show annotations) (download)
Sun Jun 20 21:54:53 2010 UTC (13 years, 11 months ago) by torben
File size: 256 byte(s)
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