jdbm.recman
Class FreeLogicalRowIdPageManager

java.lang.Object
  extended byjdbm.recman.FreeLogicalRowIdPageManager

final class FreeLogicalRowIdPageManager
extends java.lang.Object

This class manages free Logical rowid pages and provides methods to free and allocate Logical rowids on a high level.


Constructor Summary
(package private) FreeLogicalRowIdPageManager(RecordFile file, PageManager pageman)
          Creates a new instance using the indicated record file and page manager.
 
Method Summary
(package private)  Location get()
          Returns a free Logical rowid, or null if nothing was found.
(package private)  void put(Location rowid)
          Puts the indicated rowid on the free list
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FreeLogicalRowIdPageManager

FreeLogicalRowIdPageManager(RecordFile file,
                            PageManager pageman)
                      throws java.io.IOException
Creates a new instance using the indicated record file and page manager.

Method Detail

get

Location get()
       throws java.io.IOException
Returns a free Logical rowid, or null if nothing was found.

Throws:
java.io.IOException

put

void put(Location rowid)
   throws java.io.IOException
Puts the indicated rowid on the free list

Throws:
java.io.IOException


Cees de Groot (C) 2000-2001. All rights reserved http://jdbm.sourceforge.net