@NotStorableClass public class FreePage extends AbstractElement
| Constructor and Description |
|---|
FreePage(long nextFreePage) |
| Modifier and Type | Method and Description |
|---|---|
int |
getByteSize() |
int |
getInParentIndex() |
long |
getNextFreePage() |
int |
getNumberOfPage()
the number of pages take is fix
|
IPageRecordable |
getParentPage() |
EnumRecordType |
getRecordType() |
void |
setParentPage(IPageRecordable parentPage,
int inParentIndex) |
void |
updateByteSize() |
getPageRecord, getPositionInFile, getPreviousRecordPositionInFile, setPageRecord, setValueIsChangedValueToSave, setValueIsNotChangedpublic EnumRecordType getRecordType()
public int getNumberOfPage()
IPageRecordablepublic void updateByteSize()
public int getByteSize()
public long getNextFreePage()
public void setParentPage(IPageRecordable parentPage, int inParentIndex) throws HeapException
HeapExceptionpublic IPageRecordable getParentPage() throws HeapException
HeapExceptionpublic int getInParentIndex()
throws HeapException
HeapExceptionCopyright © 2007-2012 Luc Peuvrier. All Rights Reserved.