跳过导航链接
A C D E G H I J L M N P R S T U V 

A

afterPropertiesSet() - 类 中的方法com.alibaba.druid.spring.boot.ds.DynamicRoutingDataSource
 
around(ProceedingJoinPoint, SwitchRepository) - 类 中的方法com.alibaba.druid.spring.boot.ds.aspect.DynamicDataSourceSwitchAspect
 

C

clearDataSourceKey() - 类 中的静态方法com.alibaba.druid.spring.boot.ds.DynamicDataSourceContextHolder
To set DataSource as default
com.alibaba.druid.spring.boot - 程序包 com.alibaba.druid.spring.boot
 
com.alibaba.druid.spring.boot.ds - 程序包 com.alibaba.druid.spring.boot.ds
 
com.alibaba.druid.spring.boot.ds.annotation - 程序包 com.alibaba.druid.spring.boot.ds.annotation
 
com.alibaba.druid.spring.boot.ds.aspect - 程序包 com.alibaba.druid.spring.boot.ds.aspect
 
com.alibaba.druid.spring.boot.util - 程序包 com.alibaba.druid.spring.boot.util
 
containDataSourceKey(String) - 类 中的静态方法com.alibaba.druid.spring.boot.ds.DynamicDataSourceContextHolder
Check if give DataSource is in current DataSource list
createDataSource(DataSourceProperties, DruidProperties, String, String, String, String) - 类 中的静态方法com.alibaba.druid.spring.boot.util.DruidDataSourceUtils
 
createDataSource(DataSourceProperties, Class<? extends DataSource>) - 类 中的静态方法com.alibaba.druid.spring.boot.util.DruidDataSourceUtils
 

D

dataSource(DataSourceProperties, DruidProperties) - 类 中的方法com.alibaba.druid.spring.boot.DruidAutoConfiguration
 
DataSourceEnum - com.alibaba.druid.spring.boot.ds中的枚举
数据库 - 驱动和连接示例
dataSourceKeys - 类 中的静态变量com.alibaba.druid.spring.boot.ds.DynamicDataSourceContextHolder
All DataSource List
dataSourceList() - 枚举 中的静态方法com.alibaba.druid.spring.boot.ds.DataSourceEnum
 
determineCurrentLookupKey() - 类 中的方法com.alibaba.druid.spring.boot.ds.DynamicRoutingDataSource
 
driverClassName - 类 中的变量com.alibaba.druid.spring.boot.ds.DynamicDataSourceSetting
driverClassName: 连接数据库的驱动名称,如果没有设置Druid会自动根据数据库连接地址进行匹配
DruidAutoConfiguration - com.alibaba.druid.spring.boot中的类
DruidAutoConfiguration配置类
DruidAutoConfiguration() - 类 的构造器com.alibaba.druid.spring.boot.DruidAutoConfiguration
 
DruidDataSourceUtils - com.alibaba.druid.spring.boot.util中的类
 
DruidDataSourceUtils() - 类 的构造器com.alibaba.druid.spring.boot.util.DruidDataSourceUtils
 
DruidProperties - com.alibaba.druid.spring.boot中的类
 
DruidProperties() - 类 的构造器com.alibaba.druid.spring.boot.DruidProperties
 
DynamicDataSourceContextHolder - com.alibaba.druid.spring.boot.ds中的类
 
DynamicDataSourceContextHolder() - 类 的构造器com.alibaba.druid.spring.boot.ds.DynamicDataSourceContextHolder
 
DynamicDataSourceSetting - com.alibaba.druid.spring.boot.ds中的类
 
DynamicDataSourceSetting() - 类 的构造器com.alibaba.druid.spring.boot.ds.DynamicDataSourceSetting
 
DynamicDataSourceSwitchAspect - com.alibaba.druid.spring.boot.ds.aspect中的类
数据源自动切换切面
DynamicDataSourceSwitchAspect() - 类 的构造器com.alibaba.druid.spring.boot.ds.aspect.DynamicDataSourceSwitchAspect
 
DynamicRoutingDataSource - com.alibaba.druid.spring.boot.ds中的类
 
DynamicRoutingDataSource() - 类 的构造器com.alibaba.druid.spring.boot.ds.DynamicRoutingDataSource
 

