|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjanus.net.ConnectionPool.PoolElement
innere Klasse für Connections
| Field Summary | |
protected Connection |
connection
Connection |
protected boolean |
inUse
Flag |
protected Date |
lastUsed
Zeit der letzten Benutzung |
protected Object |
userObject
Beliebiges User-Object |
| Constructor Summary | |
protected |
ConnectionPool.PoolElement(Connection connection)
Konstruktor |
| Method Summary | |
Connection |
getConnection()
Lesezugriff auf die Connection |
Date |
getLastUsed()
Lesezugriff auf den Timestamp der letzten Benutzung |
boolean |
isInUse()
Lesezugriff auf das Belegt-Flag |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected Connection connection
protected boolean inUse
protected Date lastUsed
protected Object userObject
| Constructor Detail |
protected ConnectionPool.PoolElement(Connection connection)
| Method Detail |
public Connection getConnection()
public Date getLastUsed()
public boolean isInUse()
true, wenn das Element benutzt wird
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||