/[projects]/miscJava/CircuitBreaker/src/test/java/dk/thoerup/circuitbreaker/SucceedingInvocation.java |
Parent Directory | Revision Log | Patch
revision 3211 by torben, Fri Mar 20 08:58:46 2015 UTC | revision 3212 by torben, Thu Dec 28 09:34:47 2017 UTC | |
---|---|---|
# | Line 2 package dk.thoerup.circuitbreaker; | Line 2 package dk.thoerup.circuitbreaker; |
2 | ||
3 | import dk.thoerup.circuitbreaker.CircuitInvocation; | import dk.thoerup.circuitbreaker.CircuitInvocation; |
4 | ||
5 | public class SucceedingInvocation implements CircuitInvocation { | public class SucceedingInvocation implements CircuitInvocation<String> { |
6 | ||
7 | public Object proceed() throws Exception { | public String proceed() throws Exception { |
8 | return "OK"; | return "OK"; |
9 | } | } |
10 |
|
ViewVC Help | |
Powered by ViewVC 1.1.20 |