connectionpool
Interface ConnectionLeakEvent

All Known Implementing Classes:
ConnectionLeakEventImpl

public abstract interface ConnectionLeakEvent


Method Summary
 java.sql.Connection getConnection()
           
 long getConnectionObtainedTime()
           
 long getLastAccessedTime()
           
 java.lang.String getOwner()
           
 java.lang.String getPoolName()
           
 

Method Detail

getConnection

public java.sql.Connection getConnection()
Returns:
Connection which has been blocked by the consumer for more than the specified time.

getOwner

public java.lang.String getOwner()
Returns:
The owner of the connection.

getLastAccessedTime

public long getLastAccessedTime()
Returns:
Timestamp when the connection was accessed last time.

getConnectionObtainedTime

public long getConnectionObtainedTime()
Returns:
Timestamp when connection was drawn from the pool.

getPoolName

public java.lang.String getPoolName()
Returns:
Name of the pool.