E

equals(DataSourceEnum) - 枚举 中的方法com.alibaba.druid.spring.boot.ds.DataSourceEnum
 
equals(String) - 枚举 中的方法com.alibaba.druid.spring.boot.ds.DataSourceEnum
 

G

getConnectionProperties() - 类 中的方法com.alibaba.druid.spring.boot.DruidProperties
 
getDataSourceKey() - 类 中的静态方法com.alibaba.druid.spring.boot.ds.DynamicDataSourceContextHolder
Get current DataSource
getDefaultPort() - 枚举 中的方法com.alibaba.druid.spring.boot.ds.DataSourceEnum
 
getDriverClass() - 枚举 中的方法com.alibaba.druid.spring.boot.ds.DataSourceEnum
 
getDriverClass(String) - 类 中的静态方法com.alibaba.druid.spring.boot.util.JDBCUtils
 
getDriverClassName() - 类 中的方法com.alibaba.druid.spring.boot.DruidProperties
 
getDriverClassName() - 类 中的方法com.alibaba.druid.spring.boot.ds.DynamicDataSourceSetting
 
getFilters() - 类 中的方法com.alibaba.druid.spring.boot.DruidProperties
 
getInitialSize() - 类 中的方法com.alibaba.druid.spring.boot.DruidProperties
 
getKey() - 枚举 中的方法com.alibaba.druid.spring.boot.ds.DataSourceEnum
 
getLogFilter() - 类 中的方法com.alibaba.druid.spring.boot.DruidProperties
 
getMaxActive() - 类 中的方法com.alibaba.druid.spring.boot.DruidProperties
 
getMaxEvictableIdleTimeMillis() - 类 中的方法com.alibaba.druid.spring.boot.DruidProperties
 
getMaxPoolPreparedStatementPerConnectionSize() - 类 中的方法com.alibaba.druid.spring.boot.DruidProperties
 
getMaxWait() - 类 中的方法com.alibaba.druid.spring.boot.DruidProperties
 
getMaxWaitThreadCount() - 类 中的方法com.alibaba.druid.spring.boot.DruidProperties
 
getMinEvictableIdleTimeMillis() - 类 中的方法com.alibaba.druid.spring.boot.DruidProperties
 
getMinIdle() - 类 中的方法com.alibaba.druid.spring.boot.DruidProperties
 
getName() - 类 中的方法com.alibaba.druid.spring.boot.DruidProperties
 
getName() - 类 中的方法com.alibaba.druid.spring.boot.ds.DynamicDataSourceSetting
 
getNotFullTimeoutRetryCount() - 类 中的方法com.alibaba.druid.spring.boot.DruidProperties
 
getPassword() - 类 中的方法com.alibaba.druid.spring.boot.DruidProperties
 
getPassword() - 类 中的方法com.alibaba.druid.spring.boot.ds.DynamicDataSourceSetting
 
getPhyTimeoutMillis() - 类 中的方法com.alibaba.druid.spring.boot.DruidProperties
 
getProxyFilters(DruidProperties) - 类 中的静态方法com.alibaba.druid.spring.boot.util.DruidDataSourceUtils
 
getRemoveAbandonedTimeoutMillis() - 类 中的方法com.alibaba.druid.spring.boot.DruidProperties
 
getResolvedDataSources() - 类 中的方法com.alibaba.druid.spring.boot.ds.DynamicRoutingDataSource
 
getSlaves() - 类 中的方法com.alibaba.druid.spring.boot.DruidProperties
 
getStatFilter() - 类 中的方法com.alibaba.druid.spring.boot.DruidProperties
 
getStatSqlMaxSize() - 类 中的方法com.alibaba.druid.spring.boot.DruidProperties
 
getTargetDataSources() - 类 中的方法com.alibaba.druid.spring.boot.ds.DynamicRoutingDataSource
 
getTimeBetweenEvictionRunsMillis() - 类 中的方法com.alibaba.druid.spring.boot.DruidProperties
 
getTimeBetweenLogStatsMillis() - 类 中的方法com.alibaba.druid.spring.boot.DruidProperties
 
getUrl() - 类 中的方法com.alibaba.druid.spring.boot.DruidProperties
 
