Parent Directory | Revision Log
Narrow thrown from Throwable to Exception, Added a notifier that prints to system.out
1 | package dk.thoerup.curcuitbreaker; |
2 | |
3 | |
4 | |
5 | public interface CircuitBreakerState { |
6 | 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 | |
10 | public String getName(); |
11 | } |
ViewVC Help | |
Powered by ViewVC 1.1.20 |