Package | Description |
---|---|
org.apache.activemq.store.kahadb | |
org.apache.activemq.store.kahadb.disk.index | |
org.apache.activemq.store.kahadb.disk.page |
Modifier and Type | Field and Description |
---|---|
protected Page<MessageDatabase.Metadata> |
MessageDatabase.Metadata.page |
Modifier and Type | Method and Description |
---|---|
Page<T> |
KahaDBMetaData.getPage()
Gets the Page in the store PageFile where the KahaDBMetaData instance is stored.
|
Page<T> |
AbstractKahaDBMetaData.getPage() |
Modifier and Type | Method and Description |
---|---|
void |
KahaDBMetaData.setPage(Page<T> page)
Sets the Page instance used to load and store the KahaDBMetaData instance.
|
void |
AbstractKahaDBMetaData.setPage(Page<T> page) |
Modifier and Type | Method and Description |
---|---|
Page<ListNode<Key,Value>> |
ListNode.getPage() |
Page<BTreeNode<Key,Value>> |
BTreeNode.getPage() |
Modifier and Type | Method and Description |
---|---|
void |
BTreeNode.setPage(Page<BTreeNode<Key,Value>> page) |
void |
ListNode.setPage(Page<ListNode<Key,Value>> page) |
Constructor and Description |
---|
BTreeIndex(Page page) |
BTreeIndex(PageFile pageFile,
Page page) |
ListIndex(PageFile pageFile,
Page page) |
Modifier and Type | Method and Description |
---|---|
<T> Page<T> |
Transaction.allocate()
Allocates a free page that you can write data to.
|
<T> Page<T> |
Transaction.allocate(int count)
Allocates a block of free pages that you can write data to.
|
Page<T> |
Page.copy(Page<T> other) |
<T> Page<T> |
Transaction.load(long pageId,
Marshaller<T> marshaller)
Loads a page from disk.
|
Modifier and Type | Method and Description |
---|---|
Iterator<Page> |
Transaction.iterator()
Allows you to iterate through all active Pages in this object.
|
Iterator<Page> |
Transaction.iterator(boolean includeFreePages)
Allows you to iterate through all active Pages in this object.
|
Modifier and Type | Method and Description |
---|---|
Page<T> |
Page.copy(Page<T> other) |
<T> void |
Transaction.free(Page<T> page)
Frees up a previously allocated page so that it can be re-allocated again.
|
<T> void |
Transaction.free(Page<T> page,
int count)
Frees up a previously allocated sequence of pages so that it can be re-allocated again.
|
<T> void |
Transaction.load(Page<T> page,
Marshaller<T> marshaller)
Loads a page from disk.
|
InputStream |
Transaction.openInputStream(Page p) |
OutputStream |
Transaction.openOutputStream(Page page,
boolean overflow) |
<T> void |
Transaction.store(Page<T> page,
Marshaller<T> marshaller,
boolean overflow) |
Copyright © 2005–2017. All rights reserved.