Package com.alibaba.druid.proxy.jdbc
Interface ConnectionProxy
-
- All Superinterfaces:
AutoCloseable,Connection,Wrapper,WrapperProxy
- All Known Implementing Classes:
ConnectionProxyImpl
public interface ConnectionProxy extends Connection, WrapperProxy
- Author:
- wenshao [szujobs@hotmail.com]
-
-
Field Summary
-
Fields inherited from interface java.sql.Connection
TRANSACTION_NONE, TRANSACTION_READ_COMMITTED, TRANSACTION_READ_UNCOMMITTED, TRANSACTION_REPEATABLE_READ, TRANSACTION_SERIALIZABLE
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetCloseCount()DategetConnectedTime()DataSourceProxygetDirectDataSource()longgetLastValidateTimeMillis()PropertiesgetProperties()ConnectiongetRawObject()TransactionInfogetTransactionInfo()-
Methods inherited from interface java.sql.Connection
abort, beginRequest, clearWarnings, close, commit, createArrayOf, createBlob, createClob, createNClob, createSQLXML, createStatement, createStatement, createStatement, createStruct, endRequest, getAutoCommit, getCatalog, getClientInfo, getClientInfo, getHoldability, getMetaData, getNetworkTimeout, getSchema, getTransactionIsolation, getTypeMap, getWarnings, isClosed, isReadOnly, isValid, nativeSQL, prepareCall, prepareCall, prepareCall, prepareStatement, prepareStatement, prepareStatement, prepareStatement, prepareStatement, prepareStatement, releaseSavepoint, rollback, rollback, setAutoCommit, setCatalog, setClientInfo, setClientInfo, setHoldability, setNetworkTimeout, setReadOnly, setSavepoint, setSavepoint, setSchema, setShardingKey, setShardingKey, setShardingKeyIfValid, setShardingKeyIfValid, setTransactionIsolation, setTypeMap
-
Methods inherited from interface java.sql.Wrapper
isWrapperFor, unwrap
-
Methods inherited from interface com.alibaba.druid.proxy.jdbc.WrapperProxy
clearAttributes, getAttribute, getAttributes, getAttributesSize, getId, putAttribute
-
-
-
-
Method Detail
-
getRawObject
Connection getRawObject()
- Specified by:
getRawObjectin interfaceWrapperProxy
-
getProperties
Properties getProperties()
-
getDirectDataSource
DataSourceProxy getDirectDataSource()
-
getConnectedTime
Date getConnectedTime()
-
getTransactionInfo
TransactionInfo getTransactionInfo()
-
getCloseCount
int getCloseCount()
-
getLastValidateTimeMillis
long getLastValidateTimeMillis()
-
-