/[projects]/miscJava/CircuitBreaker/src/test/java/dk/thoerup/circuitbreaker/SucceedingInvocation.java |
Parent Directory | Revision Log
Use generics to encapsulate returned value
1 | package dk.thoerup.circuitbreaker; |
2 | |
3 | import dk.thoerup.circuitbreaker.CircuitInvocation; |
4 | |
5 | public class SucceedingInvocation implements CircuitInvocation<String> { |
6 | |
7 | public String proceed() throws Exception { |
8 | return "OK"; |
9 | } |
10 | |
11 | } |
ViewVC Help | |
Powered by ViewVC 1.1.20 |