Package org.apache.derby.iapi.store.raw.xact

Examples of org.apache.derby.iapi.store.raw.xact.TransactionId


        if (groupmask != 0 && (groupmask & lr.group()) == 0)
          candidate = false; // no match, throw this log record out

        if (candidate && tranId != null)
        {
          TransactionId tid = lr.getTransactionId();
          if (!tid.equals(tranId)) // nomatch
            candidate = false; // throw this log record out
        }

        // if this log record is not filtered out, we need to read
        // in the rest of the log record to the input buffer.
View Full Code Here




  void add(Xact xact, boolean exclude)
  {
    TransactionId id = xact.getId();

    synchronized(this)
    {
      TransactionTableEntry ent = findTransactionEntry(id);
View Full Code Here

    {
      // set tranaction to idle
      return findAndAssumeTransaction((TransactionId)null, tran);
    }

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

    <P>MT - unsafe, caller is recovery, which is single threaded.
  */
  public boolean getMostRecentTransactionForRollback(RawTransaction tran)
  {
        TransactionId id = null;

        if (!trans.isEmpty())
    {
      for (Enumeration e = trans.elements();
         e.hasMoreElements() ; )
View Full Code Here

  {
        TransactionTableEntry   found_ent   = null;

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

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

     *
     **/
    public String diag()
        throws StandardException
    {
        TransactionId id = ((Xact) diag_object).getId();

        if (id instanceof XactId)
            return("Transaction:(" + ((XactId) id).getId() + ")");
        else
            return(id.toString());
    }
View Full Code Here

        if (candidate && groupmask != 0 && (groupmask & lr.group()) == 0)
          candidate = false; // no match, throw this log record out

        if (candidate && tranId != null)
        {
          TransactionId tid = lr.getTransactionId();
          if (!tid.equals(tranId)) // nomatch
            candidate = false; // throw this log record out
        }

        // if this log record is not filtered out, we need to read
        // in the rest of the log record to the input buffer.
View Full Code Here

        if (groupmask != 0 && (groupmask & lr.group()) == 0)
          candidate = false; // no match, throw this log record out

        if (candidate && tranId != null)
        {
          TransactionId tid = lr.getTransactionId();
          if (!tid.equals(tranId)) // nomatch
            candidate = false; // throw this log record out
        }

        // if this log record is not filtered out, we need to read
        // in the rest of the log record to the input buffer.
View Full Code Here



  void add(Xact xact, boolean exclude)
  {
    TransactionId id = xact.getId();

    synchronized(this)
    {
      TransactionTableEntry ent = findTransactionEntry(id);
View Full Code Here

    {
      // set tranaction to idle
      return findAndAssumeTransaction((TransactionId)null, tran);
    }

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

TOP

Related Classes of org.apache.derby.iapi.store.raw.xact.TransactionId

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.