getURL(String, int, String) - 枚举 中的方法com.alibaba.druid.spring.boot.ds.DataSourceEnum
 
getUrl() - 类 中的方法com.alibaba.druid.spring.boot.ds.DynamicDataSourceSetting
 
getUsername() - 类 中的方法com.alibaba.druid.spring.boot.DruidProperties
 
getUsername() - 类 中的方法com.alibaba.druid.spring.boot.ds.DynamicDataSourceSetting
 
getValidationQuery() - 类 中的方法com.alibaba.druid.spring.boot.DruidProperties
 
getVendor() - 枚举 中的方法com.alibaba.druid.spring.boot.ds.DataSourceEnum
 
getWallFilter() - 类 中的方法com.alibaba.druid.spring.boot.DruidProperties
 

H

hasDriver() - 枚举 中的方法com.alibaba.druid.spring.boot.ds.DataSourceEnum
驱动是否存在

I

isClearFiltersEnable() - 类 中的方法com.alibaba.druid.spring.boot.DruidProperties
 
isDynamic() - 类 中的方法com.alibaba.druid.spring.boot.DruidProperties
 
isEnabled() - 类 中的方法com.alibaba.druid.spring.boot.DruidProperties
 
isFailFast() - 类 中的方法com.alibaba.druid.spring.boot.DruidProperties
 
isInitGlobalVariants() - 类 中的方法com.alibaba.druid.spring.boot.DruidProperties
 
isInitVariants() - 类 中的方法com.alibaba.druid.spring.boot.DruidProperties
 
isKeepAlive() - 类 中的方法com.alibaba.druid.spring.boot.DruidProperties
 
isKillWhenSocketReadTimeout() - 类 中的方法com.alibaba.druid.spring.boot.DruidProperties
 
isPoolPreparedStatements() - 类 中的方法com.alibaba.druid.spring.boot.DruidProperties
 
isProxyFilter() - 类 中的方法com.alibaba.druid.spring.boot.DruidProperties
 
isRemoveAbandoned() - 类 中的方法com.alibaba.druid.spring.boot.DruidProperties
 
isResetStatEnable() - 类 中的方法com.alibaba.druid.spring.boot.DruidProperties
 
isStandlone() - 枚举 中的方法com.alibaba.druid.spring.boot.ds.DataSourceEnum
 
isTestOnBorrow() - 类 中的方法com.alibaba.druid.spring.boot.DruidProperties
 
isTestOnReturn() - 类 中的方法com.alibaba.druid.spring.boot.DruidProperties
 
isTestWhileIdle() - 类 中的方法com.alibaba.druid.spring.boot.DruidProperties
 
isUseGlobalDataSourceStat() - 类 中的方法com.alibaba.druid.spring.boot.DruidProperties
 
isUseUnfairLock() - 类 中的方法com.alibaba.druid.spring.boot.DruidProperties
 

J

JDBCUtils - com.alibaba.druid.spring.boot.util中的类
 
JDBCUtils() - 类 的构造器com.alibaba.druid.spring.boot.util.JDBCUtils
 

L

logger - 类 中的变量com.alibaba.druid.spring.boot.ds.aspect.DynamicDataSourceSwitchAspect
 
logger - 类 中的变量com.alibaba.druid.spring.boot.ds.DynamicRoutingDataSource
 

M

MASTER_DATASOURCE - 类 中的静态变量com.alibaba.druid.spring.boot.ds.DynamicDataSourceContextHolder
 

N

name - 类 中的变量com.alibaba.druid.spring.boot.ds.DynamicDataSourceSetting
配置这个属性的意义在于,如果存在多个数据源,监控的时候可以通过名字来区分开来。
notNullAdd(Properties, String, Object) - 类 中的方法com.alibaba.druid.spring.boot.DruidProperties
 

P

password - 类 中的变量com.alibaba.druid.spring.boot.ds.DynamicDataSourceSetting
password: 连接数据库的密码
PREFIX - 类 中的静态变量com.alibaba.druid.spring.boot.DruidProperties
 

R

removeTargetDataSource(String) - 类 中的方法com.alibaba.druid.spring.boot.ds.DynamicRoutingDataSource
 
