Examples of GlobalTransactionId


Examples of org.apache.derby.iapi.store.raw.GlobalTransactionId

                TransactionTableEntry entry =
                    (TransactionTableEntry) e.nextElement();

                if (entry != null)
                {
                    GlobalTransactionId entry_gid = entry.getGid();

                    if (entry_gid != null && entry_gid.equals(global_id))
                    {
                        cm = entry.getXact().getContextManager();
                        break;
                    }
                }
View Full Code Here

Examples of org.apache.derby.iapi.store.raw.GlobalTransactionId

        TransactionTableEntry   found_ent   = null;

        if (!trans.isEmpty())
    {
            TransactionId           id          = null;
            GlobalTransactionId     gid         = null;
            TransactionTableEntry   ent;

      for (Enumeration e = trans.elements(); e.hasMoreElements(); )
      {
        ent = (TransactionTableEntry)e.nextElement();
View Full Code Here

Examples of org.apache.derby.iapi.store.raw.GlobalTransactionId

                !recovery, "trying to display recovery transaction");
      SanityManager.ASSERT(myxact != null, "my xact is null");
      SanityManager.ASSERT(isClone, "Should only call method on a clone");
    }

    GlobalTransactionId gid = myxact.getGlobalId();
    return (gid == null) ? null : gid.toString();
  }
View Full Code Here

Examples of org.apache.derby.iapi.store.raw.GlobalTransactionId

                    Xact xact =
                        ((TransactionTableEntry) e.nextElement()).getXact();

                    if (xact.isPrepared())
                    {
                        GlobalTransactionId xa_id = xact.getGlobalId();

                        xid_list[i] =
                            new XAXactId(
                                xa_id.getFormat_Id(),
                                xa_id.getGlobalTransactionId(),
                                xa_id.getBranchQualifier());
                        num_prepared++;
                    }
                }
            }
View Full Code Here

Examples of org.apache.derby.iapi.store.raw.GlobalTransactionId

                TransactionTableEntry entry =
                    (TransactionTableEntry) e.nextElement();

                if (entry != null)
                {
                    GlobalTransactionId entry_gid = entry.getGid();

                    if (entry_gid != null && entry_gid.equals(global_id))
                    {
                        cm = entry.getXact().getContextManager();
                        break;
                    }
                }
View Full Code Here

Examples of org.apache.derby.iapi.store.raw.GlobalTransactionId

        TransactionTableEntry   found_ent   = null;

        if (!trans.isEmpty())
    {
            TransactionId           id          = null;
            GlobalTransactionId     gid         = null;
            TransactionTableEntry   ent;

      for (Enumeration e = trans.elements(); e.hasMoreElements(); )
      {
        ent = (TransactionTableEntry)e.nextElement();
View Full Code Here

Examples of org.apache.derby.iapi.store.raw.GlobalTransactionId

                !recovery, "trying to display recovery transaction");
      SanityManager.ASSERT(myxact != null, "my xact is null");
      SanityManager.ASSERT(isClone, "Should only call method on a clone");
    }

    GlobalTransactionId gid = myxact.getGlobalId();
    return (gid == null) ? null : gid.toString();
  }
View Full Code Here

Examples of org.apache.derby.iapi.store.raw.GlobalTransactionId

     **/
  public ContextManager findTransactionContextByGlobalId(
    final GlobalXactId global_id)
  {
        for (TransactionTableEntry entry : trans.values()) {
            GlobalTransactionId entry_gid = entry.getGid();
            if (entry_gid != null && entry_gid.equals(global_id)) {
                return entry.getXact().getContextManager();
            }
        }

        return null;
View Full Code Here

Examples of org.apache.derby.iapi.store.raw.GlobalTransactionId

        TransactionTableEntry   found_ent   = null;

        if (!trans.isEmpty())
    {
            TransactionId           id          = null;
            GlobalTransactionId     gid         = null;

            for (TransactionTableEntry ent : trans.values())
      {
        if (ent != null         &&
                    ent.isRecovery()    &&
View Full Code Here

Examples of org.apache.derby.iapi.store.raw.GlobalTransactionId

                !recovery, "trying to display recovery transaction");
      SanityManager.ASSERT(myxact != null, "my xact is null");
      SanityManager.ASSERT(isClone, "Should only call method on a clone");
    }

    GlobalTransactionId gid = myxact.getGlobalId();
    return (gid == null) ? null : gid.toString();
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.