Package com.alibaba.druid.mock
Interface MockDriverMBean
- All Known Implementing Classes:
MockDriver
public interface MockDriverMBean
-
Method Summary
Modifier and TypeMethodDescriptionbooleanacceptsURL(String url) voidlongintlongintintbooleanbooleanvoidsetIdleTimeCount(long idleTimeCount) voidsetLogExecuteQueryEnable(boolean logExecuteQueryEnable)
-
Method Details
-
getConnectionCloseCount
long getConnectionCloseCount() -
getMajorVersion
int getMajorVersion() -
getMinorVersion
int getMinorVersion() -
jdbcCompliant
boolean jdbcCompliant() -
acceptsURL
- Throws:
SQLException
-
isLogExecuteQueryEnable
boolean isLogExecuteQueryEnable() -
setLogExecuteQueryEnable
void setLogExecuteQueryEnable(boolean logExecuteQueryEnable) -
getIdleTimeCount
long getIdleTimeCount() -
setIdleTimeCount
void setIdleTimeCount(long idleTimeCount) -
closeAllConnections
- Throws:
SQLException
-
getConnectionsSize
int getConnectionsSize()
-