Package org.apache.derby.impl.store.raw.data

Examples of org.apache.derby.impl.store.raw.data.ReclaimSpace


        PageTimeStamp ts = firstPageOnColumnChain.currentTimeStamp();
        firstPageOnColumnChain.unlatch();

        RawTransaction rxact = (RawTransaction)owner.getTransaction();

        ReclaimSpace work =
          new ReclaimSpace(ReclaimSpace.COLUMN_CHAIN,
                headRowHandle,
                fieldId, // long column about to be orphaned by update
                overflowPage, // page where the long column starts
                overflowId, // record Id of the beginning of the long column
                ts,
View Full Code Here


    // row post commit.
    if (rowHasReservedSpace)
    {
      RawTransaction rxact = (RawTransaction)owner.getTransaction();

      ReclaimSpace work =
        new ReclaimSpace(ReclaimSpace.ROW_RESERVE,
                 headRowHandle,
                 rxact.getDataFactory(), true);
      rxact.addPostCommitWork(work);
    }
  }
View Full Code Here

        }


        // remember this as a post commit work item
        Serviceable p =
                    new ReclaimSpace(
                            ReclaimSpace.CONTAINER,
                            ckey,
                            this,
                            true /* service ASAP */);

 
View Full Code Here

        PageTimeStamp ts = firstPageOnColumnChain.currentTimeStamp();
        firstPageOnColumnChain.unlatch();

        RawTransaction rxact = (RawTransaction)owner.getTransaction();

        ReclaimSpace work =
          new ReclaimSpace(ReclaimSpace.COLUMN_CHAIN,
                headRowHandle,
                fieldId, // long column about to be orphaned by update
                overflowPage, // page where the long column starts
                overflowId, // record Id of the beginning of the long column
                ts,
View Full Code Here

    // row post commit.
    if (rowHasReservedSpace)
    {
      RawTransaction rxact = (RawTransaction)owner.getTransaction();

      ReclaimSpace work =
        new ReclaimSpace(ReclaimSpace.ROW_RESERVE,
                 headRowHandle,
                 rxact.getDataFactory(), true);
      rxact.addPostCommitWork(work);
    }
  }
View Full Code Here

        }


        // remember this as a post commit work item
        Serviceable p =
                    new ReclaimSpace(
                            ReclaimSpace.CONTAINER,
                            ckey,
                            this,
                            true /* service ASAP */);

 
View Full Code Here

      // are underneath the log right now and cannot interrupt the log
      // stream.
      if (rxact.handlesPostTerminationWork() &&
        undoPage.isOverflowPage() && undoPage.recordCount() == 0)
      {
        ReclaimSpace work =
          new ReclaimSpace(ReclaimSpace.PAGE, (PageKey)undoPage.getIdentity(),
                   rxact.getDataFactory(), true /* service ASAP */);
        rxact.addPostTerminationWork(work);
      }
    }
    else
 
View Full Code Here

        PageTimeStamp ts = firstPageOnColumnChain.currentTimeStamp();
        firstPageOnColumnChain.unlatch();

        RawTransaction rxact = (RawTransaction)owner.getTransaction();

        ReclaimSpace work =
          new ReclaimSpace(ReclaimSpace.COLUMN_CHAIN,
                headRowHandle,
                fieldId, // long column about to be orphaned by update
                overflowPage, // page where the long column starts
                overflowId, // record Id of the beginning of the long column
                ts,
View Full Code Here

    // row post commit.
    if (rowHasReservedSpace)
    {
      RawTransaction rxact = (RawTransaction)owner.getTransaction();

      ReclaimSpace work =
        new ReclaimSpace(ReclaimSpace.ROW_RESERVE,
                 headRowHandle,
                 rxact.getDataFactory(), true);
      rxact.addPostCommitWork(work);
    }
  }
View Full Code Here

        }


        // remember this as a post commit work item
        Serviceable p =
                    new ReclaimSpace(
                            ReclaimSpace.CONTAINER,
                            ckey,
                            this,
                            true /* service ASAP */);

 
View Full Code Here

TOP

Related Classes of org.apache.derby.impl.store.raw.data.ReclaimSpace

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.