public DefaultClusterFactory( ILogger <DefaultClusterFactory> logger, IServiceProvider serviceProvider, IOptions <FastDFSOptions> options, IClusterSelector clusterSelector) { _logger = logger; _serviceProvider = serviceProvider; _options = options.Value; _clusterSelector = clusterSelector; _clusterDict = new ConcurrentDictionary <string, ICluster>(); }
public DefaultClusterSelector(IOptions <FastDFSOptions> options) { _options = options.Value; }