public final void abortPersistLock(PersistentTransaction transaction) throws SevereMessageStoreException
    {
        if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
            SibTr.entry(this, tc, "abortPersistLock", transaction);

        synchronized (this)
        {
            if (ItemLinkState.STATE_PERSISTING_LOCK == _itemLinkState)
            {
                _assertCorrectTransaction(transaction);
                _itemLinkState = ItemLinkState.STATE_LOCKED;
            }
            else
            {
                if (TraceComponent.isAnyTracingEnabled() && tc.isEventEnabled())
                    SibTr.event(this, tc, "Invalid Item state: " + _itemLinkState);
                if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
                    SibTr.exit(this, tc, "abortPersistLock");
                throw new StateException(_itemLinkState.toString());
            }
            _transactionId = null;
        }

        if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
            SibTr.exit(this, tc, "abortPersistLock");
    }
public final void abortPersistLock ( PersistentTransaction transaction ) throws SevereMessageStoreException { if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . entry ( this , tc , "abortPersistLock" , transaction ) ; synchronized ( this ) { if ( ItemLinkState . STATE_PERSISTING_LOCK == _itemLinkState ) { _assertCorrectTransaction ( transaction ) ; _itemLinkState = ItemLinkState . STATE_LOCKED ; } else { if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEventEnabled ( ) ) SibTr . event ( this , tc , "Invalid Item state: " + _itemLinkState ) ; if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . exit ( this , tc , "abortPersistLock" ) ; throw new StateException ( _itemLinkState . toString ( ) ) ; } _transactionId = null ; } if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . exit ( this , tc , "abortPersistLock" ) ; }
/*
(non-Javadoc)

@see com.ibm.ws.sib.msgstore.task.TaskTarget#abortPersistLock(com.ibm.ws.sib.msgstore.transactions.Transaction)