Package com.alibaba.druid.mock
Interface MockDriverMBean
- All Known Implementing Classes:
MockDriver
public interface MockDriverMBean
-
Method Summary
Modifier and TypeMethodDescriptionboolean
acceptsURL
(String url) void
long
int
long
int
int
boolean
boolean
void
setIdleTimeCount
(long idleTimeCount) void
setLogExecuteQueryEnable
(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()
-