@InterfaceAudience.Private @InterfaceStability.Unstable public abstract class ConfigurationProvider extends Object
| Constructor and Description | 
|---|
| ConfigurationProvider() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | close() | 
| abstract void | closeInternal()Derived classes close themselves using this method. | 
| abstract InputStream | getConfigurationInputStream(org.apache.hadoop.conf.Configuration bootstrapConf,
                           String name)Opens an InputStream at the indicated file | 
| void | init(org.apache.hadoop.conf.Configuration bootstrapConf) | 
| abstract void | initInternal(org.apache.hadoop.conf.Configuration bootstrapConf)Derived classes initialize themselves using this method. | 
public void init(org.apache.hadoop.conf.Configuration bootstrapConf)
          throws Exception
Exceptionpublic abstract InputStream getConfigurationInputStream(org.apache.hadoop.conf.Configuration bootstrapConf, String name) throws YarnException, IOException
bootstrapConf - Configurationname - The configuration file nameYarnExceptionIOExceptionpublic abstract void initInternal(org.apache.hadoop.conf.Configuration bootstrapConf)
                           throws Exception
ExceptionCopyright © 2008–2018 Apache Software Foundation. All rights reserved.