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.ValidatorensureValid in interface ConfigDef.Validatorname - The name of the configurationvalue - The value of the configuration