2 |
|
|
3 |
import dk.thoerup.circuitbreaker.config.BreakerConfig; |
import dk.thoerup.circuitbreaker.config.BreakerConfig; |
4 |
import dk.thoerup.webconfig.ConfigVariable; |
import dk.thoerup.webconfig.ConfigVariable; |
5 |
|
import dk.thoerup.webconfig.ReloadConfig; |
6 |
|
|
7 |
|
|
8 |
public class TraininfoSettings implements BreakerConfig{ |
public class TraininfoSettings implements BreakerConfig{ |
25 |
@ConfigVariable |
@ConfigVariable |
26 |
int reply_timeout; |
int reply_timeout; |
27 |
|
|
28 |
|
@ReloadConfig |
29 |
|
public void reloadConfig() { |
30 |
|
System.out.println("Reloading config"); |
31 |
|
|
32 |
|
} |
33 |
|
|
34 |
public boolean getUseAzureSite() { |
public boolean getUseAzureSite() { |
35 |
return useazuresite; |
return useazuresite; |