/[projects]/miscJava/CircuitBreaker/src/main/java/dk/thoerup/circuitbreaker/config/StaticConfig.java
ViewVC logotype

Contents of /miscJava/CircuitBreaker/src/main/java/dk/thoerup/circuitbreaker/config/StaticConfig.java

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2449 - (show annotations) (download)
Fri Mar 20 08:58:46 2015 UTC (9 years, 3 months ago) by torben
File size: 339 byte(s)
switch to maven
1 package dk.thoerup.circuitbreaker.config;
2
3 public class StaticConfig implements BreakerConfig {
4
5 int treshold;
6 int timeout;
7
8 public StaticConfig(int treshold, int timeout) {
9 this.treshold = treshold;
10 this.timeout = timeout;
11 }
12
13 public int getTreshold() {
14 return treshold;
15 }
16
17 public int getTimeout() {
18 return timeout;
19 }
20
21 }

  ViewVC Help
Powered by ViewVC 1.1.20