
public class OWALPageV1 extends Object implements OWALPage
Each WAL record is stored using following format:
Every time new record is added. Value of free space left on page is updated.
CRC_OFFSET, FREE_SPACE_OFFSET, MAGIC_NUMBER_OFFSET, MIN_RECORD_SIZE, PAGE_SIZE| Modifier and Type | Method and Description |
|---|---|
int |
getFreeSpace() |
byte[] |
getRecord(int position)
Returns content of record which is stored inside of specified position of page.
|
boolean |
mergeWithNextPage(int position)
Indicates whether page stored inside of passed in position is stored only partially inside of given page,
so next part of the record should be read from next page of WAL segment.
|
public byte[] getRecord(int position)
public boolean mergeWithNextPage(int position)
mergeWithNextPage in interface OWALPagepublic int getFreeSpace()
getFreeSpace in interface OWALPageCopyright © 2009–2025 OrientDB. All rights reserved.