Package org.apache.storm.validation
Class ConfigValidation.PowerOf2Validator
java.lang.Object
org.apache.storm.validation.ConfigValidation.Validator
org.apache.storm.validation.ConfigValidation.PowerOf2Validator
- Enclosing class:
- ConfigValidation
Validates if a number is a power of 2.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
PowerOf2Validator
public PowerOf2Validator()
-
-
Method Details
-
validateField
- Specified by:
validateField
in classConfigValidation.Validator
-