Package org.opensearch.common.settings
Class Setting.MemorySizeValueParser
java.lang.Object
org.opensearch.common.settings.Setting.MemorySizeValueParser
- All Implemented Interfaces:
Function<String,
,org.opensearch.core.common.unit.ByteSizeValue> org.opensearch.core.common.io.stream.Writeable
public static class Setting.MemorySizeValueParser
extends Object
implements Function<String,org.opensearch.core.common.unit.ByteSizeValue>, org.opensearch.core.common.io.stream.Writeable
A writeable parser for memory size value
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.opensearch.core.common.io.stream.Writeable
org.opensearch.core.common.io.stream.Writeable.Reader<V>, org.opensearch.core.common.io.stream.Writeable.WriteableRegistry, org.opensearch.core.common.io.stream.Writeable.Writer<V>
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
MemorySizeValueParser
-
MemorySizeValueParser
public MemorySizeValueParser(org.opensearch.core.common.io.stream.StreamInput in) throws IOException - Throws:
IOException
-
-
Method Details
-
writeTo
- Specified by:
writeTo
in interfaceorg.opensearch.core.common.io.stream.Writeable
- Throws:
IOException
-
getKey
-
apply
-
equals
-
hashCode
public int hashCode()
-