public interface IHikariConnectionProxy extends Connection, ConcurrentBag.IBagManagable
TRANSACTION_NONE, TRANSACTION_READ_COMMITTED, TRANSACTION_READ_UNCOMMITTED, TRANSACTION_REPEATABLE_READ, TRANSACTION_SERIALIZABLE| Modifier and Type | Method and Description |
|---|---|
void |
captureStack(long leakThreshold,
Timer houseKeepingTimer)
Catpure the stack and start leak detection.
|
void |
checkException(SQLException sqle)
Check if the provided SQLException contains a SQLSTATE that indicates
a disconnection from the server.
|
long |
getCreationTime()
Get the creation timestamp of the connection.
|
long |
getLastAccess()
Get the last access timestamp of the connection.
|
long |
getLastOpenTime()
Get the timestamp of when the connection was removed from the pool for use.
|
boolean |
isBrokenConnection()
Return the broken state of the connection.
|
void |
realClose()
Actually close the underlying delegate Connection.
|
void |
resetConnectionState()
Reset the delegate Connection back to pristine state.
|
void |
unclose()
Make the Connection available for use again by marking it as not closed.
|
void |
untrackStatement(Object statement)
Called by Statement and its subclasses when they are closed to remove them
from the tracking list.
|
abort, clearWarnings, close, commit, createArrayOf, createBlob, createClob, createNClob, createSQLXML, createStatement, createStatement, createStatement, createStruct, 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, setTransactionIsolation, setTypeMapisWrapperFor, unwrapcompareAndSetState, getStatevoid captureStack(long leakThreshold,
Timer houseKeepingTimer)
leakThreshold - the number of milliseconds before a leak is reportedhouseKeepingTimer - the timer to run the leak detection task withvoid checkException(SQLException sqle)
sqle - the SQLException to checklong getCreationTime()
long getLastAccess()
long getLastOpenTime()
boolean isBrokenConnection()
void realClose()
throws SQLException
SQLException - rethrown from the underlying delegate Connectionvoid resetConnectionState()
throws SQLException
SQLException - thrown if there is an error resetting any of the statevoid unclose()
void untrackStatement(Object statement)
statement - the Statement to remove from trackingCopyright © 2014 Zaxxer.com. All rights reserved.