|
From: Donahue S. <dc...@us...> - 2004-08-19 06:20:11
|
Update of /cvsroot/ebxmlms/ebxmlms/src/hk/hku/cecid/phoenix/message/handler In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31548 Modified Files: Transaction.java Log Message: the Delivery class is replaced by singleton DeliveryMonitor class. threadList is unused. Index: Transaction.java =================================================================== RCS file: /cvsroot/ebxmlms/ebxmlms/src/hk/hku/cecid/phoenix/message/handler/Transaction.java,v retrieving revision 1.18 retrieving revision 1.19 diff -C2 -d -r1.18 -r1.19 *** Transaction.java 5 Jan 2004 11:24:09 -0000 1.18 --- Transaction.java 19 Aug 2004 06:19:57 -0000 1.19 *************** *** 174,178 **** private final ArrayList persistenceList; private final ArrayList lockList; ! private final ArrayList threadList; private final ArrayList deliveryRecordList; private final int txID; --- 174,178 ---- private final ArrayList persistenceList; private final ArrayList lockList; ! //private final ArrayList threadList; private final ArrayList deliveryRecordList; private final int txID; *************** *** 187,191 **** this.filenameList = new ArrayList(); this.lockList = new ArrayList(); ! this.threadList = new ArrayList(); this.deliveryRecordList = new ArrayList(); this.persistenceList = new ArrayList(); --- 187,191 ---- this.filenameList = new ArrayList(); this.lockList = new ArrayList(); ! //this.threadList = new ArrayList(); this.deliveryRecordList = new ArrayList(); this.persistenceList = new ArrayList(); *************** *** 398,404 **** } ! public void addThread(Thread t) { threadList.add(t); ! } public void addDeliveryRecord(DeliveryRecord record, int seqNo) { --- 398,404 ---- } ! /*public void addThread(Thread t) { threadList.add(t); ! }*/ public void addDeliveryRecord(DeliveryRecord record, int seqNo) { *************** *** 446,450 **** } ! if (!threadList.isEmpty()) { Iterator it = threadList.iterator(); while (it.hasNext()) { --- 446,450 ---- } ! /*if (!threadList.isEmpty()) { Iterator it = threadList.iterator(); while (it.hasNext()) { *************** *** 452,456 **** } threadList.clear(); ! } if (!lockList.isEmpty()) { --- 452,456 ---- } threadList.clear(); ! }*/ if (!lockList.isEmpty()) { *************** *** 518,522 **** } ! threadList.clear(); for (Iterator i=lockList.iterator() ; i.hasNext() ; ) { --- 518,522 ---- } ! //threadList.clear(); for (Iterator i=lockList.iterator() ; i.hasNext() ; ) { |