Package com.mysql.cj.conf
Class IntegerProperty
java.lang.Object
com.mysql.cj.conf.AbstractRuntimeProperty<java.lang.Integer>
com.mysql.cj.conf.IntegerProperty
- All Implemented Interfaces:
RuntimeProperty<java.lang.Integer>,java.io.Serializable
- Direct Known Subclasses:
MemorySizeProperty
public class IntegerProperty extends AbstractRuntimeProperty<java.lang.Integer>
- See Also:
- Serialized Form
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.mysql.cj.conf.RuntimeProperty
RuntimeProperty.RuntimePropertyListener -
Field Summary
Fields inherited from class com.mysql.cj.conf.AbstractRuntimeProperty
initialValue, value, wasExplicitlySet -
Constructor Summary
Constructors Constructor Description IntegerProperty(PropertyDefinition<java.lang.Integer> propertyDefinition) -
Method Summary
Modifier and Type Method Description protected voidcheckRange(java.lang.Integer val, java.lang.String valueAsString, ExceptionInterceptor exceptionInterceptor)For range-based property, checks that value fit into range given by PropertyDefinition.Methods inherited from class com.mysql.cj.conf.AbstractRuntimeProperty
addListener, getInitialValue, getPropertyDefinition, getStringValue, getValue, initializeFrom, initializeFrom, invokeListeners, isExplicitlySet, removeListener, resetValue, setValue, setValue, setValueInternal, setValueInternal
-
Constructor Details
-
Method Details
-
checkRange
protected void checkRange(java.lang.Integer val, java.lang.String valueAsString, ExceptionInterceptor exceptionInterceptor)Description copied from class:AbstractRuntimePropertyFor range-based property, checks that value fit into range given by PropertyDefinition.- Overrides:
checkRangein classAbstractRuntimeProperty<java.lang.Integer>- Parameters:
val- valuevalueAsString- value represented by StringexceptionInterceptor- exception interceptor
-