Package com.arjuna.ats.internal.arjuna

Examples of com.arjuna.ats.internal.arjuna.Header


        /*
         * If there is a transaction present than pack the process Uid of this
         * JVM and the tx id. Otherwise pack a null Uid.
         */

        super.packHeader(os, new Header(get_uid(), _originalProcessUid));
    }
View Full Code Here


        /*
         * If there is a transaction present than pack the process Uid of this
         * JVM and the tx id. Otherwise pack a null Uid.
         */

        super.packHeader(os, new Header(hdr.getTxId(), _originalProcessUid));
    }
View Full Code Here

            try
            {
                BasicAction action = BasicAction.Current();

                if (action == null)
                    packHeader(os, new Header(null, Utility.getProcessUid()));
                else
                    packHeader(os, new Header(action.get_uid(), Utility.getProcessUid()));
            }
            catch (IOException e)
            {
                return false;
            }
View Full Code Here

    {
        if (ot == ObjectType.ANDPERSISTENT)
        {
            try
            {
                unpackHeader(os, new Header());
            }
            catch (IOException e)
            {
                return false;
            }
View Full Code Here

        _originalProcessUid = null;
        _owningTransactionUid = null;

        try
        {
            Header hdr = new Header();
           
            unpackHeader(uncommittedState, hdr);

            _originalProcessUid = hdr.getProcessId();
            _owningTransactionUid = hdr.getTxId();
           
            if (txojLogger.aitLoggerI18N.isDebugEnabled())
            {
                txojLogger.aitLoggerI18N
                        .debug(
View Full Code Here

      tsLogger.arjLogger.debug(DebugLevel.FUNCTIONS, VisibilityLevel.VIS_PUBLIC, FacilityCode.FAC_ATOMIC_ACTION, "BasicAction::save_state ()");
    }

    try
    {
      packHeader(os, new Header(get_uid(), Utility.getProcessUid()));
    }
    catch (IOException e)
    {
      return false;
    }
View Full Code Here

     * list.
     */

    try
    {
      Header hdr = new Header();

      unpackHeader(os, hdr);
    }
    catch (IOException e)
    {
View Full Code Here

TOP

Related Classes of com.arjuna.ats.internal.arjuna.Header

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.