Refine search
if ((index < 0) || (index >= super.heuristicList.size())) throw new IndexOutOfBoundsException(); else if (super.heuristicList.size() == 0) throw new IndexOutOfBoundsException(); RecordListIterator iter = new RecordListIterator(super.heuristicList); AbstractRecord rec = iter.iterate(); rec = iter.iterate(); if (rec.forgetHeuristic()) super.heuristicList.remove(rec); super.preparedList.insert(rec); tsLogger.i18NLogger.warn_tools_log_eaa2();
/** * provide the recovered participants with a handle on this coordinator so they can * propagate events through to it. */ public void setRecoveryCoordinator() { if (preparedList != null) { RecordListIterator iter = new RecordListIterator(preparedList); AbstractRecord absRec = iter.iterate(); while (absRec != null) { if (absRec instanceof ParticipantRecord) { ParticipantRecord pr = (ParticipantRecord) absRec; } absRec = iter.iterate(); } } }
public List<RESTRecord> getParticipants(List<RESTRecord> participants) { RecordListIterator iter = new RecordListIterator(preparedList); AbstractRecord recordBeingHandled; while (((recordBeingHandled = iter.iterate()) != null)) { if (recordBeingHandled.activate()) { if (recordBeingHandled.typeIs() == RecordType.RESTAT_RECORD) { participants.add((RESTRecord) recordBeingHandled); } else { log.warnf("Could not reactivate participant %s of transaction %s", recordBeingHandled.get_uid(), get_uid()); } } } return participants; } }
if ((index < 0) || (index >= super.heuristicList.size())) throw new IndexOutOfBoundsException(); else if (super.heuristicList.size() == 0) throw new IndexOutOfBoundsException(); RecordListIterator iter = new RecordListIterator(super.heuristicList); AbstractRecord rec = iter.iterate(); rec = iter.iterate(); super.heuristicList.remove(rec);
tsLogger.i18NLogger.warn_coordinator_BasicAction_43(get_uid()); if(pendingList.size() > 0) { p = doPrepare(reportHeuristics); && ((preparedList.size() > 0) && (p == TwoPhaseOutcome.ONE_PHASE_ERROR))) AbstractRecord tmpRec = preparedList.getFront(); parentAction.preventCommit(); else { tsLogger.i18NLogger.warn_coordinator_BasicAction_44(); RecordListIterator iter = new RecordListIterator(preparedList); while (((recordBeingHandled = iter.iterate()) != null)) stateToSave = recordBeingHandled.doSave(); iter = new RecordListIterator(heuristicList); stateToSave = recordBeingHandled.doSave(); tsLogger.i18NLogger.warn_coordinator_BasicAction_45(get_uid());
if (super.preparedList.size() == 0) printableForm += "\nNo prepared entries."; else RecordListIterator iter = new RecordListIterator(super.preparedList); AbstractRecord rec = iter.iterate(); int i = 0; rec = iter.iterate(); i++; if (super.heuristicList.size() == 0) printableForm += "\nNo heuristic entries."; else RecordListIterator iter = new RecordListIterator(super.heuristicList); AbstractRecord rec = iter.iterate(); int i = 0; rec = iter.iterate(); i++;
int numberOfThreads = ((pendingList != null) ? pendingList.size() : 0); Thread[] threads = new Thread[numberOfThreads]; threads[i] = AsyncPrepare.create(this, reportHeuristics, pendingList.getFront()); && ((preparedList.size() > 0) && (p == TwoPhaseOutcome.ONE_PHASE_ERROR))) RecordListIterator iter = new RecordListIterator(preparedList); while (((recordBeingHandled = iter.iterate()) != null)) stateToSave = recordBeingHandled.doSave(); iter = new RecordListIterator(heuristicList); stateToSave = recordBeingHandled.doSave();
tsLogger.i18NLogger.warn_coordinator_BasicAction_43(get_uid()); int numberOfThreads = ((pendingList != null) ? pendingList.size() : 0); Thread[] threads = new Thread[numberOfThreads]; threads[i] = AsyncPrepare.create(this, reportHeuristics, pendingList.getFront()); if(pendingList.size() > 0) { p = doPrepare(reportHeuristics); parentAction.preventCommit(); else { tsLogger.i18NLogger.warn_coordinator_BasicAction_44(); RecordListIterator iter = new RecordListIterator(preparedList); while (((recordBeingHandled = iter.iterate()) != null)) stateToSave = recordBeingHandled.doSave(); iter = new RecordListIterator(heuristicList); stateToSave = recordBeingHandled.doSave(); tsLogger.i18NLogger.warn_coordinator_BasicAction_45(get_uid());
if ((index < 0) || (index >= super.heuristicList.size())) throw new IndexOutOfBoundsException(); else if (super.heuristicList.size() == 0) throw new IndexOutOfBoundsException(); RecordListIterator iter = new RecordListIterator(super.heuristicList); AbstractRecord rec = iter.iterate(); rec = iter.iterate(); super.heuristicList.remove(rec);
if (super.preparedList.size() == 0) printableForm += "\nNo prepared entries."; else RecordListIterator iter = new RecordListIterator(super.preparedList); AbstractRecord rec = iter.iterate(); int i = 0; rec = iter.iterate(); i++; if (super.heuristicList.size() == 0) printableForm += "\nNo heuristic entries."; else RecordListIterator iter = new RecordListIterator(super.heuristicList); AbstractRecord rec = iter.iterate(); int i = 0; rec = iter.iterate(); i++;
/** * provide the recovered participants with a handle on this coordinator so they can * propagate events through to it. */ public void setRecoveryCoordinator() { if (preparedList != null) { RecordListIterator iter = new RecordListIterator(preparedList); AbstractRecord absRec = iter.iterate(); while (absRec != null) { if (absRec instanceof ParticipantRecord) { ParticipantRecord pr = (ParticipantRecord) absRec; } absRec = iter.iterate(); } } }
tsLogger.i18NLogger.warn_coordinator_BasicAction_43(get_uid()); if(pendingList.size() > 0) { p = doPrepare(reportHeuristics); && ((preparedList.size() > 0) && (p == TwoPhaseOutcome.ONE_PHASE_ERROR))) AbstractRecord tmpRec = preparedList.getFront(); parentAction.preventCommit(); else { tsLogger.i18NLogger.warn_coordinator_BasicAction_44(); RecordListIterator iter = new RecordListIterator(preparedList); while (((recordBeingHandled = iter.iterate()) != null)) stateToSave = recordBeingHandled.doSave(); iter = new RecordListIterator(heuristicList); stateToSave = recordBeingHandled.doSave(); tsLogger.i18NLogger.warn_coordinator_BasicAction_45(get_uid());
if ((index < 0) || (index >= super.heuristicList.size())) throw new IndexOutOfBoundsException(); else if (super.heuristicList.size() == 0) throw new IndexOutOfBoundsException(); RecordListIterator iter = new RecordListIterator(super.heuristicList); AbstractRecord rec = iter.iterate(); rec = iter.iterate(); if (rec.forgetHeuristic()) super.heuristicList.remove(rec); super.preparedList.insert(rec); tsLogger.i18NLogger.warn_tools_log_eaa2();
if ((index < 0) || (index >= super.heuristicList.size())) throw new IndexOutOfBoundsException(); else if (super.heuristicList.size() == 0) throw new IndexOutOfBoundsException(); RecordListIterator iter = new RecordListIterator(super.heuristicList); AbstractRecord rec = iter.iterate(); rec = iter.iterate(); super.heuristicList.remove(rec);
if (super.preparedList.size() == 0) printableForm += "\nNo prepared entries."; else RecordListIterator iter = new RecordListIterator(super.preparedList); AbstractRecord rec = iter.iterate(); int i = 0; rec = iter.iterate(); i++; if (super.heuristicList.size() == 0) printableForm += "\nNo heuristic entries."; else RecordListIterator iter = new RecordListIterator(super.heuristicList); AbstractRecord rec = iter.iterate(); int i = 0; rec = iter.iterate(); i++;
/** * provide the recovered participants with a handle on this coordinator so they can * propagate events through to it. */ public void setRecoveryCoordinator() { if (preparedList != null) { RecordListIterator iter = new RecordListIterator(preparedList); AbstractRecord absRec = iter.iterate(); while (absRec != null) { if (absRec instanceof ParticipantRecord) { ParticipantRecord pr = (ParticipantRecord) absRec; } absRec = iter.iterate(); } } }
tsLogger.i18NLogger.warn_coordinator_BasicAction_43(get_uid()); if(pendingList.size() > 0) { p = doPrepare(reportHeuristics); if ((p == TwoPhaseOutcome.PREPARE_READONLY) && (pendingList.size() == 1)) && ((preparedList.size() > 0) && (p == TwoPhaseOutcome.ONE_PHASE_ERROR))) parentAction.preventCommit(); else { tsLogger.i18NLogger.warn_coordinator_BasicAction_44(); RecordListIterator iter = new RecordListIterator(preparedList); while (((recordBeingHandled = iter.iterate()) != null)) stateToSave = recordBeingHandled.doSave(); iter = new RecordListIterator(heuristicList); stateToSave = recordBeingHandled.doSave(); tsLogger.i18NLogger.warn_coordinator_BasicAction_45(get_uid());
if ((index < 0) || (index >= super.heuristicList.size())) throw new IndexOutOfBoundsException(); else if (super.heuristicList.size() == 0) throw new IndexOutOfBoundsException(); RecordListIterator iter = new RecordListIterator(super.heuristicList); AbstractRecord rec = iter.iterate(); rec = iter.iterate(); if (rec.forgetHeuristic()) super.heuristicList.remove(rec); super.preparedList.insert(rec); tsLogger.i18NLogger.warn_tools_log_eaa2();
if ((index < 0) || (index >= super.heuristicList.size())) throw new IndexOutOfBoundsException(); else if (super.heuristicList.size() == 0) throw new IndexOutOfBoundsException(); RecordListIterator iter = new RecordListIterator(super.heuristicList); AbstractRecord rec = iter.iterate(); rec = iter.iterate(); super.heuristicList.remove(rec);
if (super.preparedList.size() == 0) printableForm += "\nNo prepared entries."; else RecordListIterator iter = new RecordListIterator(super.preparedList); AbstractRecord rec = iter.iterate(); int i = 0; rec = iter.iterate(); i++; if (super.heuristicList.size() == 0) printableForm += "\nNo heuristic entries."; else RecordListIterator iter = new RecordListIterator(super.heuristicList); AbstractRecord rec = iter.iterate(); int i = 0; rec = iter.iterate(); i++;