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