Package | Description |
---|---|
org.elasticsearch.common.settings |
Settings based utility.
|
org.elasticsearch.common.unit |
Modifier and Type | Method and Description |
---|---|
RatioValue |
Settings.getAsRatio(String[] settings,
String defaultValue)
Returns the setting value (as a RatioValue) associated with the setting key.
|
RatioValue |
Settings.getAsRatio(String setting,
String defaultValue)
Returns the setting value (as a RatioValue) associated with the setting key.
|
Modifier and Type | Method and Description |
---|---|
static RatioValue |
RatioValue.parseRatioValue(String sValue)
Parses the provided string as a
RatioValue , the string can
either be in percentage format (eg. |
Copyright © 2009–2016. All rights reserved.