/[projects]/miscJava/CircuitBreaker/src/test/java/dk/thoerup/circuitbreaker/SucceedingInvocation.java
ViewVC logotype

Annotation of /miscJava/CircuitBreaker/src/test/java/dk/thoerup/circuitbreaker/SucceedingInvocation.java

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3212 - (hide annotations) (download)
Thu Dec 28 09:34:47 2017 UTC (6 years, 5 months ago) by torben
File size: 239 byte(s)
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