resolvedDataSourcesField - 类 中的静态变量com.alibaba.druid.spring.boot.ds.DynamicRoutingDataSource
 

S

setClearFiltersEnable(boolean) - 类 中的方法com.alibaba.druid.spring.boot.DruidProperties
 
setConnectionProperties(Properties) - 类 中的方法com.alibaba.druid.spring.boot.DruidProperties
 
setDataSourceKey(String) - 类 中的静态方法com.alibaba.druid.spring.boot.ds.DynamicDataSourceContextHolder
To switch DataSource
setDriverClassName(String) - 类 中的方法com.alibaba.druid.spring.boot.DruidProperties
 
setDriverClassName(String) - 类 中的方法com.alibaba.druid.spring.boot.ds.DynamicDataSourceSetting
 
setDynamic(boolean) - 类 中的方法com.alibaba.druid.spring.boot.DruidProperties
 
setEnabled(boolean) - 类 中的方法com.alibaba.druid.spring.boot.DruidProperties
 
setFailFast(boolean) - 类 中的方法com.alibaba.druid.spring.boot.DruidProperties
 
setFilters(String) - 类 中的方法com.alibaba.druid.spring.boot.DruidProperties
 
setInitGlobalVariants(boolean) - 类 中的方法com.alibaba.druid.spring.boot.DruidProperties
 
setInitialSize(Integer) - 类 中的方法com.alibaba.druid.spring.boot.DruidProperties
 
setInitVariants(boolean) - 类 中的方法com.alibaba.druid.spring.boot.DruidProperties
 
setKeepAlive(boolean) - 类 中的方法com.alibaba.druid.spring.boot.DruidProperties
 
setKillWhenSocketReadTimeout(boolean) - 类 中的方法com.alibaba.druid.spring.boot.DruidProperties
 
setLogFilter(Slf4jLogFilter) - 类 中的方法com.alibaba.druid.spring.boot.DruidProperties
 
setMaxActive(Integer) - 类 中的方法com.alibaba.druid.spring.boot.DruidProperties
 
setMaxEvictableIdleTimeMillis(Long) - 类 中的方法com.alibaba.druid.spring.boot.DruidProperties
 
setMaxPoolPreparedStatementPerConnectionSize(Integer) - 类 中的方法com.alibaba.druid.spring.boot.DruidProperties
 
setMaxWait(Long) - 类 中的方法com.alibaba.druid.spring.boot.DruidProperties
 
setMaxWaitThreadCount(Integer) - 类 中的方法com.alibaba.druid.spring.boot.DruidProperties
 
setMinEvictableIdleTimeMillis(Long) - 类 中的方法com.alibaba.druid.spring.boot.DruidProperties
 
setMinIdle(Integer) - 类 中的方法com.alibaba.druid.spring.boot.DruidProperties
 
setName(String) - 类 中的方法com.alibaba.druid.spring.boot.DruidProperties
 
setName(String) - 类 中的方法com.alibaba.druid.spring.boot.ds.DynamicDataSourceSetting
 
setNewTargetDataSources(Map<Object, Object>) - 类 中的方法com.alibaba.druid.spring.boot.ds.DynamicRoutingDataSource
为动态数据源设置新的数据源目标源集合
setNotFullTimeoutRetryCount(Integer) - 类 中的方法com.alibaba.druid.spring.boot.DruidProperties
 
setPassword(String) - 类 中的方法com.alibaba.druid.spring.boot.DruidProperties
 
setPassword(String) - 类 中的方法com.alibaba.druid.spring.boot.ds.DynamicDataSourceSetting
 
setPhyTimeoutMillis(Long) - 类 中的方法com.alibaba.druid.spring.boot.DruidProperties
 
setPoolPreparedStatements(boolean) - 类 中的方法com.alibaba.druid.spring.boot.DruidProperties
 
setProxyFilter(boolean) - 类 中的方法com.alibaba.druid.spring.boot.DruidProperties
 
setRemoveAbandoned(boolean) - 类 中的方法com.alibaba.druid.spring.boot.DruidProperties
 
setRemoveAbandonedTimeoutMillis(Long) - 类 中的方法com.alibaba.druid.spring.boot.DruidProperties
 
