public void rollback()
    {
        // Rollback all soft resources.
        for (Transactional enlist : enlists)
        {
            enlist.rollback();
        }

        // Clear all of the rolled back resources.
        enlists.clear();

        // Invalidate the transaction id, so that a fresh transaction is begun.
        txId = TxManager.removeTxIdFromThread();
        TxManager.invalidateTxId(txId);
        bind();
    }
public void rollback()
    {
        
        for (Transactional enlist : enlists)
        {
            enlist.rollback();
        }

        
        enlists.clear();

        
        txId = TxManager.removeTxIdFromThread();
        TxManager.invalidateTxId(txId);
        bind();
    }
public void rollback ( ) { // Rollback all soft resources. for ( Transactional enlist : enlists ) { enlist . rollback ( ) ; } // Clear all of the rolled back resources. enlists . clear ( ) ; // Invalidate the transaction id, so that a fresh transaction is begun. txId = TxManager . removeTxIdFromThread ( ) ; TxManager . invalidateTxId ( txId ) ; bind ( ) ; }
Forgets pending operations.
Forgets pending operations .