/[projects]/dao/DaoAdresseService/src/dk/daoas/daoadresseservice/admin/ServiceConfig.java
ViewVC logotype

Diff of /dao/DaoAdresseService/src/dk/daoas/daoadresseservice/admin/ServiceConfig.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2351 by torben, Mon Feb 23 15:02:48 2015 UTC revision 2352 by torben, Mon Feb 23 15:49:00 2015 UTC
# Line 1  Line 1 
1  package dk.daoas.daoadresseservice.admin;  package dk.daoas.daoadresseservice.admin;
2    
3    import dk.thoerup.circuitbreaker.config.BreakerConfig;
4  import dk.thoerup.webconfig.ConfigVariable;  import dk.thoerup.webconfig.ConfigVariable;
5    
6    
7    
8  public class ServiceConfig {  public class ServiceConfig implements BreakerConfig {
9                    
10          @ConfigVariable          @ConfigVariable
11          public boolean useGoogle;          public boolean useGoogle;
# Line 17  public class ServiceConfig { Line 18  public class ServiceConfig {
18                    
19          @ConfigVariable(mandatory=false, hideValue=true)          @ConfigVariable(mandatory=false, hideValue=true)
20          public String googleApiKey;          public String googleApiKey;
21    
22            @Override
23            public int getTimeout() {
24                    return 60000;
25            }
26    
27            @Override
28            public int getTreshold() {
29                    return 5;
30            }
31                    
32  }  }

Legend:
Removed from v.2351  
changed lines
  Added in v.2352

  ViewVC Help
Powered by ViewVC 1.1.20