Class BTree.BTreeFileHeader
package: src.net.jxta.impl.xindice.core.filer
net.jxta.impl.xindice.core.filer.Paged.FileHeader
  |
  +--net.jxta.impl.xindice.core.filer.BTree.BTreeFileHeader
protected class BTree.BTreeFileHeader
Extends:
net.jxta.impl.xindice.core.filer.Paged.FileHeader
BTreeFileHeader
Field Summary
private long
Constructor Summary
public
public
BTreeFileHeader(boolean read)
public
BTreeFileHeader(long pageCount)
public
BTreeFileHeader(long pageCount, int pageSize)
Method Summary
public synchronized final long
   The root page of the storage tree
 
public synchronized void
read(RandomAccessFile raf)
public synchronized final void
setRootPage(long rootPage)
   The root page of the storage tree
 
public synchronized void
write(RandomAccessFile raf)
Field Detail
rootPage
private long rootPage = 0
Constructor Detail
BTreeFileHeader
public BTreeFileHeader()

BTreeFileHeader
public BTreeFileHeader(boolean read)
Throws:
IOException

BTreeFileHeader
public BTreeFileHeader(long pageCount)

BTreeFileHeader
public BTreeFileHeader(long pageCount, int pageSize)
Method Detail
getRootPage
public synchronized final long getRootPage()
The root page of the storage tree

read
public synchronized void read(RandomAccessFile raf)
Throws:
IOException

setRootPage
public synchronized final void setRootPage(long rootPage)
The root page of the storage tree

write
public synchronized void write(RandomAccessFile raf)
Throws:
IOException