| Package | Description |
|---|---|
| org.apache.directory.mavibot.btree |
| Modifier and Type | Class and Description |
|---|---|
(package private) class |
PersistedPageHolder<K,V>
A Value holder.
|
| Modifier and Type | Field and Description |
|---|---|
protected PageHolder<K,V>[] |
AbstractPage.children
Children pages associated with keys.
|
| Modifier and Type | Method and Description |
|---|---|
private PageHolder<K,V> |
PersistedNode.createHolder(Page<K,V> page)
Creates a new holder containing a reference to a Page
|
(package private) <K,V> PageHolder<K,V> |
RecordManager.writePage(BTree<K,V> btree,
Page<K,V> newPage,
long newRevision)
Write the page in a serialized form.
|
private PageHolder<K,V> |
PersistedBTree.writePage(Page<K,V> modifiedPage,
long revision)
Write a page either in the pending pages if the transaction is started,
or directly on disk.
|
| Modifier and Type | Method and Description |
|---|---|
private static <K,V> void |
BulkLoader.injectInRoot(BTree<K,V> btree,
Page<K,V> page,
PageHolder<K,V> pageHolder,
LevelInfo<K,V> level)
Inject a page reference into the root page.
|
(package private) void |
AbstractPage.setPageHolder(int pos,
PageHolder<K,V> pageHolder)
Inject a pageHolder into the node, at a given position
|
| Constructor and Description |
|---|
PersistedNode(BTree<K,V> btree,
long revision,
K key,
PageHolder<K,V> leftPage,
PageHolder<K,V> rightPage)
Creates a new Node which will contain only one key, with references to
a left and right page.
|
PersistedNode(BTree<K,V> btree,
long revision,
K key,
PageHolder<K,V> leftPage,
PageHolder<K,V> rightPage)
Creates a new Node which will contain only one key, with references to
a left and right page.
|