org.elasticsearch.common.settings.Settings.getGroupsInternal()方法的使用及代码示例

x33g5p2x  于2022-01-29 转载在 其他  
字(3.0k)|赞(0)|评价(0)|浏览(123)

本文整理了Java中org.elasticsearch.common.settings.Settings.getGroupsInternal()方法的一些代码示例,展示了Settings.getGroupsInternal()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Settings.getGroupsInternal()方法的具体详情如下:
包路径:org.elasticsearch.common.settings.Settings
类名称:Settings
方法名:getGroupsInternal

Settings.getGroupsInternal介绍

暂无

代码示例

代码示例来源:origin: org.elasticsearch/elasticsearch

public Map<String, Settings> getAsGroups(boolean ignoreNonGrouped) throws SettingsException {
  return getGroupsInternal("", ignoreNonGrouped);
}

代码示例来源:origin: org.elasticsearch/elasticsearch

/**
 * Returns group settings for the given setting prefix.
 */
public Map<String, Settings> getGroups(String settingPrefix, boolean ignoreNonGrouped) throws SettingsException {
  if (!Strings.hasLength(settingPrefix)) {
    throw new IllegalArgumentException("illegal setting prefix " + settingPrefix);
  }
  if (settingPrefix.charAt(settingPrefix.length() - 1) != '.') {
    settingPrefix = settingPrefix + ".";
  }
  return getGroupsInternal(settingPrefix, ignoreNonGrouped);
}

代码示例来源:origin: com.strapdata.elasticsearch/elasticsearch

public Map<String, Settings> getAsGroups(boolean ignoreNonGrouped) throws SettingsException {
  return getGroupsInternal("", ignoreNonGrouped);
}

代码示例来源:origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.elasticsearch

public Map<String, Settings> getAsGroups(boolean ignoreNonGrouped) throws SettingsException {
  return getGroupsInternal("", ignoreNonGrouped);
}

代码示例来源:origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.elasticsearch

/**
 * Returns group settings for the given setting prefix.
 */
public Map<String, Settings> getGroups(String settingPrefix, boolean ignoreNonGrouped) throws SettingsException {
  if (!Strings.hasLength(settingPrefix)) {
    throw new IllegalArgumentException("illegal setting prefix " + settingPrefix);
  }
  if (settingPrefix.charAt(settingPrefix.length() - 1) != '.') {
    settingPrefix = settingPrefix + ".";
  }
  return getGroupsInternal(settingPrefix, ignoreNonGrouped);
}

代码示例来源:origin: com.strapdata.elasticsearch/elasticsearch

/**
 * Returns group settings for the given setting prefix.
 */
public Map<String, Settings> getGroups(String settingPrefix, boolean ignoreNonGrouped) throws SettingsException {
  if (!Strings.hasLength(settingPrefix)) {
    throw new IllegalArgumentException("illegal setting prefix " + settingPrefix);
  }
  if (settingPrefix.charAt(settingPrefix.length() - 1) != '.') {
    settingPrefix = settingPrefix + ".";
  }
  return getGroupsInternal(settingPrefix, ignoreNonGrouped);
}

代码示例来源:origin: apache/servicemix-bundles

/**
 * We have to lazy initialize the deprecation logger as otherwise a static logger here would be constructed before logging is configured
 * leading to a runtime failure (see {@link LogConfigurator#checkErrorListener()} ). The premature construction would come from any
 * {@link Setting} object constructed in, for example, {@link org.elasticsearch.env.Environment}.
 */
static class DeprecationLoggerHolder {
  static DeprecationLogger deprecationLogger = new DeprecationLogger(Loggers.getLogger(Settings.class));
}

相关文章