GCSConfigurationFactory
public class GCSConfigurationFactory
extends ConfigurationFactory
ConfigurationFactory
โหลดการกำหนดค่าจาก Google Cloud Storage
สรุป
คลาสที่ซ้อนกัน |
---|
class | GCSConfigurationFactory.GCSConfigLoader ส่วนขยายของ ConfigurationFactory.ConfigLoader ที่โหลดการกำหนดค่าจาก GCS ติดตามการกำหนดค่าที่รวมจากการกำหนดค่ารูทหนึ่งรายการ และแสดงข้อยกเว้นเกี่ยวกับการรวมแบบวงกลม |
วิธีการสาธารณะ
getLatestDownloadedFile
public File getLatestDownloadedFile ()
วิธีการป้องกัน
getConfigStream
protected BufferedInputStream getConfigStream (String name)
โหลด InputStream สำหรับชื่อการกำหนดค่าที่กำหนดจาก Google Cloud Storage (GCS)
พารามิเตอร์ |
---|
name | String : ชื่อการกำหนดค่าที่จะโหลด |
getConfigurationDef
protected ConfigurationDef getConfigurationDef (String name,
boolean isGlobal,
templateMap)
ดึงข้อมูล ConfigurationDef
สำหรับชื่อที่กำหนด
พารามิเตอร์ |
---|
name | String : ชื่อของการกำหนดค่าในตัวที่จะโหลดหรือเส้นทางของไฟล์ไปยังไฟล์การกำหนดค่าที่จะโหลด |
isGlobal | boolean |
templateMap | |
ตัวอย่างเนื้อหาและโค้ดในหน้าเว็บนี้ขึ้นอยู่กับใบอนุญาตที่อธิบายไว้ในใบอนุญาตการใช้เนื้อหา Java และ OpenJDK เป็นเครื่องหมายการค้าหรือเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2022-08-15 UTC
[{
"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":"อื่นๆ"
}]