/** * record the fact that the first AT subordinate coordinator recovery scan has completed. */ public synchronized void setSubordinateCoordinatorRecoveryStarted() { subordinateCoordinatorRecoveryStarted = true; // see if we are now in a position to cull any orphaned subordinate transactions cullOrphanedSubordinates(); }
setParticipantRecoveryStarted(); Iterator<ATParticipantRecoveryRecord> participantIterator = iterator(); cullOrphanedSubordinates();
/** * called by the service startup code before the recovery module is added to the recovery managers * module list */ public void install() { // the manager is needed by both the participant or the coordinator recovery modules so whichever // one gets there first creates it. No synchronization is needed as modules are only ever // installed in a single thread XTSATRecoveryManager atRecoveryManager = XTSATRecoveryManager.getRecoveryManager(); if (atRecoveryManager == null) { atRecoveryManager = new XTSATRecoveryManagerImple(_recoveryStore); XTSATRecoveryManager.setRecoveryManager(atRecoveryManager); } Implementations.install(); }
setParticipantRecoveryStarted(); Iterator<ATParticipantRecoveryRecord> participantIterator = iterator(); cullOrphanedSubordinates();
/** * called by the service startup code before the recovery module is added to the recovery managers * module list */ public void install() { // the manager is needed by both the participant or the coordinator recovery modules so whichever // one gets there first creates it. No synchronization is needed as modules are only ever // installed in a single thread XTSATRecoveryManager atRecoveryManager = XTSATRecoveryManager.getRecoveryManager(); if (atRecoveryManager == null) { atRecoveryManager = new XTSATRecoveryManagerImple(_recoveryStore); XTSATRecoveryManager.setRecoveryManager(atRecoveryManager); } Implementations.install(); }
setParticipantRecoveryStarted(); Iterator<ATParticipantRecoveryRecord> participantIterator = iterator(); cullOrphanedSubordinates();
/** * called by the service startup code before the recovery module is added to the recovery managers * module list */ public void install() { // the manager is needed by both the participant or the coordinator recovery modules so whichever // one gets there first creates it. No synchronization is needed as modules are only ever // installed in a single thread XTSATRecoveryManager atRecoveryManager = XTSATRecoveryManager.getRecoveryManager(); if (atRecoveryManager == null) { atRecoveryManager = new XTSATRecoveryManagerImple(_recoveryStore); XTSATRecoveryManager.setRecoveryManager(atRecoveryManager); } Implementations.install(); }
/** * record the fact that the first AT subordinate coordinator recovery scan has completed. */ public synchronized void setSubordinateCoordinatorRecoveryStarted() { subordinateCoordinatorRecoveryStarted = true; // see if we are now in a position to cull any orphaned subordinate transactions cullOrphanedSubordinates(); }
/** * called by the service startup code before the recovery module is added to the recovery managers * module list */ public void install() { // the manager is needed by both the participant or the coordinator recovery modules so whichever // one gets there first creates it. No synchronization is needed as modules are only ever // installed in a single thread XTSATRecoveryManager atRecoveryManager = XTSATRecoveryManager.getRecoveryManager(); if (atRecoveryManager == null) { atRecoveryManager = new XTSATRecoveryManagerImple(_recoveryStore); XTSATRecoveryManager.setRecoveryManager(atRecoveryManager); } // Subordinate Coordinators register durable participants with their parent transaction so // we need to add an XTSATRecoveryModule which knows about the registered participants subordinateRecoveryModule = new XTSATSubordinateRecoveryModule(); atRecoveryManager.registerRecoveryModule(subordinateRecoveryModule); }
/** * record the fact that the first AT subordinate coordinator recovery scan has completed. */ public synchronized void setSubordinateCoordinatorRecoveryStarted() { subordinateCoordinatorRecoveryStarted = true; // see if we are now in a position to cull any orphaned subordinate transactions cullOrphanedSubordinates(); }
/** * called by the service startup code before the recovery module is added to the recovery managers * module list */ public void install() { // the manager is needed by both the participant or the coordinator recovery modules so whichever // one gets there first creates it. No synchronization is needed as modules are only ever // installed in a single thread XTSATRecoveryManager atRecoveryManager = XTSATRecoveryManager.getRecoveryManager(); if (atRecoveryManager == null) { atRecoveryManager = new XTSATRecoveryManagerImple(_recoveryStore); XTSATRecoveryManager.setRecoveryManager(atRecoveryManager); } // Subordinate Coordinators register durable participants with their parent transaction so // we need to add an XTSATRecoveryModule which knows about the registered participants subordinateRecoveryModule = new XTSATSubordinateRecoveryModule(); atRecoveryManager.registerRecoveryModule(subordinateRecoveryModule); }
/** * called by the service startup code before the recovery module is added to the recovery managers * module list */ public void install() { // the manager is needed by both the participant or the coordinator recovery modules so whichever // one gets there first creates it. No synchronization is needed as modules are only ever // installed in a single thread XTSATRecoveryManager atRecoveryManager = XTSATRecoveryManager.getRecoveryManager(); if (atRecoveryManager == null) { atRecoveryManager = new XTSATRecoveryManagerImple(_recoveryStore); XTSATRecoveryManager.setRecoveryManager(atRecoveryManager); } // Subordinate Coordinators register durable participants with their parent transaction so // we need to add an XTSATRecoveryModule which knows about the registered participants subordinateRecoveryModule = new XTSATSubordinateRecoveryModule(); atRecoveryManager.registerRecoveryModule(subordinateRecoveryModule); }