|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--org.w3c.tools.jdbc.JdbcConnection
| Field Summary | |
static boolean |
debug
|
protected LRUAble |
lru_next
|
protected LRUAble |
lru_prev
|
static int |
QUERY_TIMEOUT
|
protected long |
querystamp
|
protected JdbcServer |
server
The server this connection is attached to. |
| Method Summary | |
void |
close()
|
void |
delete()
Close (if necessary) and delete this connection. |
java.sql.DatabaseMetaData |
getMetaData()
|
LRUAble |
getNext()
LRUAble interface - Get previous item in the LRU list. |
LRUAble |
getPrev()
LRUAble interface - Get next item in the LRU list. |
long |
getQueryStamp()
|
protected JdbcServer |
getServer()
|
boolean |
isClosed()
|
boolean |
markUsed()
Mark the connection used. |
java.sql.ResultSet |
performQuery(java.lang.String command)
|
int |
performUpdate(java.lang.String command)
|
void |
setNext(LRUAble next)
LRUAble interface - Set the next item for this server. |
void |
setPrev(LRUAble prev)
LRUAble interface - Set the previous item for this server. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final boolean debug
public static final int QUERY_TIMEOUT
protected long querystamp
protected LRUAble lru_next
protected LRUAble lru_prev
protected JdbcServer server
| Method Detail |
public LRUAble getNext()
getNext in interface LRUAblepublic LRUAble getPrev()
getPrev in interface LRUAblepublic void setNext(LRUAble next)
setNext in interface LRUAblepublic void setPrev(LRUAble prev)
setPrev in interface LRUAbleprotected final JdbcServer getServer()
public boolean markUsed()
public java.sql.ResultSet performQuery(java.lang.String command)
throws java.sql.SQLException
java.sql.SQLException
public int performUpdate(java.lang.String command)
throws java.sql.SQLException
java.sql.SQLExceptionpublic long getQueryStamp()
public java.sql.DatabaseMetaData getMetaData()
throws java.sql.SQLException
java.sql.SQLExceptionpublic void delete()
public void close()
public boolean isClosed()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||