/[projects]/miscJava/CircuitBreaker/src/main/java/dk/thoerup/circuitbreaker/CircuitBreakerState.java
ViewVC logotype

Annotation of /miscJava/CircuitBreaker/src/main/java/dk/thoerup/circuitbreaker/CircuitBreakerState.java

Parent Directory Parent Directory | Revision Log Revision Log


Revision 450 - (hide annotations) (download)
Tue Oct 20 10:26:50 2009 UTC (14 years, 7 months ago) by torben
Original Path: CircuitBreaker/src/dk/thoerup/curcuitbreaker/CircuitBreakerState.java
File size: 299 byte(s)
Narrow thrown from Throwable to Exception,

Added a notifier that prints to system.out
1 torben 393 package dk.thoerup.curcuitbreaker;
2    
3    
4    
5     public interface CircuitBreakerState {
6 torben 450 public void preInvoke(CircuitBreaker cb) throws Exception;
7     public void postInvoke(CircuitBreaker cb) throws Exception;
8     public void onError(CircuitBreaker cb, Exception t) throws Exception;
9 torben 393
10 torben 397 public String getName();
11 torben 393 }

  ViewVC Help
Powered by ViewVC 1.1.20