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