setResetStatEnable(boolean) - 类 中的方法com.alibaba.druid.spring.boot.DruidProperties
 
setSlaves(List<DynamicDataSourceSetting>) - 类 中的方法com.alibaba.druid.spring.boot.DruidProperties
 
setStatFilter(StatFilter) - 类 中的方法com.alibaba.druid.spring.boot.DruidProperties
 
setStatSqlMaxSize(Integer) - 类 中的方法com.alibaba.druid.spring.boot.DruidProperties
 
setTargetDataSource(DataSourceProperties, DruidProperties, String, String, String, String) - 类 中的方法com.alibaba.druid.spring.boot.ds.DynamicRoutingDataSource
 
setTargetDataSource(DataSourceProperties, DruidProperties, DynamicDataSourceSetting) - 类 中的方法com.alibaba.druid.spring.boot.ds.DynamicRoutingDataSource
为动态数据源设置新的数据源目标源集
setTestOnBorrow(boolean) - 类 中的方法com.alibaba.druid.spring.boot.DruidProperties
 
setTestOnReturn(boolean) - 类 中的方法com.alibaba.druid.spring.boot.DruidProperties
 
setTestWhileIdle(boolean) - 类 中的方法com.alibaba.druid.spring.boot.DruidProperties
 
setTimeBetweenEvictionRunsMillis(Long) - 类 中的方法com.alibaba.druid.spring.boot.DruidProperties
 
setTimeBetweenLogStatsMillis(Long) - 类 中的方法com.alibaba.druid.spring.boot.DruidProperties
 
setUrl(String) - 类 中的方法com.alibaba.druid.spring.boot.DruidProperties
 
setUrl(String) - 类 中的方法com.alibaba.druid.spring.boot.ds.DynamicDataSourceSetting
 
setUseGlobalDataSourceStat(boolean) - 类 中的方法com.alibaba.druid.spring.boot.DruidProperties
 
setUsername(String) - 类 中的方法com.alibaba.druid.spring.boot.DruidProperties
 
setUsername(String) - 类 中的方法com.alibaba.druid.spring.boot.ds.DynamicDataSourceSetting
 
setUseUnfairLock(boolean) - 类 中的方法com.alibaba.druid.spring.boot.DruidProperties
 
setValidationQuery(String) - 类 中的方法com.alibaba.druid.spring.boot.DruidProperties
 
setWallFilter(WallFilter) - 类 中的方法com.alibaba.druid.spring.boot.DruidProperties
 
SwitchRepository - com.alibaba.druid.spring.boot.ds.annotation中的注释类型
用于方法注释;是否切换数据源及切换的数据源名称

T

targetDataSourcesField - 类 中的静态变量com.alibaba.druid.spring.boot.ds.DynamicRoutingDataSource
 
testConnection(String, String, String, String) - 类 中的静态方法com.alibaba.druid.spring.boot.util.JDBCUtils
 
toMap() - 枚举 中的方法com.alibaba.druid.spring.boot.ds.DataSourceEnum
 
toProperties() - 类 中的方法com.alibaba.druid.spring.boot.DruidProperties
 

U

url - 类 中的变量com.alibaba.druid.spring.boot.ds.DynamicDataSourceSetting
jdbcUrl: 连接数据库的url,不同数据库不一样
username - 类 中的变量com.alibaba.druid.spring.boot.ds.DynamicDataSourceSetting
username: 连接数据库的用户名
useSlaveDataSource() - 类 中的静态方法com.alibaba.druid.spring.boot.ds.DynamicDataSourceContextHolder
当使用只读数据源时通过轮循方式选择要使用的数据源

V

valueOf(String) - 枚举 中的静态方法com.alibaba.druid.spring.boot.ds.DataSourceEnum
返回带有指定名称的该类型的枚举常量。
valueOfIgnoreCase(String) - 枚举 中的静态方法com.alibaba.druid.spring.boot.ds.DataSourceEnum
 
values() - 枚举 中的静态方法com.alibaba.druid.spring.boot.ds.DataSourceEnum
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
A C D E G H I J L M N P R S T U V 
跳过导航链接

Copyright © 2018. All rights reserved.