[Proxool-cvs] proxool/src/java/org/logicalcobwebs/proxool ProxoolFacade.java,1.79,1.80
UNMAINTAINED!
Brought to you by:
billhorsman
From: <bil...@us...> - 2004-06-02 20:47:13
|
Update of /cvsroot/proxool/proxool/src/java/org/logicalcobwebs/proxool In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19266/src/java/org/logicalcobwebs/proxool Modified Files: ProxoolFacade.java Log Message: Override shutdown with a zero-parameter version for Spring integration. Index: ProxoolFacade.java =================================================================== RCS file: /cvsroot/proxool/proxool/src/java/org/logicalcobwebs/proxool/ProxoolFacade.java,v retrieving revision 1.79 retrieving revision 1.80 diff -C2 -d -r1.79 -r1.80 *** ProxoolFacade.java 26 Mar 2004 15:58:56 -0000 1.79 --- ProxoolFacade.java 2 Jun 2004 20:47:05 -0000 1.80 *************** *** 192,195 **** --- 192,205 ---- /** * Removes all connection pools. Kills all the connections. Resets everything. + * Like {@link #shutdown(java.lang.String, int)} but passes the current thread name + * and a delay of zero. + */ + public static void shutdown() { + shutdown(Thread.currentThread().getName(), 0); + } + + /** + * Removes all connection pools. Kills all the connections. Resets everything. + * Like {@link #shutdown(java.lang.String, int)} but passes the current thread name. * @param delay the time to wait for connections to become inactive before killing it (milliseconds) */ *************** *** 791,794 **** --- 801,807 ---- Revision history: $Log$ + Revision 1.80 2004/06/02 20:47:05 billhorsman + Override shutdown with a zero-parameter version for Spring integration. + Revision 1.79 2004/03/26 15:58:56 billhorsman Fixes to ensure that house keeper and prototyper threads finish after shutdown. |