com.alibaba.druid.mock
Interface MockDriverMBean

All Known Implementing Classes:
MockDriver

public interface MockDriverMBean


Method Summary
 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)
           
 

Method Detail

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.