GCS配置工廠
public class GCSConfigurationFactory
extends ConfigurationFactory
ConfigurationFactory
從 Google Cloud Storage 加載配置。
概括
嵌套類 |
---|
class | GCSConfigurationFactory.GCSConfigLoader ConfigurationFactory.ConfigLoader 的擴展,它從 GCS 加載配置,從一個根配置跟踪包含的配置,並在循環包含時拋出異常。 |
公共方法
獲取最新下載的文件
public File getLatestDownloadedFile ()
受保護的方法
獲取配置流
protected BufferedInputStream getConfigStream (String name)
從 Google Cloud Storage (GCS) 加載給定配置名稱的 InputStream。
獲取配置定義
protected ConfigurationDef getConfigurationDef (String name,
boolean isGlobal,
templateMap)
檢索給定名稱的ConfigurationDef
參數 |
---|
name | String : 要加載的內置配置的名稱或要加載的配置文件的文件路徑 |
isGlobal | boolean |
templateMap | |
這個頁面中的內容和程式碼範例均受《內容授權》中的授權所規範。Java 與 OpenJDK 是 Oracle 和/或其關係企業的商標或註冊商標。
上次更新時間:2023-03-30 (世界標準時間)。
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"缺少我需要的資訊"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"過於複雜/步驟過多"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"過時"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"翻譯問題"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"示例/程式碼問題"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"其他"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"容易理解"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"確實解決了我的問題"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"其他"
}]