public class ShrinkablePage extends BtreePage
pageBuffer, pageId| Constructor and Description |
|---|
ShrinkablePage() |
| Modifier and Type | Method and Description |
|---|---|
protected byte |
compare(byte[] key,
int entryNum)
Compares the key with that of the specified entry.
|
protected byte |
compareData(byte[] data,
int entryNum) |
void |
dump() |
void |
dumpBuffer() |
void |
init(Btree btree,
byte[] pageId,
byte[] pageBuffer,
boolean isNew)
Initialize a newly-instantiated or recycled ShrinkablePage.
|
void |
store()
Write BtreePage header data to the page buffer.
|
consistencyCheck, dumpPage, dumpPageBuffer, dumpPageEntries, dumpPageHeader, dumpTree, get, getLocation, makeRoot, put, put, read, remove, remove, remove, split, uninit, writepublic void init(Btree btree, byte[] pageId, byte[] pageBuffer, boolean isNew) throws StorageException
init in class BtreePagebtree - btree to which this page belongspageId - page ID in byte arraypageBuffer - page bufferisNew - is this page new to the btreeStorageExceptionprotected byte compare(byte[] key,
int entryNum)
BtreePageprotected byte compareData(byte[] data,
int entryNum)
compareData in class BtreePagepublic void store()
BtreePagepublic void dump()
public void dumpBuffer()
Copyright © 2005-2012 Apache Software Foundation. All Rights Reserved.