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

How to use
getFileHeader
method
in
jdbm.recman.PageManager

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

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

/**
 *  Returns the indicated root rowid.
 *
 *  @see #getRootCount
 */
public synchronized long getRoot( int id ) throws IOException
{
  checkIfClosed();
  return pageMgr.getFileHeader().getRoot( id );
}
origin: org.fusesource.jdbm/jdbm

public synchronized long getRoot( int id )
  throws IOException
{
  checkIfClosed();
  return _physPageman.getFileHeader().getRoot( id );
}
origin: org.fusesource.jdbm/jdbm

public synchronized void setRoot( int id, long rowid )
  throws IOException
{
  checkIfClosed();
  _physPageman.getFileHeader().setRoot( id, rowid );
}
origin: org.apache.directory.server/apacheds-jdbm

/**
 *  Sets the indicated root rowid.
 *
 *  @see #getRootCount
 */
public synchronized void setRoot( int id, long rowid ) throws IOException
{
  checkIfClosed();
  pageMgr.getFileHeader().setRoot( id, rowid );
}
origin: org.apache.directory.jdbm/apacheds-jdbm2

/**
 *  Sets the indicated root rowid.
 *
 *  @see #getRootCount
 */
public void setRoot( int id, long rowid ) throws IOException
{
  checkIfClosed();
  pageMgr.getFileHeader().setRoot( id, rowid );
}
origin: org.apache.directory.jdbm/apacheds-jdbm1

/**
 *  Sets the indicated root rowid.
 *
 *  @see #getRootCount
 */
public synchronized void setRoot( int id, long rowid ) throws IOException
{
  checkIfClosed();
  pageMgr.getFileHeader().setRoot( id, rowid );
}
origin: org.apache.directory.server/apacheds-jdbm

/**
 *  Returns the indicated root rowid.
 *
 *  @see #getRootCount
 */
public synchronized long getRoot( int id ) throws IOException
{
  checkIfClosed();
  return pageMgr.getFileHeader().getRoot( id );
}
origin: org.apache.directory.jdbm/apacheds-jdbm2

/**
 *  Returns the indicated root rowid.
 *
 *  @see #getRootCount
 */
public long getRoot( int id ) throws IOException
{
  checkIfClosed();
  return pageMgr.getFileHeader().getRoot( id );
}
jdbm.recmanPageManagergetFileHeader

Javadoc

Returns the file 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.
  • 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.
  • 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
  • requestLocationUpdates (LocationManager)
  • notifyDataSetChanged (ArrayAdapter)
  • getResourceAsStream (ClassLoader)
  • Socket (java.net)
    Provides a client-side TCP socket.
  • Deque (java.util)
    A linear collection that supports element insertion and removal at both ends. The name deque is shor
  • List (java.util)
    An ordered collection (also known as a sequence). The user of this interface has precise control ove
  • Properties (java.util)
    A Properties object is a Hashtable where the keys and values must be Strings. Each property can have
  • JarFile (java.util.jar)
    JarFile is used to read jar entries and their associated data from jar files.
  • DataSource (javax.sql)
    An interface for the creation of Connection objects which represent a connection to a database. This
  • Best IntelliJ plugins
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