public class UpyunUssFileStorageClientFactory extends Object implements FileStorageClientFactory<com.upyun.RestManager>
| 构造器和说明 |
|---|
UpyunUssFileStorageClientFactory(FileStorageProperties.UpyunUssConfig config) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
close()
释放相关资源
|
com.upyun.RestManager |
getClient()
获取 Client ,部分存储平台例如 FTP 、 SFTP 使用完后需要归还
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetPlatform, returnClientpublic UpyunUssFileStorageClientFactory(FileStorageProperties.UpyunUssConfig config)
public com.upyun.RestManager getClient()
FileStorageClientFactorygetClient 在接口中 FileStorageClientFactory<com.upyun.RestManager>public void close()
FileStorageClientFactoryclose 在接口中 AutoCloseableclose 在接口中 FileStorageClientFactory<com.upyun.RestManager>Copyright © 2023. All rights reserved.