| Package | Description |
|---|---|
| jdbm |
Simplified public API corresponding to GDBM APIs.
|
| jdbm.btree |
B+Tree (scalable persistent tree) data structure implementation.
|
| jdbm.recman |
Core classes for managing persistent objects and processing transactions.
|
| Modifier and Type | Method and Description |
|---|---|
ActionContext |
ActionRecordManager.beginAction(boolean readOnly,
java.lang.String whoStarted)
Initializes the context for the action.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ActionRecordManager.abortAction(ActionContext context)
Aborts the given action.
|
void |
ActionRecordManager.endAction(ActionContext context)
Ends the action associated with the context.
|
void |
ActionRecordManager.setCurrentActionContext(ActionContext context)
Set the context as the current action context for
the given thread
|
void |
ActionRecordManager.unsetCurrentActionContext(ActionContext context)
Unsets the context as the current action context.
|
| Modifier and Type | Field and Description |
|---|---|
(package private) ActionContext |
BPage.Browser.context
context used to track browsing action
|
| Modifier and Type | Method and Description |
|---|---|
(package private) ActionContext |
BTree.beginAction(boolean readOnly,
java.lang.String whoStarted) |
| Modifier and Type | Method and Description |
|---|---|
(package private) void |
BTree.abortAction(ActionContext context) |
(package private) void |
BTree.endAction(ActionContext context) |
(package private) TupleBrowser<K,V> |
BPage.find(int height,
K key,
ActionContext context)
Find the object associated with the given key.
|
(package private) TupleBrowser<K,V> |
BPage.findFirst(ActionContext context)
Find first entry and return a browser positioned before it.
|
(package private) void |
BTree.setAsCurrentAction(ActionContext context) |
(package private) void |
BTree.unsetAsCurrentAction(ActionContext context) |
| Constructor and Description |
|---|
Browser(BPage<K,V> page,
int index,
ActionContext context)
Create a browser.
|
| Modifier and Type | Field and Description |
|---|---|
private static java.lang.ThreadLocal<ActionContext> |
SnapshotRecordManager.actionContextVar
Per thread action context
|
| Modifier and Type | Method and Description |
|---|---|
ActionContext |
SnapshotRecordManager.beginAction(boolean readOnly,
java.lang.String whoStarted)
Initializes the context for the action.
|
| Modifier and Type | Method and Description |
|---|---|
void |
SnapshotRecordManager.abortAction(ActionContext actionContext)
Aborts the given action.
|
void |
SnapshotRecordManager.endAction(ActionContext actionContext)
Ends the action associated with the context.
|
void |
SnapshotRecordManager.setCurrentActionContext(ActionContext context)
Set the context as the current action context for
the given thread
|
void |
SnapshotRecordManager.unsetCurrentActionContext(ActionContext context)
Unsets the context as the current action context.
|