Package org.apache.storm.scheduler.utils
Class FileConfigLoaderFactory
java.lang.Object
org.apache.storm.scheduler.utils.FileConfigLoaderFactory
- All Implemented Interfaces:
- IConfigLoaderFactory
@AutoService(IConfigLoaderFactory.class)
public class FileConfigLoaderFactory
extends Object
implements IConfigLoaderFactory
Factory class for FileConfigLoader.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptioncreateIfSupported(URI uri, Map<String, Object> conf) Create a FileConfigLoader if the scheme of the URI is "file"; else return null.
- 
Constructor Details- 
FileConfigLoaderFactorypublic FileConfigLoaderFactory()
 
- 
- 
Method Details- 
createIfSupportedCreate a FileConfigLoader if the scheme of the URI is "file"; else return null.- Specified by:
- createIfSupportedin interface- IConfigLoaderFactory
- Parameters:
- uri- The URI which pointing to the config file location.
- conf- The storm configuration.
- Returns:
- A FileConfigLoader if the scheme is "file"; otherwise, null.
 
 
-