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