Package org.apache.kafka.clients.admin
Class SupportedVersionRange
java.lang.Object
org.apache.kafka.clients.admin.SupportedVersionRange
Represents a range of versions that a particular broker supports for some feature.
- 
Constructor SummaryConstructorsConstructorDescriptionSupportedVersionRange(short minVersion, short maxVersion) Raises an exception unless the following conditions are met: 0 <= minVersion <= maxVersion.
- 
Method Summary
- 
Constructor Details- 
SupportedVersionRangepublic SupportedVersionRange(short minVersion, short maxVersion) Raises an exception unless the following conditions are met: 0 <= minVersion <= maxVersion.- Parameters:
- minVersion- The minimum version value.
- maxVersion- The maximum version value.
- Throws:
- IllegalArgumentException- Raised when the condition described above is not met.
 
 
- 
- 
Method Details