| Package | Description |
|---|---|
| org.apache.directory.mavibot.btree |
| Modifier and Type | Field and Description |
|---|---|
protected ReadTransaction<K,K> |
KeyCursor.transaction
The transaction used for this cursor
|
protected ReadTransaction<K,V> |
TupleCursor.transaction
The transaction used for this cursor
|
| Modifier and Type | Field and Description |
|---|---|
private java.util.concurrent.ConcurrentLinkedQueue<ReadTransaction<K,V>> |
ReadTransaction.readTransactions
The list of read transactions being executed
|
protected java.util.concurrent.ConcurrentLinkedQueue<ReadTransaction<K,V>> |
AbstractBTree.readTransactions
The list of read transactions being executed
|
| Modifier and Type | Method and Description |
|---|---|
protected ReadTransaction<K,V> |
InMemoryBTree.beginReadTransaction()
Starts a Read Only transaction.
|
protected ReadTransaction<K,V> |
PersistedBTree.beginReadTransaction()
Starts a Read Only transaction.
|
protected abstract ReadTransaction<K,V> |
AbstractBTree.beginReadTransaction()
Starts a Read Only transaction.
|
protected ReadTransaction<K,V> |
InMemoryBTree.beginReadTransaction(long revision)
Starts a Read Only transaction.
|
protected ReadTransaction<K,V> |
PersistedBTree.beginReadTransaction(long revision)
Starts a Read Only transaction.
|
protected abstract ReadTransaction<K,V> |
AbstractBTree.beginReadTransaction(long revision)
Starts a Read Only transaction.
|
| Modifier and Type | Method and Description |
|---|---|
(package private) java.util.concurrent.ConcurrentLinkedQueue<ReadTransaction<K,V>> |
PersistedBTree.getReadTransactions()
Return the cache we use in this BTree
|
| Modifier and Type | Method and Description |
|---|---|
TupleCursor<K,V> |
InMemoryLeaf.browse(K key,
ReadTransaction<K,V> transaction,
ParentPos<K,V>[] stack,
int depth)
Browses the tree, looking for the given key, and creates a Cursor on top
of the found result.
|
TupleCursor<K,V> |
AbstractPage.browse(K key,
ReadTransaction<K,V> transaction,
ParentPos<K,V>[] stack,
int depth)
Browses the tree, looking for the given key, and creates a Cursor on top
of the found result.
|
TupleCursor<K,V> |
PersistedLeaf.browse(K key,
ReadTransaction<K,V> transaction,
ParentPos<K,V>[] stack,
int depth)
Browses the tree, looking for the given key, and creates a Cursor on top
of the found result.
|
TupleCursor<K,V> |
Page.browse(K key,
ReadTransaction<K,V> transaction,
ParentPos<K,V>[] stack,
int depth)
Browses the tree, looking for the given key, and creates a Cursor on top
of the found result.
|
TupleCursor<K,V> |
InMemoryLeaf.browse(ReadTransaction<K,V> transaction,
ParentPos<K,V>[] stack,
int depth)
Browses the whole tree, and creates a Cursor on top of it.
|
TupleCursor<K,V> |
AbstractPage.browse(ReadTransaction<K,V> transaction,
ParentPos<K,V>[] stack,
int depth)
Browses the whole tree, and creates a Cursor on top of it.
|
TupleCursor<K,V> |
PersistedLeaf.browse(ReadTransaction<K,V> transaction,
ParentPos<K,V>[] stack,
int depth)
Browses the whole tree, and creates a Cursor on top of it.
|
TupleCursor<K,V> |
Page.browse(ReadTransaction<K,V> transaction,
ParentPos<K,V>[] stack,
int depth)
Browses the whole tree, and creates a Cursor on top of it.
|
KeyCursor<K> |
InMemoryLeaf.browseKeys(ReadTransaction<K,K> transaction,
ParentPos<K,K>[] stack,
int depth)
Browses the keys of whole tree, and creates a Cursor on top of it.
|
KeyCursor<K> |
AbstractPage.browseKeys(ReadTransaction<K,K> transaction,
ParentPos<K,K>[] stack,
int depth)
Browses the keys of whole tree, and creates a Cursor on top of it.
|
KeyCursor<K> |
PersistedLeaf.browseKeys(ReadTransaction<K,K> transaction,
ParentPos<K,K>[] stack,
int depth)
Browses the keys of whole tree, and creates a Cursor on top of it.
|
KeyCursor<K> |
Page.browseKeys(ReadTransaction<K,K> transaction,
ParentPos<K,K>[] stack,
int depth)
Browses the keys of whole tree, and creates a Cursor on top of it.
|
(package private) <K,V> void |
RecordManager.releaseTransaction(ReadTransaction<K,V> readTransaction)
Add a newly closd transaction into the closed transaction queue
|
| Constructor and Description |
|---|
KeyCursor(ReadTransaction<K,K> transaction,
ParentPos<K,K>[] stack,
int depth)
Creates a new instance of Cursor, starting on a page at a given position.
|
TupleCursor(ReadTransaction<K,V> transaction,
ParentPos<K,V>[] stack,
int depth)
Creates a new instance of Cursor, starting on a page at a given position.
|
| Constructor and Description |
|---|
ReadTransaction(BTreeHeader<K,V> btreeHeader,
java.util.concurrent.ConcurrentLinkedQueue<ReadTransaction<K,V>> readTransactions)
Creates a new transaction instance
|
ReadTransaction(RecordManager recordManager,
BTreeHeader<K,V> btreeHeader,
java.util.concurrent.ConcurrentLinkedQueue<ReadTransaction<K,V>> readTransactions)
Creates a new transaction instance
|