|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface XPooledConnection
An enhancement of a pooled connection, that works with the ConnectionPool class.
Method Summary | |
---|---|
void |
close()
Closes the underlying connection for keeps. |
Connection |
getConnection()
To get the connection to work with. |
boolean |
getInvalidated()
|
Date |
getLastUse()
For pool management . |
void |
setInvalidated()
|
void |
setLastUse(Date date)
For pool management reasons. |
String |
toString()
|
Methods inherited from interface javax.sql.PooledConnection |
---|
addConnectionEventListener, removeConnectionEventListener |
Method Detail |
---|
String toString()
toString
in class Object
Connection getConnection() throws SQLException
getConnection
in interface PooledConnection
SQLException
void close() throws SQLException
close
in interface PooledConnection
SQLException
void setLastUse(Date date)
Date getLastUse()
void setInvalidated()
boolean getInvalidated()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |