public interface MockDriverMBean
限定符和类型 | 方法和说明 |
---|---|
boolean |
acceptsURL(String url) |
void |
closeAllConnections() |
long |
getConnectionCloseCount() |
int |
getConnectionsSize() |
long |
getIdleTimeCount() |
int |
getMajorVersion() |
int |
getMinorVersion() |
boolean |
isLogExecuteQueryEnable() |
boolean |
jdbcCompliant() |
void |
setIdleTimeCount(long idleTimeCount) |
void |
setLogExecuteQueryEnable(boolean logExecuteQueryEnable) |
long getConnectionCloseCount()
int getMajorVersion()
int getMinorVersion()
boolean jdbcCompliant()
boolean acceptsURL(String url) throws SQLException
SQLException
boolean isLogExecuteQueryEnable()
void setLogExecuteQueryEnable(boolean logExecuteQueryEnable)
long getIdleTimeCount()
void setIdleTimeCount(long idleTimeCount)
void closeAllConnections() throws SQLException
SQLException
int getConnectionsSize()
Copyright © 2012 Alibaba Group. All Rights Reserved.