public static class ConfigDef.ListSize extends Object implements ConfigDef.Validator
Modifier and Type | Method and Description |
---|---|
static ConfigDef.ListSize |
atMostOfSize(int maxSize) |
void |
ensureValid(String name,
Object value)
Perform single configuration validation.
|
String |
toString() |
public static ConfigDef.ListSize atMostOfSize(int maxSize)
public void ensureValid(String name, Object value)
ConfigDef.Validator
ensureValid
in interface ConfigDef.Validator
name
- The name of the configurationvalue
- The value of the configuration