Package com.alibaba.druid.mock
Interface MockDriverMBean
-
- All Known Implementing Classes:
MockDriver
public interface MockDriverMBean
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanacceptsURL(String url)voidcloseAllConnections()longgetConnectionCloseCount()intgetConnectionsSize()longgetIdleTimeCount()intgetMajorVersion()intgetMinorVersion()booleanisLogExecuteQueryEnable()booleanjdbcCompliant()voidsetIdleTimeCount(long idleTimeCount)voidsetLogExecuteQueryEnable(boolean logExecuteQueryEnable)
-
-
-
Method Detail
-
getConnectionCloseCount
long getConnectionCloseCount()
-
getMajorVersion
int getMajorVersion()
-
getMinorVersion
int getMinorVersion()
-
jdbcCompliant
boolean jdbcCompliant()
-
acceptsURL
boolean acceptsURL(String url) throws SQLException
- Throws:
SQLException
-
isLogExecuteQueryEnable
boolean isLogExecuteQueryEnable()
-
setLogExecuteQueryEnable
void setLogExecuteQueryEnable(boolean logExecuteQueryEnable)
-
getIdleTimeCount
long getIdleTimeCount()
-
setIdleTimeCount
void setIdleTimeCount(long idleTimeCount)
-
closeAllConnections
void closeAllConnections() throws SQLException- Throws:
SQLException
-
getConnectionsSize
int getConnectionsSize()
-
-