|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.h2.mvstore.FreeSpaceList
public class FreeSpaceList
A list that maintains ranges of free space (in pages) in a file.
| Constructor Summary | |
|---|---|
FreeSpaceList()
|
|
| Method Summary | |
|---|---|
int |
allocatePages(long length)
Allocate a number of pages. |
void |
clear()
Reset the list. |
void |
markFree(Chunk c)
Mark the chunk as free. |
void |
markUsed(Chunk c)
Mark a chunk as used. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public FreeSpaceList()
| Method Detail |
|---|
public void clear()
public int allocatePages(long length)
length - the number of bytes to allocate
public void markUsed(Chunk c)
c - the chunkpublic void markFree(Chunk c)
c - the chunkpublic java.lang.String toString()
toString in class java.lang.Object
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||