public void Update(IReadOnlyList <ProxyRoute> routes, IReadOnlyList <Cluster> clusters) { var oldConfig = _config; _config = new InMemoryConfig(routes, clusters); oldConfig.SignalChange(); }
public InMemoryConfigProvider(IReadOnlyList <ProxyRoute> routes, IReadOnlyList <Cluster> clusters) { _config = new InMemoryConfig(routes, clusters); }