Package com.arjuna.ats.internal.arjuna.recovery

Examples of com.arjuna.ats.internal.arjuna.recovery.TransactionStatusConnector


    */
   private static void test1()
   {
      try
      {
         TransactionStatusConnector testTransactionStatusConnector =
            new TransactionStatusConnector( _pidStr, _pidUid ) ;

         _test_service._test_status = Integer.toString( _test_status_1 ) ;
         int test_status1 = testTransactionStatusConnector.getTransactionStatus
                               ( _test_tran_type_1, _test_uid_1 ) ;
         _rx_tran_type_1 = _test_service._rx_tran_type ;
         _rx_uid_str_1   = _test_service._rx_uid_str ;
                              
         _test_service._test_status = Integer.toString( _test_status_2 ) ;
         int test_status2 = testTransactionStatusConnector.getTransactionStatus
                               ( _test_tran_type_2, _test_uid_2 ) ;
         _rx_tran_type_2 = _test_service._rx_tran_type ;
         _rx_uid_str_2   = _test_service._rx_uid_str ;
                              
         _test_service._test_status = Integer.toString( _test_status_3 ) ;
         int test_status3 = testTransactionStatusConnector.getTransactionStatus
                               ( _test_tran_type_3, _test_uid_3 ) ;
         _rx_tran_type_3 = _test_service._rx_tran_type ;
         _rx_uid_str_3   = _test_service._rx_uid_str ;
        
         _test_service._test_status = Integer.toString( _test_status_4 ) ;
         int test_status4 = testTransactionStatusConnector.getTransactionStatus
                               ( _test_tran_type_4, _test_uid_4 ) ;
         _rx_tran_type_4 = _test_service._rx_tran_type ;
         _rx_uid_str_4   = _test_service._rx_uid_str ;
                            
         if ( ( test_status1 == _test_status_1 ) &&
View Full Code Here


            updateTSMI();
        }

        if ( _tscTable.containsKey ( process_id ) )
        {
            TransactionStatusConnector tsc = (TransactionStatusConnector) _tscTable.get( process_id ) ;

            if ( tsc.isDead() )
            {
                _tscTable.remove( process_id ) ;
                tsc.delete() ;
                tsc = null ;
            }
            else
            {
                status = tsc.getTransactionStatus( transactionType, tranUid ) ;
            }
        }

        return status;
    }
View Full Code Here

   
      String process_id = get_process_id( currentUid ) ;
   
      if ( ! _tscTable.containsKey( process_id ) )
      {
    TransactionStatusConnector tsc = new TransactionStatusConnector ( process_id, currentUid ) ;
     
    if ( tsc.isDead() )
    {
        tsc.delete() ;
        tsc = null ;
    }
    else
    {
        _tscTable.put ( process_id, tsc ) ;
View Full Code Here

         {
            System.out.println( _unit_test + "Test Failed" ) ;
         }
         else
         {
            _tsc = new TransactionStatusConnector( pidStr, pidUid ) ;

            test1() ;
            test2() ;
            test3() ;
View Full Code Here

            updateTSMI();
        }

        if ( _tscTable.containsKey ( process_id ) )
        {
            TransactionStatusConnector tsc = (TransactionStatusConnector) _tscTable.get( process_id ) ;

            if ( tsc.isDead() )
            {
                _tscTable.remove( process_id ) ;
                tsc.delete() ;
                tsc = null ;
            }
            else
            {
                status = tsc.getTransactionStatus( transactionType, tranUid ) ;
            }
        }

        return status;
    }
View Full Code Here

      String process_id = currentUid.getHexPid();

      if ( ! _tscTable.containsKey( process_id ) )
      {
    TransactionStatusConnector tsc = new TransactionStatusConnector ( process_id, currentUid ) ;

    if ( tsc.isDead() )
    {
        tsc.delete() ;
        tsc = null ;
    }
    else
    {
        _tscTable.put ( process_id, tsc ) ;
View Full Code Here

/* 107 */       updateTSMI();
/*     */     }
/*     */
/* 110 */     if (this._tscTable.containsKey(process_id))
/*     */     {
/* 112 */       TransactionStatusConnector tsc = (TransactionStatusConnector)this._tscTable.get(process_id);
/*     */
/* 114 */       if (tsc.isDead())
/*     */       {
/* 116 */         this._tscTable.remove(process_id);
/* 117 */         tsc.delete();
/* 118 */         tsc = null;
/*     */       }
/*     */       else
/*     */       {
/* 122 */         status = tsc.getTransactionStatus(transactionType, tranUid);
/*     */       }
/*     */
/*     */     }
/*     */
/* 135 */     if (status == 9)
View Full Code Here

/*     */
/* 227 */       String process_id = get_process_id(currentUid);
/*     */
/* 229 */       if (!this._tscTable.containsKey(process_id))
/*     */       {
/* 231 */         TransactionStatusConnector tsc = new TransactionStatusConnector(process_id, currentUid);
/*     */
/* 233 */         if (tsc.isDead())
/*     */         {
/* 235 */           tsc.delete();
/* 236 */           tsc = null;
/*     */         }
/*     */         else
/*     */         {
/* 240 */           this._tscTable.put(process_id, tsc);
View Full Code Here

         {
            System.out.println( _unit_test + "Test Failed" ) ;
         }
         else
         {
            _tsc = new TransactionStatusConnector( pidStr, pidUid ) ;

            test1() ;
            test2() ;
            test3() ;
View Full Code Here

   
      String process_id = get_process_id( currentUid ) ;
   
      if ( ! _tscTable.containsKey( process_id ) )
      {
    TransactionStatusConnector tsc = new TransactionStatusConnector ( process_id, currentUid ) ;
     
    if ( tsc.isDead() )
    {
        tsc.delete() ;
        tsc = null ;
    }
    else
    {
        _tscTable.put ( process_id, tsc ) ;
View Full Code Here

TOP

Related Classes of com.arjuna.ats.internal.arjuna.recovery.TransactionStatusConnector

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.