com.alibaba.druid.mock
接口 MockDriverMBean

所有已知实现类:
MockDriver

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)
           
 

方法详细信息

getConnectionCloseCount

long getConnectionCloseCount()

getMajorVersion

int getMajorVersion()

getMinorVersion

int getMinorVersion()

jdbcCompliant

boolean jdbcCompliant()

acceptsURL

boolean acceptsURL(String url)
                   throws SQLException
抛出:
SQLException

isLogExecuteQueryEnable

boolean isLogExecuteQueryEnable()

setLogExecuteQueryEnable

void setLogExecuteQueryEnable(boolean logExecuteQueryEnable)

getIdleTimeCount

long getIdleTimeCount()

setIdleTimeCount

void setIdleTimeCount(long idleTimeCount)

closeAllConnections

void closeAllConnections()
                         throws SQLException
抛出:
SQLException

getConnectionsSize

int getConnectionsSize()


Copyright © 2013 Alibaba Group. All Rights Reserved.