Package org.apache.storm.scheduler.utils
Class FileConfigLoader
java.lang.Object
org.apache.storm.scheduler.utils.FileConfigLoader
- All Implemented Interfaces:
IConfigLoader
Scheduler configuration loader which loads configs from a file.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
FileConfigLoader
-
-
Method Details
-
load
Load the configs associated with the configKey from the targetFilePath.- Specified by:
load
in interfaceIConfigLoader
- Parameters:
configKey
- The key from which we want to get the scheduler config.- Returns:
- The scheduler configuration if exists; null otherwise.
-