congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
PageManager.rollback
Code IndexAdd Tabnine to your IDE (free)

How to use
rollback
method
in
jdbm.recman.PageManager

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

origin: org.fusesource.jdbm/jdbm

public synchronized void rollback()
  throws IOException
{
  checkIfClosed();
  _physMgr.commit();
  _logicMgr.commit();
  _physPageman.rollback();
  _physPagemanFree.rollback();
  _logicPageman.rollback();
  _logicPagemanFree.rollback();
}
origin: org.apache.directory.jdbm/apacheds-jdbm2

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

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

/**
 * Rollback (cancel) all changes since beginning of transaction.
 */
public synchronized void rollback() throws IOException
{
  checkIfClosed();
  pageMgr.rollback();
}
jdbm.recmanPageManagerrollback

Javadoc

Flushes 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.
  • commit
    Commit all pending (in-memory) data by flushing the page manager. This forces a flush of all outstan
  • 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
  • getRecordFile
  • getRecordFile

Popular in Java

  • Parsing JSON documents to java classes using gson
  • runOnUiThread (Activity)
  • setRequestProperty (URLConnection)
  • onCreateOptionsMenu (Activity)
  • FileReader (java.io)
    A specialized Reader that reads from a file in the file system. All read requests made by calling me
  • SortedSet (java.util)
    SortedSet is a Set which iterates over its elements in a sorted order. The order is determined eithe
  • TreeMap (java.util)
    Walk the nodes of the tree left-to-right or right-to-left. Note that in descending iterations, next
  • JFileChooser (javax.swing)
  • XPath (javax.xml.xpath)
    XPath provides access to the XPath evaluation environment and expressions. Evaluation of XPath Expr
  • BasicDataSource (org.apache.commons.dbcp)
    Basic implementation of javax.sql.DataSource that is configured via JavaBeans properties. This is no
  • Top 12 Jupyter Notebook extensions
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