@InterfaceAudience.Private public class RegionsRecoveryConfigManager extends Object implements ConfigurationObserver
| Modifier and Type | Field and Description | 
|---|---|
| private HMaster | hMaster | 
| private static org.slf4j.Logger | LOG | 
| private int | prevMaxStoreFileRefCount | 
| private int | prevRegionsRecoveryInterval | 
| Constructor and Description | 
|---|
| RegionsRecoveryConfigManager(HMaster hMaster) | 
| Modifier and Type | Method and Description | 
|---|---|
| private int | getMaxStoreFileRefCount(org.apache.hadoop.conf.Configuration configuration) | 
| private int | getRegionsRecoveryChoreInterval(org.apache.hadoop.conf.Configuration configuration) | 
| void | onConfigurationChange(org.apache.hadoop.conf.Configuration conf)This method would be called by the  ConfigurationManagerobject when theConfigurationobject is reloaded from disk. | 
private static final org.slf4j.Logger LOG
private int prevMaxStoreFileRefCount
private int prevRegionsRecoveryInterval
RegionsRecoveryConfigManager(HMaster hMaster)
public void onConfigurationChange(org.apache.hadoop.conf.Configuration conf)
ConfigurationObserverConfigurationManager
 object when the Configuration object is reloaded from disk.onConfigurationChange in interface ConfigurationObserverprivate int getMaxStoreFileRefCount(org.apache.hadoop.conf.Configuration configuration)
private int getRegionsRecoveryChoreInterval(org.apache.hadoop.conf.Configuration configuration)
Copyright © 2007–2021 The Apache Software Foundation. All rights reserved.