Class ConfigOptionUtils
- java.lang.Object
-
- org.apache.flink.kubernetes.operator.utils.ConfigOptionUtils
-
public class ConfigOptionUtils extends java.lang.Object
ConfigOption
utilities.
-
-
Constructor Summary
Constructors Constructor Description ConfigOptionUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <T extends java.lang.Comparable<T>>
TgetValueWithThreshold(org.apache.flink.configuration.Configuration config, org.apache.flink.configuration.ConfigOption<T> configOption, T configThreshold)
Gets the value ofConfigOption
with threshold.
-
-
-
Method Detail
-
getValueWithThreshold
public static <T extends java.lang.Comparable<T>> T getValueWithThreshold(org.apache.flink.configuration.Configuration config, org.apache.flink.configuration.ConfigOption<T> configOption, T configThreshold)
Gets the value ofConfigOption
with threshold.- Type Parameters:
T
- Type of the config value.- Parameters:
config
- The effective configconfigOption
- The config option.configThreshold
- The config threshold.- Returns:
- The value of
ConfigOption
with threshold.
-
-