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

Examples of org.apache.derby.iapi.store.raw.Page.unlatch()


      ((BasePage)p).restoreRecordFromStream(in, row);

    } finally {

      if (p != null) {
        p.unlatch();
        p = null;
      }
    }
  }
View Full Code Here


                // held until end transaction in order to insure no other
                // transaction uses the space freed by the purge, which
                // would cause a subquent undo of the purge to fail.
        if (!purgingDone)
                {
                    page.unlatch();
                    page = null;
                }
            }
        }
        else
View Full Code Here

            }
        }
        finally
        {
            if (page != null)
                page.unlatch();

            if (container != null)
                container.close();
        }
View Full Code Here

                control_row,
                (FormatableBitSet) null,
                (LogicalUndo) null,
                Page.INSERT_OVERFLOW,
                AccessFactoryGlobals.HEAP_OVERFLOW_THRESHOLD);
            page.unlatch();
            page = null;

            // Don't include the control row in the estimated row count.
            container.setEstimatedRowCount(0, /* unused flag */ 0);
        }
View Full Code Here

        finally
        {
            if (container != null)
                container.close();
            if (page !=null)
                page.unlatch();
        }
  }

    /**
     * Create a heap conglomerate during the boot process.
View Full Code Here

            page.updateAtSlot(
                Page.FIRST_SLOT_NUMBER,
                control_row,
                (FormatableBitSet) null);

            page.unlatch();
            page = null;
        }
        finally
        {
            if (container != null)
View Full Code Here

        finally
        {
            if (container != null)
                container.close();
            if (page !=null)
                page.unlatch();
        }

        return;
    }
View Full Code Here

                    // the commit will close the underlying
                    open_conglom.reopen();
                }
                else
                {
                    page.unlatch();
                    page = null;
                }

                page = open_conglom.getContainer().getNextPage(pageno);
            }
View Full Code Here

                control_row,
                (FormatableBitSet) null,
                (LogicalUndo) null,
                Page.INSERT_OVERFLOW,
                AccessFactoryGlobals.HEAP_OVERFLOW_THRESHOLD);
            page.unlatch();
            page = null;

            // Don't include the control row in the estimated row count.
            container.setEstimatedRowCount(0, /* unused flag */ 0);
        }
View Full Code Here

        finally
        {
            if (container != null)
                container.close();
            if (page !=null)
                page.unlatch();
        }
  }

    /**
     * Create a heap conglomerate during the boot process.
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.