當前位置: 首頁>>代碼示例>>Java>>正文


Java ConfigurationManager類代碼示例

本文整理匯總了Java中org.apache.hadoop.hbase.conf.ConfigurationManager的典型用法代碼示例。如果您正苦於以下問題:Java ConfigurationManager類的具體用法?Java ConfigurationManager怎麽用?Java ConfigurationManager使用的例子?那麽, 這裏精選的類代碼示例或許可以為您提供幫助。


ConfigurationManager類屬於org.apache.hadoop.hbase.conf包,在下文中一共展示了ConfigurationManager類的15個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Java代碼示例。

示例1: registerChildren

import org.apache.hadoop.hbase.conf.ConfigurationManager; //導入依賴的package包/類
/**
 * {@inheritDoc}
 */
@Override public void registerChildren(ConfigurationManager manager) {
  configurationManager = Optional.of(manager);
  for (Store s : this.stores.values()) {
    configurationManager.get().registerObserver(s);
  }
}
 
開發者ID:fengchen8086,項目名稱:ditb,代碼行數:10,代碼來源:HRegion.java

示例2: registerChildren

import org.apache.hadoop.hbase.conf.ConfigurationManager; //導入依賴的package包/類
/**
 * {@inheritDoc}
 */
@Override
public void registerChildren(ConfigurationManager manager) {
    configurationManager = Optional.of(manager);
    for (Store s : this.stores.values()) {
        configurationManager.get().registerObserver(s);
    }
}
 
開發者ID:grokcoder,項目名稱:pbase,代碼行數:11,代碼來源:HRegion.java

示例3: deregisterChildren

import org.apache.hadoop.hbase.conf.ConfigurationManager; //導入依賴的package包/類
/**
 * {@inheritDoc}
 */
@Override
public void deregisterChildren(ConfigurationManager manager) {
    for (Store s : this.stores.values()) {
        configurationManager.get().deregisterObserver(s);
    }
}
 
開發者ID:grokcoder,項目名稱:pbase,代碼行數:10,代碼來源:HRegion.java

示例4: setupWindows

import org.apache.hadoop.hbase.conf.ConfigurationManager; //導入依賴的package包/類
/**
 * If running on Windows, do windows-specific setup.
 */
private static void setupWindows(final Configuration conf, ConfigurationManager cm) {
  if (!SystemUtils.IS_OS_WINDOWS) {
    Signal.handle(new Signal("HUP"), new SignalHandler() {
      @Override
      public void handle(Signal signal) {
        conf.reloadConfiguration();
        cm.notifyAllObservers(conf);
      }
    });
  }
}
 
開發者ID:apache,項目名稱:hbase,代碼行數:15,代碼來源:HRegionServer.java

示例5: getConfigurationManager

import org.apache.hadoop.hbase.conf.ConfigurationManager; //導入依賴的package包/類
/**
 * @return : Returns the ConfigurationManager object for testing purposes.
 */
protected ConfigurationManager getConfigurationManager() {
  return configurationManager;
}
 
開發者ID:fengchen8086,項目名稱:ditb,代碼行數:7,代碼來源:HRegionServer.java

示例6: registerChildren

import org.apache.hadoop.hbase.conf.ConfigurationManager; //導入依賴的package包/類
/**
 * {@inheritDoc}
 */
@Override
public void registerChildren(ConfigurationManager manager) {
  // No children to register.
}
 
開發者ID:fengchen8086,項目名稱:ditb,代碼行數:8,代碼來源:CompactSplitThread.java

示例7: deregisterChildren

import org.apache.hadoop.hbase.conf.ConfigurationManager; //導入依賴的package包/類
/**
 * {@inheritDoc}
 */
@Override
public void deregisterChildren(ConfigurationManager manager) {
  // No children to register
}
 
開發者ID:fengchen8086,項目名稱:ditb,代碼行數:8,代碼來源:CompactSplitThread.java

示例8: deregisterChildren

import org.apache.hadoop.hbase.conf.ConfigurationManager; //導入依賴的package包/類
/**
 * {@inheritDoc}
 */
@Override public void deregisterChildren(ConfigurationManager manager) {
  for (Store s : this.stores.values()) {
    configurationManager.get().deregisterObserver(s);
  }
}
 
開發者ID:fengchen8086,項目名稱:ditb,代碼行數:9,代碼來源:HRegion.java

示例9: registerChildren

import org.apache.hadoop.hbase.conf.ConfigurationManager; //導入依賴的package包/類
/**
 * {@inheritDoc}
 */
@Override public void registerChildren(ConfigurationManager manager) {
  // No children to register
}
 
開發者ID:fengchen8086,項目名稱:ditb,代碼行數:7,代碼來源:HStore.java

示例10: deregisterChildren

import org.apache.hadoop.hbase.conf.ConfigurationManager; //導入依賴的package包/類
/**
 * {@inheritDoc}
 */
@Override public void deregisterChildren(ConfigurationManager manager) {
  // No children to deregister
}
 
開發者ID:fengchen8086,項目名稱:ditb,代碼行數:7,代碼來源:HStore.java

示例11: getConfigurationManager

import org.apache.hadoop.hbase.conf.ConfigurationManager; //導入依賴的package包/類
/**
 * @return : Returns the ConfigurationManager object for testing purposes.
 */
protected ConfigurationManager getConfigurationManager() {
    return configurationManager;
}
 
開發者ID:grokcoder,項目名稱:pbase,代碼行數:7,代碼來源:HRegionServer.java

示例12: registerChildren

import org.apache.hadoop.hbase.conf.ConfigurationManager; //導入依賴的package包/類
/**
 * {@inheritDoc}
 */
@Override
public void registerChildren(ConfigurationManager manager) {
    // No children to register
}
 
開發者ID:grokcoder,項目名稱:pbase,代碼行數:8,代碼來源:HStore.java

示例13: deregisterChildren

import org.apache.hadoop.hbase.conf.ConfigurationManager; //導入依賴的package包/類
/**
 * {@inheritDoc}
 */
@Override
public void deregisterChildren(ConfigurationManager manager) {
    // No children to deregister
}
 
開發者ID:grokcoder,項目名稱:pbase,代碼行數:8,代碼來源:HStore.java

示例14: registerChildren

import org.apache.hadoop.hbase.conf.ConfigurationManager; //導入依賴的package包/類
/**
 * {@inheritDoc}
 */
@Override
public void registerChildren(ConfigurationManager manager) {
  configurationManager = Optional.of(manager);
  stores.values().forEach(manager::registerObserver);
}
 
開發者ID:apache,項目名稱:hbase,代碼行數:9,代碼來源:HRegion.java

示例15: deregisterChildren

import org.apache.hadoop.hbase.conf.ConfigurationManager; //導入依賴的package包/類
/**
 * {@inheritDoc}
 */
@Override
public void deregisterChildren(ConfigurationManager manager) {
  stores.values().forEach(configurationManager.get()::deregisterObserver);
}
 
開發者ID:apache,項目名稱:hbase,代碼行數:8,代碼來源:HRegion.java


注:本文中的org.apache.hadoop.hbase.conf.ConfigurationManager類示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。