Package com.alibaba.druid.pool
Class DruidDataSourceStatLoggerImpl
java.lang.Object
com.alibaba.druid.pool.DruidDataSourceStatLoggerAdapter
com.alibaba.druid.pool.DruidDataSourceStatLoggerImpl
- All Implemented Interfaces:
DruidDataSourceStatLogger
- Since:
- 0.2.19
- Author:
- wenshao [szujobs@hotmail.com]
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidconfigFromProperties(Properties properties) booleanvoidlog(DruidDataSourceStatValue statValue) voidvoidvoidsetLoggerName(String loggerName)
-
Constructor Details
-
DruidDataSourceStatLoggerImpl
public DruidDataSourceStatLoggerImpl()
-
-
Method Details
-
configFromProperties
- Specified by:
configFromPropertiesin interfaceDruidDataSourceStatLogger- Overrides:
configFromPropertiesin classDruidDataSourceStatLoggerAdapter- Parameters:
properties- the properties to be used for configuration- Since:
- 0.2.21
-
getLogger
-
setLoggerName
- Specified by:
setLoggerNamein interfaceDruidDataSourceStatLogger- Overrides:
setLoggerNamein classDruidDataSourceStatLoggerAdapter
-
setLogger
- Specified by:
setLoggerin interfaceDruidDataSourceStatLogger- Overrides:
setLoggerin classDruidDataSourceStatLoggerAdapter
-
isLogEnable
public boolean isLogEnable() -
log
-
log
- Specified by:
login interfaceDruidDataSourceStatLogger- Overrides:
login classDruidDataSourceStatLoggerAdapter
-