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

Examples of org.apache.derby.impl.store.raw.data.BasePage.preDirty()


    // Needs to pre-dirty this page so that if a checkpoint is taken any
    // time after the CLR is sent to the log stream, it will wait for the
    // actual undo to happen on the page.  We need this to preserve the
    // integrity of the redoLWM.
    undoPage.preDirty();

    return new PhysicalUndoOperation(undoPage, this);
  }

View Full Code Here


      // Needs to pre-dirty this page so that if a checkpoint is taken
      // any time after the CLR is sent to the log stream, it will wait
      // for the actual undo to happen on the page.  We need this to
      // preserve the integrity of the redoLWM.
      undoPage.preDirty();

      return new LogicalUndoOperation(undoPage, recordId, this);
    }
    else
    {
View Full Code Here

      // Needs to pre-dirty this page so that if a checkpoint is taken
      // any time after the CLR is sent to the log stream, it will wait
      // for the actual undo to happen on the page.  We need this to
      // preserve the integrity of the redoLWM.
      logicalUndoPage.preDirty();

      // find logical page is going to call undo.findUndo to find the
      // right page to apply the CLR to.  If the record has changed,
      // logicalUndo should have resetRecordHandle to reset the page
      // number and the recordId to the new record location.  We need to
View Full Code Here

    // Needs to pre-dirty this page so that if a checkpoint is taken any
    // time after the CLR is sent to the log stream, it will wait for the
    // actual undo to happen on the page.  We need this to preserve the
    // integrity of the redoLWM.
    undoPage.preDirty();

    return new PhysicalUndoOperation(undoPage, this);
  }

View Full Code Here

    // Needs to pre-dirty this page so that if a checkpoint is taken any
    // time after the CLR is sent to the log stream, it will wait for the
    // actual undo to happen on the page.  We need this to preserve the
    // integrity of the redoLWM.
    undoPage.preDirty();

    return new PhysicalUndoOperation(undoPage, this);
  }

View Full Code Here

      // Needs to pre-dirty this page so that if a checkpoint is taken
      // any time after the CLR is sent to the log stream, it will wait
      // for the actual undo to happen on the page.  We need this to
      // preserve the integrity of the redoLWM.
      undoPage.preDirty();

      return new LogicalUndoOperation(undoPage, recordId, this);
    }
    else
    {
View Full Code Here

      // Needs to pre-dirty this page so that if a checkpoint is taken
      // any time after the CLR is sent to the log stream, it will wait
      // for the actual undo to happen on the page.  We need this to
      // preserve the integrity of the redoLWM.
      logicalUndoPage.preDirty();

      // find logical page is going to call undo.findUndo to find the
      // right page to apply the CLR to.  If the record has changed,
      // logicalUndo should have resetRecordHandle to reset the page
      // number and the recordId to the new record location.  We need to
View Full Code Here

      // Needs to pre-dirty this page so that if a checkpoint is taken
      // any time after the CLR is sent to the log stream, it will wait
      // for the actual undo to happen on the page.  We need this to
      // preserve the integrity of the redoLWM.
      undoPage.preDirty();

      return new LogicalUndoOperation(undoPage, recordId, this);
    }
    else
    {
View Full Code Here

      // Needs to pre-dirty this page so that if a checkpoint is taken
      // any time after the CLR is sent to the log stream, it will wait
      // for the actual undo to happen on the page.  We need this to
      // preserve the integrity of the redoLWM.
      logicalUndoPage.preDirty();

      // find logical page is going to call undo.findUndo to find the
      // right page to apply the CLR to.  If the record has changed,
      // logicalUndo should have resetRecordHandle to reset the page
      // number and the recordId to the new record location.  We need to
View Full Code Here

    // Needs to pre-dirty this page so that if a checkpoint is taken any
    // time after the CLR is sent to the log stream, it will wait for the
    // actual undo to happen on the page.  We need this to preserve the
    // integrity of the redoLWM.
    undoPage.preDirty();

    return new PhysicalUndoOperation(undoPage, this);
  }

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.