public class FileConfigLoader extends Object implements IConfigLoader
Scheduler configuration loader which loads configs from a file.
Constructor and Description |
---|
FileConfigLoader(Map<String,Object> conf) |
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
load(String configKey)
Load the configs associated with the configKey from the targetFilePath.
|
public Map<String,Object> load(String configKey)
Load the configs associated with the configKey from the targetFilePath.
load
in interface IConfigLoader
configKey
- The key from which we want to get the scheduler config.Copyright © 2020 The Apache Software Foundation. All rights reserved.