Search in sources :

Example 1 with ConfigurationObserver

use of org.apache.hadoop.hbase.conf.ConfigurationObserver in project hbase by apache.

the class RegionNormalizerWorker method deregisterChildren.

@Override
public void deregisterChildren(ConfigurationManager manager) {
    if (regionNormalizer instanceof ConfigurationObserver) {
        final ConfigurationObserver observer = (ConfigurationObserver) regionNormalizer;
        manager.deregisterObserver(observer);
    }
}
Also used : ConfigurationObserver(org.apache.hadoop.hbase.conf.ConfigurationObserver) PropagatingConfigurationObserver(org.apache.hadoop.hbase.conf.PropagatingConfigurationObserver)

Example 2 with ConfigurationObserver

use of org.apache.hadoop.hbase.conf.ConfigurationObserver in project hbase by apache.

the class RegionNormalizerWorker method registerChildren.

@Override
public void registerChildren(ConfigurationManager manager) {
    if (regionNormalizer instanceof ConfigurationObserver) {
        final ConfigurationObserver observer = (ConfigurationObserver) regionNormalizer;
        manager.registerObserver(observer);
    }
}
Also used : ConfigurationObserver(org.apache.hadoop.hbase.conf.ConfigurationObserver) PropagatingConfigurationObserver(org.apache.hadoop.hbase.conf.PropagatingConfigurationObserver)

Aggregations

ConfigurationObserver (org.apache.hadoop.hbase.conf.ConfigurationObserver)2 PropagatingConfigurationObserver (org.apache.hadoop.hbase.conf.PropagatingConfigurationObserver)2