接口 MockDriverMBean
- 所有已知实现类:
MockDriver
public interface MockDriverMBean
-
方法概要
修饰符和类型方法说明booleanacceptsURL(String url) voidlongintlongintintbooleanbooleanvoidsetIdleTimeCount(long idleTimeCount) voidsetLogExecuteQueryEnable(boolean logExecuteQueryEnable)
-
方法详细资料
-
getConnectionCloseCount
long getConnectionCloseCount() -
getMajorVersion
int getMajorVersion() -
getMinorVersion
int getMinorVersion() -
jdbcCompliant
boolean jdbcCompliant() -
acceptsURL
- 抛出:
SQLException
-
isLogExecuteQueryEnable
boolean isLogExecuteQueryEnable() -
setLogExecuteQueryEnable
void setLogExecuteQueryEnable(boolean logExecuteQueryEnable) -
getIdleTimeCount
long getIdleTimeCount() -
setIdleTimeCount
void setIdleTimeCount(long idleTimeCount) -
closeAllConnections
- 抛出:
SQLException
-
getConnectionsSize
int getConnectionsSize()
-