Package org.apache.kafka.common.config
Class ConfigDef.Range
java.lang.Object
org.apache.kafka.common.config.ConfigDef.Range
- All Implemented Interfaces:
- ConfigDef.Validator
- Enclosing class:
- ConfigDef
Validation logic for numeric ranges
- 
Method SummaryModifier and TypeMethodDescriptionstatic ConfigDef.RangeA numeric range that checks only the lower boundstatic ConfigDef.RangeA numeric range that checks both the upper (inclusive) and lower boundvoidensureValid(String name, Object o) Perform single configuration validation.toString()
- 
Method Details- 
atLeastA numeric range that checks only the lower bound- Parameters:
- min- The minimum acceptable value
 
- 
betweenA numeric range that checks both the upper (inclusive) and lower bound
- 
ensureValidDescription copied from interface:ConfigDef.ValidatorPerform single configuration validation.- Specified by:
- ensureValidin interface- ConfigDef.Validator
- Parameters:
- name- The name of the configuration
- o- The value of the configuration
 
- 
toString
 
-