org.exist.storage.index
Class FreeSpace
java.lang.Object
org.exist.storage.index.FreeSpace
- public class FreeSpace
- extends java.lang.Object
Used to track the available amount of free space in a data page.
- Author:
- wolf
- See Also:
FreeList
|
Constructor Summary |
FreeSpace(long pageNum,
int space)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
free
protected int free
page
protected long page
next
protected FreeSpace next
previous
protected FreeSpace previous
FreeSpace
public FreeSpace(long pageNum,
int space)
compareTo
public int compareTo(FreeSpace other)
equals
public boolean equals(FreeSpace other)
getFree
public int getFree()
- Returns the amount of unused space in the page (in bytes).
- Returns:
getPage
public long getPage()
- The unique page number.
- Returns:
setFree
public void setFree(int space)
<oXygen/>
XML Editor
provides support for editing and debugging XQuery
expressions against the eXist XML Database.