|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use SettingsException | |
---|---|
org.elasticsearch.common.settings | Settings based utility. |
Uses of SettingsException in org.elasticsearch.common.settings |
---|
Subclasses of SettingsException in org.elasticsearch.common.settings | |
---|---|
class |
NoClassSettingsException
A specific type of SettingsException indicating failure to load a class
based on a settings value. |
Methods in org.elasticsearch.common.settings that throw SettingsException | |
---|---|
String[] |
ImmutableSettings.getAsArray(String settingPrefix)
|
String[] |
Settings.getAsArray(String settingPrefix)
The values associated with a setting prefix as an array. |
String[] |
ImmutableSettings.getAsArray(String settingPrefix,
String[] defaultArray)
|
String[] |
Settings.getAsArray(String settingPrefix,
String[] defaultArray)
The values associated with a setting prefix as an array. |
Boolean |
Settings.getAsBoolean(String setting,
Boolean defaultValue)
Returns the setting value (as boolean) associated with the setting key. |
ByteSizeValue |
ImmutableSettings.getAsBytesSize(String setting,
ByteSizeValue defaultValue)
|
ByteSizeValue |
Settings.getAsBytesSize(String setting,
ByteSizeValue defaultValue)
Returns the setting value (as size) associated with the setting key. |
Double |
Settings.getAsDouble(String setting,
Double defaultValue)
Returns the setting value (as double) associated with the setting key. |
Float |
Settings.getAsFloat(String setting,
Float defaultValue)
Returns the setting value (as float) associated with the setting key. |
Integer |
Settings.getAsInt(String setting,
Integer defaultValue)
Returns the setting value (as int) associated with the setting key. |
Long |
Settings.getAsLong(String setting,
Long defaultValue)
Returns the setting value (as long) associated with the setting key. |
SizeValue |
ImmutableSettings.getAsSize(String setting,
SizeValue defaultValue)
|
SizeValue |
Settings.getAsSize(String setting,
SizeValue defaultValue)
Returns the setting value (as size) associated with the setting key. |
TimeValue |
Settings.getAsTime(String setting,
TimeValue defaultValue)
Returns the setting value (as time) associated with the setting key. |
Version |
ImmutableSettings.getAsVersion(String setting,
Version defaultVersion)
|
Version |
Settings.getAsVersion(String setting,
Version defaultVersion)
Retruns a parsed version. |
Map<String,Settings> |
ImmutableSettings.getGroups(String settingPrefix)
|
Map<String,Settings> |
Settings.getGroups(String settingPrefix)
Returns group settings for the given setting prefix. |
ImmutableSettings.Builder |
ImmutableSettings.Builder.loadFromClasspath(String resourceName)
Loads settings from classpath that represents them using the SettingsLoaderFactory.loaderFromSource(String) . |
ImmutableSettings.Builder |
ImmutableSettings.Builder.loadFromStream(String resourceName,
InputStream is)
Loads settings from a stream that represents them using the SettingsLoaderFactory.loaderFromSource(String) . |
ImmutableSettings.Builder |
ImmutableSettings.Builder.loadFromUrl(URL url)
Loads settings from a url that represents them using the SettingsLoaderFactory.loaderFromSource(String) . |
ImmutableSettings.Builder |
ImmutableSettings.Builder.put(String settingPrefix,
String groupName,
String[] settings,
String[] values)
Sets the setting group. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |