package dk.thoerup.circuitbreaker.config; public class StaticConfig implements BreakerConfig { int treshold; int timeout; public StaticConfig(int treshold, int timeout) { this.treshold = treshold; this.timeout = timeout; } public int getTreshold() { return treshold; } public int getTimeout() { return timeout; } }