Tabnine Logo
PageManager.commit
Code IndexAdd Tabnine to your IDE (free)

How to use
commit
method
in
jdbm.recman.PageManager

Best Java code snippets using jdbm.recman.PageManager.commit (Showing top 4 results out of 315)

origin: org.fusesource.jdbm/jdbm

public synchronized void commit()
  throws IOException
{
  checkIfClosed();
  /** flush free phys rows into pages*/
  _physMgr.commit();
  _logicMgr.commit();
  /**commit pages */
  _physPageman.commit();
  _physPagemanFree.commit();
  _logicPageman.commit();
  _logicPagemanFree.commit();
}
origin: org.apache.directory.jdbm/apacheds-jdbm2

/**
 * Commit (make persistent) all changes since beginning of transaction.
 */
public void commit() throws IOException
{
  checkIfClosed();
  pageMgr.commit();
}
origin: org.apache.directory.jdbm/apacheds-jdbm1

/**
 * Commit (make persistent) all changes since beginning of transaction.
 */
public synchronized void commit()
  throws IOException
{
  checkIfClosed();
  pageMgr.commit();
}
origin: org.apache.directory.server/apacheds-jdbm

/**
 * Commit (make persistent) all changes since beginning of transaction.
 */
public synchronized void commit()
  throws IOException
{
  checkIfClosed();
  pageMgr.commit();
}
jdbm.recmanPageManagercommit

Javadoc

Commit all pending (in-memory) data by flushing the page manager. This forces a flush of all outstanding blocks (this it's an implicit RecordFile#commit as well).

Popular methods of PageManager

  • <init>
    Creates a new page manager using the indicated record file.
  • allocate
    Allocates a page of the indicated type. Returns recid of the page.
  • close
    Closes the page manager. This flushes the page manager and releases the lock on the header.
  • free
    Frees a page of the indicated type.
  • getFileHeader
    Returns the file header.
  • getFirst
    Returns the first page on the indicated list.
  • getLast
    Returns the last page on the indicated list.
  • getNext
    Returns the page following the indicated block
  • getPrev
    Returns the page before the indicated block
  • rollback
    Flushes the page manager. This forces a flush of all outstanding blocks (this it's an implicit Recor
  • getRecordFile
  • getRecordFile

Popular in Java

  • Making http post requests using okhttp
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • compareTo (BigDecimal)
  • getSystemService (Context)
  • Permission (java.security)
    Legacy security code; do not use.
  • SQLException (java.sql)
    An exception that indicates a failed JDBC operation. It provides the following information about pro
  • SimpleDateFormat (java.text)
    Formats and parses dates in a locale-sensitive manner. Formatting turns a Date into a String, and pa
  • BitSet (java.util)
    The BitSet class implements abit array [http://en.wikipedia.org/wiki/Bit_array]. Each element is eit
  • Vector (java.util)
    Vector is an implementation of List, backed by an array and synchronized. All optional operations in
  • Table (org.hibernate.mapping)
    A relational table
  • From CI to AI: The AI layer in your organization
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now