[Jukebox-cvs] CVS update: J4/src/java/gnu/j4/framework/client TransactionAdapterImpl.java
Brought to you by:
vtt
From: CVS B. <vt...@fr...> - 2000-11-02 08:38:20
|
User: vt Date: 00/11/01 23:57:44 Modified: src/java/gnu/j4/framework/client TransactionAdapterImpl.java Log: Checkpoint on the way to implement a shutdown(Throwable failureCause) call, as opposed to no-argument shutdown(). Point is, I want to know why the execute() died, if it did. Revision Changes Path 1.5 +3 -2 J4/src/java/gnu/j4/framework/client/TransactionAdapterImpl.java CVSWEB Options: ------------------- CVSWeb: Annotate this file: http://cvs.sourceforge.net/cgi-bin/cvsweb.cgi/J4/src/java/gnu/j4/framework/client/TransactionAdapterImpl.java?annotate=1.5&cvsroot=jukebox4 CVSWeb: View this file: http://cvs.sourceforge.net/cgi-bin/cvsweb.cgi/J4/src/java/gnu/j4/framework/client/TransactionAdapterImpl.java?rev=1.5&content-type=text/x-cvsweb-markup&cvsroot=jukebox4 CVSWeb: Diff to previous version: http://cvs.sourceforge.net/cgi-bin/cvsweb.cgi/J4/src/java/gnu/j4/framework/client/TransactionAdapterImpl.java.diff?r1=1.5&r2=1.4&cvsroot=jukebox4 ----------------------------------- Index: TransactionAdapterImpl.java =================================================================== RCS file: /usr/local/cvs/J4/src/java/gnu/j4/framework/client/TransactionAdapterImpl.java,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- TransactionAdapterImpl.java 2000/03/03 04:20:16 1.4 +++ TransactionAdapterImpl.java 2000/11/02 06:57:44 1.5 @@ -13,7 +13,7 @@ * Transaction adapter using underlying {@link StreamAdapter StreamAdapter}. * * @author Copyright © <a href="mailto:vt...@fr...">Vadim Tkachenko</a> 1995-2000 - * @version $Id: TransactionAdapterImpl.java,v 1.4 2000/03/03 04:20:16 vt Exp $ + * @version $Id: TransactionAdapterImpl.java,v 1.5 2000/11/02 06:57:44 vt Exp $ */ public class TransactionAdapterImpl extends TransactionAdapter { @@ -64,7 +64,8 @@ /** * @exception InterruptedException if this thread was interrupted. */ - protected void shutdown() throws InterruptedException, Throwable { + protected void shutdown(Throwable failureCause) throws InterruptedException, Throwable { + try { oOut.flush(); } finally { |