类 DefaultPropertySet
- java.lang.Object
-
- com.mysql.cj.conf.DefaultPropertySet
-
- 所有已实现的接口:
PropertySet,Serializable
- 直接已知子类:
JdbcPropertySetImpl
public class DefaultPropertySet extends Object implements PropertySet, Serializable
- 另请参阅:
- 序列化表格
-
-
构造器概要
构造器 构造器 说明 DefaultPropertySet()
-
方法概要
-
-
-
方法详细资料
-
addProperty
public void addProperty(RuntimeProperty<?> prop)
- 指定者:
addProperty在接口中PropertySet
-
removeProperty
public void removeProperty(String name)
- 指定者:
removeProperty在接口中PropertySet
-
removeProperty
public void removeProperty(PropertyKey key)
- 指定者:
removeProperty在接口中PropertySet
-
getProperty
public <T> RuntimeProperty<T> getProperty(String name)
- 指定者:
getProperty在接口中PropertySet
-
getProperty
public <T> RuntimeProperty<T> getProperty(PropertyKey key)
- 指定者:
getProperty在接口中PropertySet
-
getBooleanProperty
public RuntimeProperty<Boolean> getBooleanProperty(String name)
- 指定者:
getBooleanProperty在接口中PropertySet
-
getBooleanProperty
public RuntimeProperty<Boolean> getBooleanProperty(PropertyKey key)
- 指定者:
getBooleanProperty在接口中PropertySet
-
getIntegerProperty
public RuntimeProperty<Integer> getIntegerProperty(String name)
- 指定者:
getIntegerProperty在接口中PropertySet
-
getIntegerProperty
public RuntimeProperty<Integer> getIntegerProperty(PropertyKey key)
- 指定者:
getIntegerProperty在接口中PropertySet
-
getLongProperty
public RuntimeProperty<Long> getLongProperty(String name)
- 指定者:
getLongProperty在接口中PropertySet
-
getLongProperty
public RuntimeProperty<Long> getLongProperty(PropertyKey key)
- 指定者:
getLongProperty在接口中PropertySet
-
getMemorySizeProperty
public RuntimeProperty<Integer> getMemorySizeProperty(String name)
- 指定者:
getMemorySizeProperty在接口中PropertySet
-
getMemorySizeProperty
public RuntimeProperty<Integer> getMemorySizeProperty(PropertyKey key)
- 指定者:
getMemorySizeProperty在接口中PropertySet
-
getStringProperty
public RuntimeProperty<String> getStringProperty(String name)
- 指定者:
getStringProperty在接口中PropertySet
-
getStringProperty
public RuntimeProperty<String> getStringProperty(PropertyKey key)
- 指定者:
getStringProperty在接口中PropertySet
-
getEnumProperty
public <T extends Enum<T>> RuntimeProperty<T> getEnumProperty(String name)
- 指定者:
getEnumProperty在接口中PropertySet
-
getEnumProperty
public <T extends Enum<T>> RuntimeProperty<T> getEnumProperty(PropertyKey key)
- 指定者:
getEnumProperty在接口中PropertySet
-
initializeProperties
public void initializeProperties(Properties props)
从接口复制的说明:PropertySetInitializes the property set with driver properties that come from URL or passed to the driver manager.- 指定者:
initializeProperties在接口中PropertySet- 参数:
props- properties
-
postInitialization
public void postInitialization()
- 指定者:
postInitialization在接口中PropertySet
-
exposeAsProperties
public Properties exposeAsProperties()
- 指定者:
exposeAsProperties在接口中PropertySet
-
reset
public void reset()
从接口复制的说明:PropertySetReset all properties to their initial values.- 指定者:
reset在接口中PropertySet
-
-