@Configuration @EnableConfigurationProperties(value=FastDFSProperties.class) @ConditionalOnProperty(prefix="framework.fastdfs", value="enabled", havingValue="true", matchIfMissing=true) public class FastDFSClientConfig extends Object
| 构造器和说明 |
|---|
FastDFSClientConfig() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
setTrackerServerPool(TrackerServerPool trackerServerPool)
Set fast dfs client information
|
TrackerServerPool |
trackerServerPool()
创建FastDfs Tracker Server连接池
|
@Bean @ConditionalOnMissingBean public TrackerServerPool trackerServerPool() throws Exception
Exception - 创建失败抛出异常@Autowired public void setTrackerServerPool(TrackerServerPool trackerServerPool)
trackerServerPool - FastDfs Tracker Server连接池Copyright © 2019. All rights reserved.