public void periodicWorkSecondPass() { if (RecoveryLogger.logger.isDebugEnabled()) { RecoveryLogger.logger.debug("SubordinateATCoordinatorRecoveryModule: Second pass "); } if (_transactionUidVector != null) { processTransactionsStatus() ; } // ok notify the coordinator processor that recovery processing has completed }
private void processTransactionsStatus() { // Process the Vector of transaction Uids Enumeration transactionUidEnum = _transactionUidVector.elements() ; while ( transactionUidEnum.hasMoreElements() ) { Uid currentUid = (Uid) transactionUidEnum.nextElement(); try { if ( _recoveryStore.currentState( currentUid, _transactionType ) != StateStatus.OS_UNKNOWN ) { doRecoverTransaction( currentUid ) ; } } catch ( ObjectStoreException ex ) { RecoveryLogger.i18NLogger.warn_coordinator_at_SubordinateATCoordinatorRecoveryModule_3(currentUid, ex); } } XTSATRecoveryManager.getRecoveryManager().setSubordinateCoordinatorRecoveryStarted(); }
/** * This is called periodically by the RecoveryManager */ public void periodicWorkFirstPass() { // Transaction type boolean SubordinateCoordinators = false ; // uids per transaction type InputObjectState acc_uids = new InputObjectState() ; try { if (RecoveryLogger.logger.isDebugEnabled()) { RecoveryLogger.logger.debug("StatusModule: first pass "); } SubordinateCoordinators = _recoveryStore.allObjUids( _transactionType, acc_uids ); } catch ( ObjectStoreException ex ) { RecoveryLogger.i18NLogger.warn_coordinator_at_SubordinateATCoordinatorRecoveryModule_1(ex); } if ( SubordinateCoordinators ) { _transactionUidVector = processTransactions( acc_uids ) ; } }
boolean inFlight = isTransactionInMidFlight( theStatus ) ;
private void processTransactionsStatus() { // Process the Vector of transaction Uids Enumeration transactionUidEnum = _transactionUidVector.elements() ; while ( transactionUidEnum.hasMoreElements() ) { Uid currentUid = (Uid) transactionUidEnum.nextElement(); try { if ( _recoveryStore.currentState( currentUid, _transactionType ) != StateStatus.OS_UNKNOWN ) { doRecoverTransaction( currentUid ) ; } } catch ( ObjectStoreException ex ) { RecoveryLogger.i18NLogger.warn_coordinator_at_SubordinateATCoordinatorRecoveryModule_3(currentUid, ex); } } XTSATRecoveryManager.getRecoveryManager().setSubordinateCoordinatorRecoveryStarted(); }
/** * This is called periodically by the RecoveryManager */ public void periodicWorkFirstPass() { // Transaction type boolean SubordinateCoordinators = false ; // uids per transaction type InputObjectState acc_uids = new InputObjectState() ; try { if (RecoveryLogger.logger.isDebugEnabled()) { RecoveryLogger.logger.debug("StatusModule: first pass "); } SubordinateCoordinators = _recoveryStore.allObjUids( _transactionType, acc_uids ); } catch ( ObjectStoreException ex ) { RecoveryLogger.i18NLogger.warn_coordinator_at_SubordinateATCoordinatorRecoveryModule_1(ex); } if ( SubordinateCoordinators ) { _transactionUidVector = processTransactions( acc_uids ) ; } }
boolean inFlight = isTransactionInMidFlight( theStatus ) ;
public void periodicWorkSecondPass() { if (RecoveryLogger.logger.isDebugEnabled()) { RecoveryLogger.logger.debug("SubordinateATCoordinatorRecoveryModule: Second pass "); } if (_transactionUidVector != null) { processTransactionsStatus() ; } // ok notify the coordinator processor that recovery processing has completed }
private void processTransactionsStatus() { // Process the Vector of transaction Uids Enumeration transactionUidEnum = _transactionUidVector.elements() ; while ( transactionUidEnum.hasMoreElements() ) { Uid currentUid = (Uid) transactionUidEnum.nextElement(); try { if ( _recoveryStore.currentState( currentUid, _transactionType ) != StateStatus.OS_UNKNOWN ) { doRecoverTransaction( currentUid ) ; } } catch ( ObjectStoreException ex ) { RecoveryLogger.i18NLogger.warn_coordinator_at_SubordinateATCoordinatorRecoveryModule_3(currentUid, ex); } } XTSATRecoveryManager.getRecoveryManager().setSubordinateCoordinatorRecoveryStarted(); }
/** * This is called periodically by the RecoveryManager */ public void periodicWorkFirstPass() { // Transaction type boolean SubordinateCoordinators = false ; // uids per transaction type InputObjectState acc_uids = new InputObjectState() ; try { if (RecoveryLogger.logger.isDebugEnabled()) { RecoveryLogger.logger.debug("StatusModule: first pass "); } SubordinateCoordinators = _recoveryStore.allObjUids( _transactionType, acc_uids ); } catch ( ObjectStoreException ex ) { RecoveryLogger.i18NLogger.warn_coordinator_at_SubordinateATCoordinatorRecoveryModule_1(ex); } if ( SubordinateCoordinators ) { _transactionUidVector = processTransactions( acc_uids ) ; } }
boolean inFlight = isTransactionInMidFlight( theStatus ) ;
public void periodicWorkSecondPass() { if (RecoveryLogger.logger.isDebugEnabled()) { RecoveryLogger.logger.debug("SubordinateATCoordinatorRecoveryModule: Second pass "); } if (_transactionUidVector != null) { processTransactionsStatus() ; } // ok notify the coordinator processor that recovery processing has completed }