| java.lang.Object org.smartlib.pool.core.ConnectionLeakEventImpl
ConnectionLeakEventImpl | public class ConnectionLeakEventImpl implements ConnectionLeakEvent(Code) | | This class provides an implementation of the ConnectionLeakEvent interface
thus encapsulating a connection leak event.
author: Sachin Shekar Shetty version: 1.0, 02/08/01 |
ConnectionLeakEventImpl | ConnectionLeakEventImpl(Connection conn, String owner, long lastAccessedTime, long connectionObtainedTime, String poolName)(Code) | | Parameters: conn - Connection for which the time out has occured. Parameters: owner - Owner of the connection. Parameters: lastAccessedTime - Timestamp when the connection was last accessed directly or through Statements, PreparedStatements, CallableStatements. Parameters: connectionObtainedTime - Timestamp when the connection was obtained from the pool. Parameters: poolName - Name of the pool to which the connection belongs. |
getConnection | public Connection getConnection()(Code) | | Connection which has been blocked by the consumer for more than the specified time. |
getConnectionObtainedTime | public long getConnectionObtainedTime()(Code) | | Timestamp when connection was drawn from the pool. |
getLastAccessedTime | public long getLastAccessedTime()(Code) | | Timestamp when the connection was last accessed. |
getOwner | public String getOwner()(Code) | | Owner of the connection. |
getPoolName | public String getPoolName()(Code) | | Name of the pool. |
|
|