/[projects]/android/TrainInfoService/src/dk/thoerup/traininfoservice/TraininfoSettings.java
ViewVC logotype

Diff of /android/TrainInfoService/src/dk/thoerup/traininfoservice/TraininfoSettings.java

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

revision 1315 by torben, Tue Apr 19 11:52:39 2011 UTC revision 1316 by torben, Tue Apr 19 17:17:09 2011 UTC
# Line 1  Line 1 
1  package dk.thoerup.traininfoservice;  package dk.thoerup.traininfoservice;
2    
3    import dk.thoerup.circuitbreaker.config.BreakerConfig;
4    
5  public class TraininfoSettings {  
6    public class TraininfoSettings implements BreakerConfig{
7                    
8                    
9          boolean useazuresite;          boolean useazuresite;
# Line 21  public class TraininfoSettings { Line 23  public class TraininfoSettings {
23                  return useazuresite;                  return useazuresite;
24          }          }
25    
 /*      public int getBanedkThreshold() {  
                 return banedk_threshold;  
         }  
   
         public int getBanedkTimeout() {  
                 return banedk_timeout;  
         }*/  
26    
27          public int getCacheTimeout() {          public int getCacheTimeout() {
28                  return cache_timeout;                  return cache_timeout;
29          }          }
30  /*  
31          public int getStatsInterval() {          public int getStatsInterval() {
32                  return stats_interval;                  return stats_interval;
33          }*/          }
34    
35          public int getReplyTimeout() {          public int getReplyTimeout() {
36                  return reply_timeout;                  return reply_timeout;
37          }          }
38    
39            
40            @Override
41            public int getTreshold() {
42                    return banedk_threshold;
43            }
44    
45            @Override
46            public int getTimeout() {
47                    return banedk_timeout;
48            }
49  }  }

Legend:
Removed from v.1315  
changed lines
  Added in v.1316

  ViewVC Help
Powered by ViewVC 1.1.20