com.alibaba.druid.mock
Interface MockDriverMBean
- All Known Implementing Classes:
- MockDriver
public interface MockDriverMBean
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()
Copyright © 2012 Alibaba Group. All Rights Reserved.