Method Summary |
|
public void | close() Shuts down this object - it will be useless thereafter. |
public Object | getClientObject() Gets the client object associated with this object. |
public Date | getCreationDate() Gets the date when this connection was originally opened. |
public Date | getLastUsedDate() Gets the date when this connection was last used. |
public long | getMillisSinceLastUse() Gets the time (in milliseconds) since this connection was last used. |
public Object | getObject() Gets the pooled object associated with this record. |
public boolean | isInUse() Tells whether this connection is currently in use. |
public void | setClientObject(Object o) Sets the client object associated with this object. |
public synchronized void | setInUse(boolean inUse) Sets whether this connection is currently in use. |
public void | setLastUsed() Sets the last used time to the current time. |