Top Fields Constructors Methods
com.mysql.cj.conf

public Class MemorySizeProperty

extends IntegerProperty
Class Inheritance
Imports
java.util.Properties, javax.naming.Reference, com.mysql.cj.exceptions.ExceptionInterceptor

Field Summary

Modifier and TypeField and Description
private String
private static final long
protected String

Constructor Summary

AccessConstructor and Description
protected

Method Summary

Modifier and TypeMethod and Description
public String
public void
initializeFrom(Properties
Properties object containing key-value pairs usually passed from connection string.
extractFrom
,
ExceptionInterceptor
exceptionInterceptor
exceptionInterceptor
)

Overrides com.mysql.cj.conf.AbstractRuntimeProperty.initializeFrom.

Implements com.mysql.cj.conf.RuntimeProperty.initializeFrom.

Explicitly set value of this RuntimeProperty according to the self-titled property value contained in extractFrom.

public void
public void
resetValue()

Overrides com.mysql.cj.conf.AbstractRuntimeProperty.resetValue.

Implements com.mysql.cj.conf.RuntimeProperty.resetValue.

Reset to initial value (default or defined in connection string/Properties)

public void
setValueInternal(Integer
value
value
,
String
value represented by String
valueAsString
,
ExceptionInterceptor
exception interceptor
exceptionInterceptor
)

Overrides com.mysql.cj.conf.AbstractRuntimeProperty.setValueInternal.

Internal method for setting property value; ignoring the RUNTIME_NOT_MODIFIABLE flag.

Inherited from com.mysql.cj.conf.IntegerProperty:
checkRange

Field Detail

initialValueAsStringback to summary
private String initialValueAsString
serialVersionUIDback to summary
private static final long serialVersionUID

Hides com.mysql.cj.conf.IntegerProperty.serialVersionUID.

valueAsStringback to summary
protected String valueAsString

Constructor Detail

MemorySizePropertyback to summary
protected MemorySizeProperty(PropertyDefinition<Integer> propertyDefinition)

Method Detail

getStringValueback to summary
public String getStringValue()

Overrides com.mysql.cj.conf.AbstractRuntimeProperty.getStringValue.

Implements com.mysql.cj.conf.RuntimeProperty.getStringValue.

Doc from com.mysql.cj.conf.RuntimeProperty.getStringValue.

Get internal value representation as String.

Returns:String

value

Annotations
@Override
initializeFromback to summary
public void initializeFrom(Properties extractFrom, ExceptionInterceptor exceptionInterceptor)

Overrides com.mysql.cj.conf.AbstractRuntimeProperty.initializeFrom.

Implements com.mysql.cj.conf.RuntimeProperty.initializeFrom.

Doc from com.mysql.cj.conf.RuntimeProperty.initializeFrom.

Explicitly set value of this RuntimeProperty according to the self-titled property value contained in extractFrom. This method is called during PropertySet initialization thus ignores the RUNTIME_NOT_MODIFIABLE flag.

This value will also be the initial one, i.e. resetValue() will reset to this value, not the default one.

If extractFrom does not contain such property then this RuntimeProperty remains unchanged.

Parameters
extractFrom:Properties

Properties object containing key-value pairs usually passed from connection string.

exceptionInterceptor:ExceptionInterceptor

exceptionInterceptor

Annotations
@Override
initializeFromback to summary
public void initializeFrom(Reference ref, ExceptionInterceptor exceptionInterceptor)

Overrides com.mysql.cj.conf.AbstractRuntimeProperty.initializeFrom.

Implements com.mysql.cj.conf.RuntimeProperty.initializeFrom.

Annotations
@Override
resetValueback to summary
public void resetValue()

Overrides com.mysql.cj.conf.AbstractRuntimeProperty.resetValue.

Implements com.mysql.cj.conf.RuntimeProperty.resetValue.

Doc from com.mysql.cj.conf.RuntimeProperty.resetValue.

Reset to initial value (default or defined in connection string/Properties)

Annotations
@Override
setValueInternalback to summary
public void setValueInternal(Integer value, String valueAsString, ExceptionInterceptor exceptionInterceptor)

Overrides com.mysql.cj.conf.AbstractRuntimeProperty.setValueInternal.

Doc from com.mysql.cj.conf.AbstractRuntimeProperty.setValueInternal.

Internal method for setting property value; ignoring the RUNTIME_NOT_MODIFIABLE flag.

Parameters
value:Integer

value

valueAsString:String

value represented by String

exceptionInterceptor:ExceptionInterceptor

exception interceptor

Annotations
@Override