Top Fields Constructors Methods
com.mysql.cj.conf

public Class MemorySizePropertyDefinition

extends IntegerPropertyDefinition
Class Inheritance
Imports
com.mysql.cj.exceptions.ExceptionInterceptor, com.mysql.cj.util.StringUtils

Field Summary

Modifier and TypeField and Description
private static final long
Inherited from com.mysql.cj.conf.IntegerPropertyDefinition:
multiplier

Constructor Summary

AccessConstructor and Description
public
MemorySizePropertyDefinition(PropertyKey key, int defaultValue, boolean isRuntimeModifiable, String description, String sinceVersion, String category, int orderInCategory)

public
MemorySizePropertyDefinition(PropertyKey key, int defaultValue, boolean isRuntimeModifiable, String description, String sinceVersion, String category, int orderInCategory, int lowerBound, int upperBound)

Method Summary

Modifier and TypeMethod and Description
public RuntimeProperty<Integer>

Returns:

RuntimeProperty
createRuntimeProperty
()

Overrides com.mysql.cj.conf.IntegerPropertyDefinition.createRuntimeProperty.

Implements com.mysql.cj.conf.PropertyDefinition.createRuntimeProperty.

Creates instance of ReadableMemorySizeProperty or ModifiableMemorySizeProperty depending on isRuntimeModifiable() result.

public Integer
parseObject(String
value
value
,
ExceptionInterceptor
exception interceptor
exceptionInterceptor
)

Overrides com.mysql.cj.conf.IntegerPropertyDefinition.parseObject.

Implements com.mysql.cj.conf.PropertyDefinition.parseObject.

Returns the value object parsed from it's string representation and checked against allowable values.

Inherited from com.mysql.cj.conf.IntegerPropertyDefinition:
integerFromisRangeBased

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides com.mysql.cj.conf.IntegerPropertyDefinition.serialVersionUID.

Constructor Detail

MemorySizePropertyDefinitionback to summary
public MemorySizePropertyDefinition(PropertyKey key, int defaultValue, boolean isRuntimeModifiable, String description, String sinceVersion, String category, int orderInCategory)
MemorySizePropertyDefinitionback to summary
public MemorySizePropertyDefinition(PropertyKey key, int defaultValue, boolean isRuntimeModifiable, String description, String sinceVersion, String category, int orderInCategory, int lowerBound, int upperBound)

Method Detail

createRuntimePropertyback to summary
public RuntimeProperty<Integer> createRuntimeProperty()

Overrides com.mysql.cj.conf.IntegerPropertyDefinition.createRuntimeProperty.

Implements com.mysql.cj.conf.PropertyDefinition.createRuntimeProperty.

Creates instance of ReadableMemorySizeProperty or ModifiableMemorySizeProperty depending on isRuntimeModifiable() result.

Returns:RuntimeProperty<Integer>

RuntimeProperty

Annotations
@Override
parseObjectback to summary
public Integer parseObject(String value, ExceptionInterceptor exceptionInterceptor)

Overrides com.mysql.cj.conf.IntegerPropertyDefinition.parseObject.

Implements com.mysql.cj.conf.PropertyDefinition.parseObject.

Doc from com.mysql.cj.conf.PropertyDefinition.parseObject.

Returns the value object parsed from it's string representation and checked against allowable values.

Parameters
value:String

value

exceptionInterceptor:ExceptionInterceptor

exception interceptor

Returns:Integer

the value object

Annotations
@Override