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

How to use
close
method
in
jdbm.recman.PageManager

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

origin: org.apache.directory.jdbm/apacheds-jdbm2

/**
 * Closes the record manager.
 *
 * @throws IOException when one of the underlying I/O operations fails.
 */
public void close() throws IOException
{
  checkIfClosed();
  pageMgr.close();
  pageMgr = null;
  recordFile.close();
  recordFile = null;
}
origin: org.fusesource.jdbm/jdbm

_physPageman.close();
_physPageman = null;
_physFile = null;
_logicPageman.close();
_logicPageman = null;
_logicFile = null;
_physPagemanFree.close();
_physPagemanFree = null;
_physFileFree = null;
_logicPagemanFree.close();
_logicPagemanFree = null;
origin: org.apache.directory.jdbm/apacheds-jdbm1

/**
 * Closes the record manager.
 *
 * @throws IOException when one of the underlying I/O operations fails.
 */
public synchronized void close() throws IOException
{
  checkIfClosed();
  pageMgr.close();
  pageMgr = null;
  recordFile.close();
  recordFile = null;
}
origin: org.apache.directory.server/apacheds-jdbm

/**
 * Closes the record manager.
 *
 * @throws IOException when one of the underlying I/O operations fails.
 */
public synchronized void close() throws IOException
{
  checkIfClosed();
  pageMgr.close();
  pageMgr = null;
  recordFile.close();
  recordFile = null;
}
jdbm.recmanPageManagerclose

Javadoc

Closes the page manager. This flushes the page manager and releases the lock on the header.

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.
  • 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
  • rollback
    Flushes the page manager. This forces a flush of all outstanding blocks (this it's an implicit Recor
  • getRecordFile
  • getRecordFile

Popular in Java

  • Start an intent from android
  • compareTo (BigDecimal)
  • getApplicationContext (Context)
  • notifyDataSetChanged (ArrayAdapter)
  • FlowLayout (java.awt)
    A flow layout arranges components in a left-to-right flow, much like lines of text in a paragraph. F
  • Menu (java.awt)
  • String (java.lang)
  • Thread (java.lang)
    A thread is a thread of execution in a program. The Java Virtual Machine allows an application to ha
  • Cipher (javax.crypto)
    This class provides access to implementations of cryptographic ciphers for encryption and decryption
  • JLabel (javax.swing)
  • Top plugins for WebStorm
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