|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--java.lang.Thread
|
+--org.jwarp.service.connectionpool.ConnectionPoolUpdateThread
Connection Pool Update Thread
The connection pool update thread calls the method checkFreeConnections()
from the PoolManager. This checks for too many open connections in all pools.
Call setUpdateTime() to start or stop the thread.
| Fields inherited from class java.lang.Thread |
inheritableThreadLocals, MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY, threadLocals |
| Constructor Summary | |
ConnectionPoolUpdateThread()
Constructor. |
|
| Method Summary | |
void |
run()
The run method of the thread. |
void |
setUpdateTime(int updateTime)
Sets the update Time in ms. |
void |
start()
Deprecated. Use setUpdateTime instead. |
| Methods inherited from class java.lang.Thread |
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public ConnectionPoolUpdateThread()
| Method Detail |
public void setUpdateTime(int updateTime)
updateTime - how often the connection pools are updated in mspublic void start()
start in class java.lang.Threadpublic void run()
run in class java.lang.Thread
|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||