1 |
torben |
1303 |
package dk.thoerup.traininfoservice; |
2 |
|
|
|
3 |
|
|
|
4 |
|
|
public class TraininfoSettings { |
5 |
|
|
|
6 |
|
|
|
7 |
|
|
boolean useazuresite; |
8 |
|
|
|
9 |
|
|
int banedk_threshold; |
10 |
|
|
|
11 |
|
|
int banedk_timeout; |
12 |
|
|
|
13 |
|
|
int cache_timeout; |
14 |
|
|
|
15 |
|
|
int stats_interval; |
16 |
|
|
|
17 |
|
|
int reply_timeout; |
18 |
|
|
|
19 |
|
|
|
20 |
|
|
public boolean getUseAzureSite() { |
21 |
|
|
return useazuresite; |
22 |
|
|
} |
23 |
|
|
|
24 |
|
|
/* public int getBanedkThreshold() { |
25 |
|
|
return banedk_threshold; |
26 |
|
|
} |
27 |
|
|
|
28 |
|
|
public int getBanedkTimeout() { |
29 |
|
|
return banedk_timeout; |
30 |
|
|
}*/ |
31 |
|
|
|
32 |
|
|
public int getCacheTimeout() { |
33 |
|
|
return cache_timeout; |
34 |
|
|
} |
35 |
|
|
/* |
36 |
|
|
public int getStatsInterval() { |
37 |
|
|
return stats_interval; |
38 |
|
|
}*/ |
39 |
|
|
|
40 |
|
|
public int getReplyTimeout() { |
41 |
|
|
return reply_timeout; |
42 |
|
|
} |
43 |
|
|
} |