|
Xindice API version 1.2m1 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.xindice.core.filer.Paged.FileHeader
Paged file's header
Constructor Summary | |
Paged.FileHeader()
|
Method Summary | |
void |
decRecordCount()
Decrement the number of records being managed by the file |
long |
getFirstFreePage()
The first free page in unused secondary space |
short |
getHeaderSize()
The size of the FileHeader. |
long |
getLastFreePage()
The last free page in unused secondary space |
short |
getMaxKeySize()
Get the maximum number of bytes a key can be. |
long |
getPageCount()
The number of pages in primary storage |
byte |
getPageHeaderSize()
Get the size of a page header. |
int |
getPageSize()
The size of a page. |
long |
getRecordCount()
The number of records being managed by the file (not pages) |
long |
getTotalCount()
The number of used pages in the file |
int |
getWorkSize()
|
void |
incRecordCount()
Increment the number of records being managed by the file |
long |
incTotalCount()
|
boolean |
isDirty()
|
void |
read()
|
protected void |
read(RandomAccessFile raf)
|
void |
setDirty()
|
void |
setFirstFreePage(long firstFreePage)
The first free page in unused secondary space |
void |
setHeaderSize(short headerSize)
The size of the FileHeader. |
void |
setLastFreePage(long lastFreePage)
The last free page in unused secondary space |
void |
setMaxKeySize(short maxKeySize)
Set the maximum number of bytes a key can be. |
void |
setPageCount(long pageCount)
The number of pages in primary/initial storage. |
void |
setPageHeaderSize(byte pageHeaderSize)
Set the size of a page header. |
void |
setPageSize(int pageSize)
The size of a page. |
void |
setTotalCount(long totalCount)
The number of used pages in the file. |
void |
write()
|
protected void |
write(RandomAccessFile raf)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Paged.FileHeader()
Method Detail |
public final void read() throws IOException
IOException
protected void read(RandomAccessFile raf) throws IOException
IOException
public final void write() throws IOException
IOException
protected void write(RandomAccessFile raf) throws IOException
IOException
public final void setDirty()
public final boolean isDirty()
public final void setHeaderSize(short headerSize)
public final short getHeaderSize()
public final void setPageSize(int pageSize)
public final int getPageSize()
public final void setPageCount(long pageCount)
public final long getPageCount()
public final void setTotalCount(long totalCount)
public final long incTotalCount()
public final long getTotalCount()
public final void setFirstFreePage(long firstFreePage)
public final long getFirstFreePage()
public final void setLastFreePage(long lastFreePage)
public final long getLastFreePage()
public final void setPageHeaderSize(byte pageHeaderSize)
public final byte getPageHeaderSize()
public final void setMaxKeySize(short maxKeySize)
public final short getMaxKeySize()
public final void incRecordCount()
public final void decRecordCount()
public final long getRecordCount()
public final int getWorkSize()
|
Xindice API version 1.2m1 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |