| org.smartlib.pool.core.ConnectionMonitor
All known Subclasses: org.smartlib.pool.core.SmartConnection,
ConnectionMonitor | public interface ConnectionMonitor (Code) | | This interface defines the behavior of the class used to monitor
a Connection. This interface defines the methods which can
be used to monitor the runtime status of the Connection.
author: Sachin Shekar Shetty version: 1.0, 02/08/01 |
getConnectionObtainedTime | public long getConnectionObtainedTime()(Code) | | Timestamp at which the connection was obtained from the pool. |
getLastAccessedTime | public long getLastAccessedTime()(Code) | | Timestamp at which the connection was last accessed directly, or through Statement, PreparedStatement, CallableStatement. |
getOwner | public String getOwner()(Code) | | The owner of the connections, "N/A" if this is ananonymous connection. |
getPoolName | public String getPoolName()(Code) | | returns the name of the pool that this connection belongs
|
isCurrentlyInTransaction | public boolean isCurrentlyInTransaction()(Code) | | Whether the connection is used in a transaction. |
|
|