- abortAction(ActionContext) - Method in interface jdbm.ActionRecordManager
-
Aborts the given action.
- abortAction(ActionContext) - Method in class jdbm.btree.BTree
-
- abortAction(ActionContext) - Method in class jdbm.recman.SnapshotRecordManager
-
Aborts the given action.
- ActionContext - Class in jdbm.helper
-
Used to store Action specific context.
- ActionContext() - Constructor for class jdbm.helper.ActionContext
-
- actionContextVar - Static variable in class jdbm.recman.SnapshotRecordManager
-
Per thread action context
- ActionRecordManager - Interface in jdbm
-
Extends the RecordManager to allow callers to group their RecordManager interface
calls into actions.
- ActionVersioning - Class in jdbm.helper
-
This is a helper class to keep track of versions assigned to actions.
- ActionVersioning() - Constructor for class jdbm.helper.ActionVersioning
-
- ActionVersioning.Version - Class in jdbm.helper
-
- add(BlockIo) - Method in class jdbm.recman.TransactionManager
-
Indicates the block is part of the transaction.
- addAfter(ExplicitList.Link<V>) - Method in class jdbm.helper.ExplicitList.Link
-
- addBefore(ExplicitList.Link<V>) - Method in class jdbm.helper.ExplicitList.Link
-
- addElement(Object, Object) - Method in class jdbm.htree.HashBucket
-
Add an element (key, value) to this bucket.
- addEntry(CacheEntry) - Method in class jdbm.helper.MRU
-
Add a CacheEntry.
- addFirst(ExplicitList.Link<T>) - Method in class jdbm.helper.ExplicitList
-
- addLast(ExplicitList.Link<T>) - Method in class jdbm.helper.ExplicitList
-
- addListener(CachePolicyListener<V>) - Method in interface jdbm.helper.CachePolicy
-
Add a listener to this cache policy.
- addListener(CachePolicyListener) - Method in class jdbm.helper.MRU
-
Add a listener to this cache policy
- addListener(CachePolicyListener) - Method in class jdbm.helper.SoftCache
-
Adds the specified listener to this cache.
- addToLRU(LRUCache<K, V>.CacheEntry) - Method in class jdbm.helper.LRUCache.LRU
-
add the new entry to the head of the lru
- addToSnapshots(LRUCache<K, V>.CacheEntry) - Method in class jdbm.helper.LRUCache.LRU
-
Removes the entry from the lru list and Adds the entry to the list of snapshot entries.
- advanceMinReadVersion(long) - Method in class jdbm.helper.LRUCache
-
Called as the minimum version that readers will use advances.
- alloc(int) - Method in class jdbm.recman.FreeLogicalRowIdPage
-
Allocates a slot
- alloc(int) - Method in class jdbm.recman.FreePhysicalRowIdPage
-
Allocates a slot
- alloc(int) - Method in class jdbm.recman.PhysicalRowIdManager
-
Allocate a new rowid with the indicated size.
- allocate(short) - Method in class jdbm.recman.PageManager
-
Allocates a page of the indicated type.
- allocNew(int, long) - Method in class jdbm.recman.PhysicalRowIdManager
-
Allocates a new rowid.
- anyReaders() - Method in class jdbm.recman.BaseRecordManager.LockElement
-
- anyUser() - Method in class jdbm.recman.BaseRecordManager.LockElement
-
- anyWaiters() - Method in class jdbm.helper.LRUCache.CacheEntry
-
- anyWaiters() - Method in class jdbm.recman.BaseRecordManager.LockElement
-
- assertConsistency() - Method in class jdbm.btree.BPage
-
Assert the ordering of the keys on the BPage.
- assertConsistencyRecursive(int) - Method in class jdbm.btree.BPage
-
Recursively assert the ordering of the BPage entries on this page
and sub-pages.
- AUTO_COMMIT - Static variable in class jdbm.RecordManagerOptions
-
Option to automatically commit data after each operation.
- BaseRecordManager - Class in jdbm.recman
-
This class manages records, which are uninterpreted blobs of data.
- BaseRecordManager - Class in jdbm.recman
-
This class manages records, which are uninterpreted blobs of data.
- BaseRecordManager(String) - Constructor for class jdbm.recman.BaseRecordManager
-
Creates a record manager for the indicated file
- BaseRecordManager.IOType - Enum in jdbm.recman
-
- BaseRecordManager.LockElement - Class in jdbm.recman
-
TODO add asserts to check internal consistency
- begin() - Method in class jdbm.helper.ExplicitList
-
- beginAction(boolean, String) - Method in interface jdbm.ActionRecordManager
-
Initializes the context for the action.
- beginAction(boolean, String) - Method in class jdbm.btree.BTree
-
- beginAction(boolean, ActionVersioning.Version, String) - Method in class jdbm.helper.ActionContext
-
- beginAction(boolean, String) - Method in class jdbm.recman.SnapshotRecordManager
-
Initializes the context for the action.
- beginIO(Long, BaseRecordManager.IOType) - Method in class jdbm.recman.BaseRecordManager
-
Used to serialize reads/write on a given logical rowid.
- beginReadAction() - Method in class jdbm.helper.ActionVersioning
-
Returns a version that can be used by the read only action
- beginWriteAction() - Method in class jdbm.helper.ActionVersioning
-
Returns back the new version to be used with the read/write action.
- beingWritten() - Method in class jdbm.recman.BaseRecordManager.LockElement
-
- bigLock - Variable in class jdbm.btree.BTree
-
Big lock snychronizing all actions
- bigLock - Variable in class jdbm.recman.SnapshotRecordManager
-
Lock used to serialize write actions and some management operatins
- BIT_SIZE - Static variable in class jdbm.htree.HashDirectory
-
Number of significant bits per directory level.
- block - Variable in class jdbm.recman.FileHeader
-
The BlockIo used to store the FileHeader
- BLOCK - Static variable in class jdbm.recman.Magic
-
Magic for blocks.
- block - Variable in class jdbm.recman.PhysicalRowId
-
- block - Variable in class jdbm.recman.RecordHeader
-
- BLOCK_SIZE - Static variable in class jdbm.recman.RecordFile
-
The length of a single block.
- blockId - Variable in class jdbm.recman.BlockIo
-
The block Identifier
- blockId - Variable in class jdbm.recman.Location
-
The block in which the data is stored
- blockId - Variable in class jdbm.recman.PageCursor
-
The current block ID
- BlockIo - Class in jdbm.recman
-
This class wraps a page-sized byte array and provides methods to read and
write data to and from it.
- BlockIo - Class in jdbm.recman
-
This class wraps a page-sized byte array and provides methods to read and
write data to and from it.
- BlockIo() - Constructor for class jdbm.recman.BlockIo
-
Default constructor for serialization
- BlockIo(long, byte[]) - Constructor for class jdbm.recman.BlockIo
-
Constructs a new BlockIo instance.
- blockIo - Variable in class jdbm.recman.PageHeader
-
the page header block this view is associated with
- BlockIoComparator() - Constructor for class jdbm.recman.TransactionManager.BlockIoComparator
-
- BlockView - Interface in jdbm.recman
-
This is a marker interface that is implemented by classes that
interpret blocks of data by pretending to be an overlay.
- BlockView - Class in jdbm.recman
-
This is a marker interface that is implemented by classes that
interpret blocks of data by pretending to be an overlay.
- BPage<K,V> - Class in jdbm.btree
-
Page of a Btree.
- BPage - Class in jdbm.btree
-
Page of a Btree.
- BPage() - Constructor for class jdbm.btree.BPage
-
No-argument constructor used by serialization.
- BPage(BTree<K, V>, BPage<K, V>, BPage<K, V>) - Constructor for class jdbm.btree.BPage
-
Root page overflow constructor
- BPage(BTree<K, V>, K, V) - Constructor for class jdbm.btree.BPage
-
Root page (first insert) constructor.
- BPage(BTree, boolean) - Constructor for class jdbm.btree.BPage
-
Overflow page constructor.
- BPage.Browser - Class in jdbm.btree
-
PRIVATE INNER CLASS
Browser to traverse leaf BPages.
- BPage.InsertResult<K,V> - Class in jdbm.btree
-
STATIC INNER CLASS
Result from insert() method call.
- BPage.RemoveResult<K,V> - Class in jdbm.btree
-
STATIC INNER CLASS
Result from remove() method call.
- bpageSerializer - Variable in class jdbm.btree.BTree
-
Serializer used for BPages of this tree
- browse() - Method in class jdbm.btree.BTree
-
Get a browser initially positioned at the beginning of the BTree.
- browse(K) - Method in class jdbm.btree.BTree
-
Get a browser initially positioned just before the given key.
- Browser(BPage<K, V>, int, ActionContext) - Constructor for class jdbm.btree.BPage.Browser
-
Create a browser.
- btree - Variable in class jdbm.btree.BPage
-
Parent B+Tree.
- BTree<K,V> - Class in jdbm.btree
-
B+Tree persistent indexing data structure.
- BTree - Class in jdbm.btree
-
B+Tree persistent indexing data structure.
- BTree() - Constructor for class jdbm.btree.BTree
-
No-argument constructor used by serialization.
- BTree(RecordManager, Comparator<K>) - Constructor for class jdbm.btree.BTree
-
Create a new persistent BTree, with 16 entries per node.
- BTree(RecordManager, Comparator<K>, Serializer, Serializer) - Constructor for class jdbm.btree.BTree
-
Create a new persistent BTree, with 16 entries per node.
- BTree(RecordManager, Comparator<K>, Serializer, Serializer, int) - Constructor for class jdbm.btree.BTree
-
Create a new persistent BTree with the given number of entries per node.
- BTree.EmptyBrowser - Class in jdbm.btree
-
PRIVATE INNER CLASS
Browser returning no element.
- BTree.MetaRoot - Class in jdbm.btree
-
Used to point to the root page that the reader needs based on the reader's
read action context.
- bTreeHeight - Variable in class jdbm.btree.BTree
-
Height of the B+Tree.
- buckets - Variable in class jdbm.helper.LRUCache
-
Array of hash buckets
- bumpReaders() - Method in class jdbm.recman.BaseRecordManager.LockElement
-
- bumpWaiters() - Method in class jdbm.helper.LRUCache.CacheEntry
-
- bumpWaiters() - Method in class jdbm.recman.BaseRecordManager.LockElement
-
- ByteArrayComparator - Class in jdbm.helper
-
Comparator for byte arrays.
- ByteArrayComparator - Class in jdbm.helper
-
Comparator for byte arrays.
- ByteArrayComparator() - Constructor for class jdbm.helper.ByteArrayComparator
-
- ByteArraySerializer - Class in jdbm.helper
-
Serializer for byte arrays -- simple returns the byte array itself.
- ByteArraySerializer - Class in jdbm.helper
-
Serializer for byte arrays -- simple returns the byte array itself.
- ByteArraySerializer() - Constructor for class jdbm.helper.ByteArraySerializer
-
- cache - Variable in class jdbm.recman.CacheRecordManager
-
Cache for underlying RecordManager
- CACHE_SIZE - Static variable in class jdbm.RecordManagerOptions
-
Cache size (when applicable)
- CACHE_TYPE - Static variable in class jdbm.RecordManagerOptions
-
Cache type.
- CacheEntry - Class in jdbm.helper
-
State information for cache entries.
- CacheEntry - Class in jdbm.helper
-
State information for cache entries.
- CacheEntry(Object, Object) - Constructor for class jdbm.helper.CacheEntry
-
- CacheEntry(int) - Constructor for class jdbm.helper.LRUCache.CacheEntry
-
- CacheEntry(long, Object, Serializer, boolean) - Constructor for class jdbm.recman.CacheRecordManager.CacheEntry
-
- CacheEvictionException - Exception in jdbm.helper
-
Exception that occurs during eviction of an object in the cache.
- CacheEvictionException - Class in jdbm.helper
-
Exception that occurs during eviction of an object in the cache.
- CacheEvictionException(Exception) - Constructor for exception jdbm.helper.CacheEvictionException
-
- cacheGets - Variable in class jdbm.helper.LRUCache
-
Stats to keep track of cache gets
- CacheListener() - Constructor for class jdbm.recman.CacheRecordManager.CacheListener
-
- cacheMisses - Variable in class jdbm.helper.LRUCache
-
Stats to keep track of cache hits for cache gets
- cacheObjectEvicted(T) - Method in interface jdbm.helper.CachePolicyListener
-
Notification that the cache this listener is attached to is evicting
the object indicated.
- cacheObjectEvicted(CacheRecordManager.CacheEntry) - Method in class jdbm.recman.CacheRecordManager.CacheListener
-
Notification that cache is evicting an object
- CachePolicy<K,V> - Interface in jdbm.helper
-
CachePolicity is an abstraction for different cache policies.
- CachePolicy - Class in jdbm.helper
-
CachePolicity is an abstraction for different cache policies.
- CachePolicyListener<T> - Interface in jdbm.helper
-
Callback interface between
CachePolicy and a Cache implementation
to notify about cached object eviction.
- CachePolicyListener - Class in jdbm.helper
-
Callback interface between
CachePolicy and a Cache implementation
to notify about cached object eviction.
- cachePuts - Variable in class jdbm.helper.LRUCache
-
Stats to keep track of cache puts
- cachePutSleeps - Variable in class jdbm.helper.LRUCache
-
Stats to keep track of # of times writes sleep for free cache entry
- CacheRecordManager - Class in jdbm.recman
-
A RecordManager wrapping and caching another RecordManager.
- CacheRecordManager - Class in jdbm.recman
-
A RecordManager wrapping and caching another RecordManager.
- CacheRecordManager(RecordManager, CachePolicy<Long, CacheRecordManager.CacheEntry>) - Constructor for class jdbm.recman.CacheRecordManager
-
Construct a CacheRecordManager wrapping another RecordManager and
using a given cache policy.
- CacheRecordManager.CacheEntry - Class in jdbm.recman
-
A class to store a cached entry.
- CacheRecordManager.CacheListener - Class in jdbm.recman
-
- canReadFrom(long) - Method in class jdbm.helper.LRUCache.CacheEntry
-
Checks if read for the given version can be satisfied
from the entry
- checkIfClosed() - Method in class jdbm.recman.BaseRecordManager
-
Check if RecordManager has been closed.
- checkIfClosed() - Method in class jdbm.recman.CacheRecordManager
-
Check if RecordManager has been closed.
- checkIfClosed() - Method in class jdbm.recman.SnapshotRecordManager
-
Check if RecordManager has been closed.
- childBPage(int) - Method in class jdbm.btree.BPage
-
Return the child BPage at given index.
- children - Variable in class jdbm.btree.BPage
-
Children pages (recids) associated with keys.
- cleanData - Static variable in class jdbm.recman.RecordFile
-
A block of clean data to wipe clean pages.
- clearNeverReplace() - Method in class jdbm.helper.LRUCache.CacheEntry
-
- clearQueue - Variable in class jdbm.helper.SoftCache
-
- close() - Method in class jdbm.btree.BPage.Browser
-
- close() - Method in class jdbm.helper.TupleBrowser
-
Closes the browser and deallocates any resources it might have allocated.
- close() - Method in class jdbm.recman.BaseRecordManager
-
Closes the record manager.
- close() - Method in class jdbm.recman.CacheRecordManager
-
Closes the record manager.
- close() - Method in class jdbm.recman.PageManager
-
Closes the page manager.
- close() - Method in class jdbm.recman.RecordFile
-
Commits and closes file.
- close() - Method in class jdbm.recman.SnapshotRecordManager
-
Closes the record manager.
- close() - Method in class jdbm.recman.TransactionManager
-
Closes open files.
- close() - Method in interface jdbm.RecordManager
-
Closes the record manager.
- commit() - Method in class jdbm.recman.BaseRecordManager
-
Commit (make persistent) all changes since beginning of transaction.
- commit() - Method in class jdbm.recman.CacheRecordManager
-
Commit (make persistent) all changes since beginning of transaction.
- commit() - Method in class jdbm.recman.PageManager
-
Commit all pending (in-memory) data by flushing the page manager.
- commit() - Method in class jdbm.recman.RecordFile
-
Commits the current transaction by flushing all dirty buffers to disk.
- commit() - Method in class jdbm.recman.SnapshotRecordManager
-
Commit (make persistent) all changes since beginning of transaction.
- commit() - Method in class jdbm.recman.TransactionManager
-
Commits the transaction to the log file.
- commit() - Method in interface jdbm.RecordManager
-
Commit (make persistent) all changes since beginning of transaction.
- comparator - Variable in class jdbm.btree.BTree
-
Comparator used to index entries.
- compare(K, K) - Method in class jdbm.btree.BPage
-
- compare(byte[], byte[]) - Method in class jdbm.helper.ByteArrayComparator
-
Compare two objects.
- compare(Integer, Integer) - Method in class jdbm.helper.IntegerComparator
-
Compare two objects.
- compare(Long, Long) - Method in class jdbm.helper.LongComparator
-
Compare two objects.
- compare(Object, Object) - Method in class jdbm.helper.ObjectBAComparator
-
Compare two objects.
- compare(String, String) - Method in class jdbm.helper.StringComparator
-
Compare two objects.
- compare(BlockIo, BlockIo) - Method in class jdbm.recman.TransactionManager.BlockIoComparator
-
- compareByteArray(byte[], byte[]) - Static method in class jdbm.helper.ByteArrayComparator
-
Compare two byte arrays.
- compareByteArray(byte[], byte[]) - Static method in class jdbm.helper.ObjectBAComparator
-
Compare two byte arrays.
- conflictingIOPredicate(BaseRecordManager.IOType, BaseRecordManager.LockElement) - Method in class jdbm.recman.BaseRecordManager
-
- context - Variable in class jdbm.btree.BPage.Browser
-
context used to track browsing action
- Conversion - Class in jdbm.helper
-
Miscelaneous conversion utility methods.
- Conversion - Class in jdbm.helper
-
Miscelaneous conversion utility methods.
- Conversion() - Constructor for class jdbm.helper.Conversion
-
- convertToByteArray(String) - Static method in class jdbm.helper.Conversion
-
Convert a string into a byte array.
- convertToByteArray(byte) - Static method in class jdbm.helper.Conversion
-
Convert a byte into a byte array.
- convertToByteArray(short) - Static method in class jdbm.helper.Conversion
-
Convert a short into a byte array.
- convertToByteArray(int) - Static method in class jdbm.helper.Conversion
-
Convert an int into a byte array.
- convertToByteArray(long) - Static method in class jdbm.helper.Conversion
-
Convert a long into a byte array.
- convertToInt(byte[]) - Static method in class jdbm.helper.Conversion
-
Convert a byte array into an integer (signed 32-bit) value.
- convertToLong(byte[]) - Static method in class jdbm.helper.Conversion
-
Convert a byte array into a long (signed 64-bit) value.
- convertToString(byte[]) - Static method in class jdbm.helper.Conversion
-
Convert a byte array (encoded as UTF-8) into a String
- copyChildren(BPage<K, V>, int, BPage<K, V>, int, int) - Method in class jdbm.btree.BPage
-
Copy child BPage recids between two BPages
- copyEntries(BPage<K, V>, int, BPage<K, V>, int, int) - Method in class jdbm.btree.BPage
-
Copy entries between two BPages
- copyOnWrite() - Method in class jdbm.btree.BPage
-
- copyOnWrite(BPage<K, V>) - Method in class jdbm.btree.BTree
-
- copyOnWrite(BTree<K, V>.MetaRoot) - Method in class jdbm.btree.BTree
-
- createInstance(RecordManager, Comparator<K>, Serializer, Serializer, int) - Method in class jdbm.btree.BTree
-
The real BTree constructor.
- createInstance(RecordManager) - Static method in class jdbm.htree.HTree
-
Create a persistent hashtable.
- createRecordManager(String, Properties) - Method in class jdbm.recman.Provider
-
Create a default implementation record manager.
- createRecordManager(String) - Static method in class jdbm.RecordManagerFactory
-
Create a record manager.
- createRecordManager(String, Properties) - Static method in class jdbm.RecordManagerFactory
-
Create a record manager.
- createRecordManager(String, Properties) - Method in interface jdbm.RecordManagerProvider
-
Create a record manager.
- curTxn - Variable in class jdbm.recman.TransactionManager
-
- cv - Variable in class jdbm.recman.BaseRecordManager.LockElement
-
- data - Variable in class jdbm.recman.BlockIo
-
The row data contained in this block
- DATA_PER_PAGE - Static variable in class jdbm.recman.DataPage
-
total amount of data in this page/block: BLOCK_SIZE - 20 bytes
- DataPage - Class in jdbm.recman
-
Class describing a page that holds data.
- DataPage - Class in jdbm.recman
-
Class describing a page that holds data.
- DataPage(BlockIo) - Constructor for class jdbm.recman.DataPage
-
Constructs a data page view from the indicated block.
- DEBUG - Static variable in class jdbm.btree.BPage
-
- DEBUG - Static variable in class jdbm.btree.BTree
-
- DEBUG - Static variable in class jdbm.recman.BaseRecordManager
-
Static debugging flag
- decrementReaders() - Method in class jdbm.recman.BaseRecordManager.LockElement
-
- decrementTransactionCount() - Method in class jdbm.recman.BlockIo
-
Decrements transaction count for this block, to signal that this
block has been written from the log to the data recordFile.
- decrementWaiters() - Method in class jdbm.helper.LRUCache.CacheEntry
-
- decrementWaiters() - Method in class jdbm.recman.BaseRecordManager.LockElement
-
- DEFAULT_LOAD_FACTOR - Static variable in class jdbm.helper.SoftCache
-
- DEFAULT_SIZE - Static variable in class jdbm.btree.BTree
-
Default page size (number of entries per node)
- DEFAULT_TXNS_IN_LOG - Static variable in class jdbm.recman.TransactionManager
-
By default, we keep 10 transactions in the log file before
synchronizing it with the main database file.
- DefaultSerializer - Class in jdbm.helper
-
Default java serializer.
- DefaultSerializer - Class in jdbm.helper
-
Default java serializer.
- DefaultSerializer() - Constructor for class jdbm.helper.DefaultSerializer
-
Construct a DefaultSerializer.
- delete(long) - Method in class jdbm.recman.BaseRecordManager
-
Deletes a record.
- delete(long) - Method in class jdbm.recman.CacheRecordManager
-
Deletes a record.
- delete(Location) - Method in class jdbm.recman.LogicalRowIdManager
-
Releases the indicated logical rowid.
- delete(Location) - Method in class jdbm.recman.PhysicalRowIdManager
-
Deletes a record.
- delete(long) - Method in class jdbm.recman.SnapshotRecordManager
-
Deletes a record.
- delete(long) - Method in interface jdbm.RecordManager
-
Deletes a record.
- deserialize(byte[]) - Method in class jdbm.btree.BPage
-
Deserialize the content of an object from a byte array.
- deserialize(byte[]) - Method in class jdbm.helper.ByteArraySerializer
-
Deserialize the content of an object from a byte array.
- deserialize(byte[]) - Method in class jdbm.helper.DefaultSerializer
-
De-serialize the content of an object from a byte array.
- deserialize(byte[]) - Method in class jdbm.helper.IntegerSerializer
-
Deserialize the content of an object from a byte array.
- deserialize(byte[]) - Method in class jdbm.helper.LongSerializer
-
Deserialize the content of an object from a byte array.
- deserialize(byte[]) - Static method in class jdbm.helper.Serialization
-
Deserialize an object from a byte array
- deserialize(byte[]) - Method in interface jdbm.helper.Serializer
-
Deserialize the content of an object from a byte array.
- dirty - Variable in class jdbm.recman.BlockIo
-
A flag set when this block has been modified
- dirty - Variable in class jdbm.recman.RecordFile
-
The map of dirty pages (page being modified)
- DISABLE_TRANSACTIONS - Static variable in class jdbm.RecordManagerOptions
-
Option to disable transaction (to increase performance at the cost of
potential data loss).
- disableTransactions() - Method in class jdbm.recman.BaseRecordManager
-
Switches off transactions for the record manager.
- disableTransactions() - Method in class jdbm.recman.RecordFile
-
Disables transactions: doesn't sync and doesn't use the
transaction manager.
- discard(BlockIo) - Method in class jdbm.recman.RecordFile
-
Discards a block (will not write the block even if it's dirty)
- discardBlocks(List<BlockIo>) - Method in class jdbm.recman.TransactionManager
-
Discards the indicated blocks and notify the owner.
- doRead(LRUCache<K, V>.CacheEntry, Lock, Serializer) - Method in class jdbm.helper.LRUCache
-
Does read the value for the given entry.
- doWaitForStateChange(LRUCache<K, V>.CacheEntry, Lock) - Method in class jdbm.helper.LRUCache
-
Wait for the state change to happen.
- dump(int) - Method in class jdbm.btree.BPage
-
Dump the structure of the tree on the screen.
- dumpRecursive(int, int) - Method in class jdbm.btree.BPage
-
Recursively dump the state of the BTree on screen.
- element - Variable in class jdbm.helper.ExplicitList.Link
-
- elements() - Method in interface jdbm.helper.CachePolicy
-
Enumerate through the objects currently in the cache.
- elements() - Method in class jdbm.helper.MRU
-
Enumerate elements' values in the cache
- elements - Variable in class jdbm.helper.MRUEnumeration
-
- elements() - Method in class jdbm.helper.SoftCache
-
Gets all the objects stored by the internal (L1) cache.
- ELEMS_PER_PAGE - Static variable in class jdbm.recman.FreeLogicalRowIdPage
-
The number of elements by page
- ELEMS_PER_PAGE - Static variable in class jdbm.recman.FreePhysicalRowIdPage
-
- ELEMS_PER_PAGE - Static variable in class jdbm.recman.TranslationPage
-
Number of PhysicalRowId in this page
- EmptyBrowser() - Constructor for class jdbm.btree.BTree.EmptyBrowser
-
- end() - Method in class jdbm.helper.ExplicitList
-
- endAction(ActionContext) - Method in interface jdbm.ActionRecordManager
-
Ends the action associated with the context.
- endAction(ActionContext) - Method in class jdbm.btree.BTree
-
- endAction() - Method in class jdbm.helper.ActionContext
-
- endAction(ActionContext) - Method in class jdbm.recman.SnapshotRecordManager
-
Ends the action associated with the context.
- endIO(Long, BaseRecordManager.LockElement, BaseRecordManager.IOType) - Method in class jdbm.recman.BaseRecordManager
-
Ends the IO by releasing the logical lock on the given recid
- endReadAction(ActionVersioning.Version) - Method in class jdbm.helper.ActionVersioning
-
Called when the read action with the given action is ended.
- endVersion - Variable in class jdbm.helper.LRUCache.CacheEntry
-
End of valid range.
- endWriteAction() - Method in class jdbm.helper.ActionVersioning
-
Called when the read/write action completes.
- Entry(Object, Object, ReferenceQueue) - Constructor for class jdbm.helper.SoftCache.Entry
-
Constructor that uses value as the soft
reference's referent.
- EntryIO<K,V> - Interface in jdbm.helper
-
TODO EntryIO.
- entryIO - Variable in class jdbm.helper.LRUCache
-
Callback used to initialize entries not in cache
- EntryState() - Constructor for enum jdbm.helper.LRUCache.EntryState
-
- equals(Object) - Method in class jdbm.recman.Location
- equals(Object) - Method in class jdbm.recman.TransactionManager.BlockIoComparator
-
- err(I18n, Object...) - Static method in enum jdbm.I18n
-
Translate an error code with argument(s)
- errBundle - Static variable in enum jdbm.I18n
-
- errorCode - Variable in enum jdbm.I18n
-
The error code
- existing - Variable in class jdbm.btree.BPage.InsertResult
-
Existing value for the insertion key.
- ExplicitList<T> - Class in jdbm.helper
-
A simple doubly linked list implementation that can be used when fast remove operations are desired.
- ExplicitList() - Constructor for class jdbm.helper.ExplicitList
-
- ExplicitList.Link<V> - Class in jdbm.helper
-
- EXTENSION - Static variable in class jdbm.recman.RecordFile
-
The extension of a record file
- extension - Static variable in class jdbm.recman.TransactionManager
-
Extension of a log file.
- FastIterator - Class in jdbm.helper
-
Fast and simple iterator.
- FastIterator - Class in jdbm.helper
-
Fast and simple iterator.
- FastIterator() - Constructor for class jdbm.helper.FastIterator
-
- fetch(long) - Method in class jdbm.recman.BaseRecordManager
-
Fetches a record using standard java object serialization.
- fetch(long, Serializer) - Method in class jdbm.recman.BaseRecordManager
-
Fetches a record using a custom serializer.
- fetch(long) - Method in class jdbm.recman.CacheRecordManager
-
Fetches a record using standard Java serialization.
- fetch(long, Serializer) - Method in class jdbm.recman.CacheRecordManager
-
Fetches a record using a custom serializer.
- fetch(Location) - Method in class jdbm.recman.LogicalRowIdManager
-
Returns a mapping
- fetch(Location) - Method in class jdbm.recman.PhysicalRowIdManager
-
Retrieves a record.
- fetch(long) - Method in class jdbm.recman.SnapshotRecordManager
-
Fetches a record using standard Java serialization.
- fetch(long, Serializer) - Method in class jdbm.recman.SnapshotRecordManager
-
Fetches a record using a custom serializer.
- fetch(long) - Method in interface jdbm.RecordManager
-
Fetches a record using standard java object serialization.
- fetch(long, Serializer) - Method in interface jdbm.RecordManager
-
Fetches a record using a custom serializer.
- file - Variable in class jdbm.recman.PhysicalRowIdManager
-
The file we're talking to and the associated page manager.
- file - Variable in class jdbm.recman.RecordFile
-
The underlying file
- FILE_HEADER - Static variable in class jdbm.recman.Magic
-
Magic cookie at start of file
- FileHeader - Class in jdbm.recman
-
This class represents a file header.
- FileHeader - Class in jdbm.recman
-
This class represents a file header.
- FileHeader(BlockIo, boolean) - Constructor for class jdbm.recman.FileHeader
-
Constructs a FileHeader object from a block.
- fileName - Variable in class jdbm.recman.RecordFile
-
The file name
- find(int, K, ActionContext) - Method in class jdbm.btree.BPage
-
Find the object associated with the given key.
- find(K) - Method in class jdbm.btree.BTree
-
Find the value associated with the given key.
- findChildren(K) - Method in class jdbm.btree.BPage
-
Find the first children node with a key equal or greater than the given
key.
- findFirst(ActionContext) - Method in class jdbm.btree.BPage
-
Find first entry and return a browser positioned before it.
- findGreaterOrEqual(K) - Method in class jdbm.btree.BTree
-
Find the value associated with the given key, or the entry immediately
following this key in the ordered BTree.
- findNewEntry(K, int) - Method in class jdbm.helper.LRUCache
-
Finds a victim entry to be replaced by the given key.
- findVictim(int) - Method in class jdbm.helper.LRUCache.LRU
-
Finds a freeable entry from the lru.
- first - Variable in class jdbm.btree.BPage
-
Index of first used item at the page
- first - Variable in class jdbm.helper.MRU
-
Beginning of linked-list of cache elements.
- flush(long) - Method in interface jdbm.recman.RecordCache
-
Notification to flush content related to a given record.
- flushAll() - Method in interface jdbm.recman.RecordCache
-
Notification to flush data all of records.
- forceClose() - Method in class jdbm.recman.RecordFile
-
Force closing the file and underlying transaction manager.
- forceClose() - Method in class jdbm.recman.TransactionManager
-
Force closing the file without synchronizing pending transaction data.
- fos - Variable in class jdbm.recman.TransactionManager
-
- free(int) - Method in class jdbm.recman.FreeLogicalRowIdPage
-
Frees a slot
- free(int) - Method in class jdbm.recman.FreePhysicalRowIdPage
-
Frees a slot
- free(short, long) - Method in class jdbm.recman.PageManager
-
Frees a page of the indicated type.
- free(Location) - Method in class jdbm.recman.PhysicalRowIdManager
-
- free - Variable in class jdbm.recman.RecordFile
-
The list of free pages
- FREE_PAGE - Static variable in class jdbm.recman.Magic
-
Magics for block types in certain lists.
- FreeLogicalRowIdPage - Class in jdbm.recman
-
Class describing a page that holds logical rowids that were freed.
- FreeLogicalRowIdPage - Class in jdbm.recman
-
Class describing a page that holds logical rowids that were freed.
- FreeLogicalRowIdPage(BlockIo) - Constructor for class jdbm.recman.FreeLogicalRowIdPage
-
Constructs a data page view from the indicated block.
- FreeLogicalRowIdPageManager - Class in jdbm.recman
-
This class manages free Logical rowid pages and provides methods
to free and allocate Logical rowids on a high level.
- FreeLogicalRowIdPageManager - Class in jdbm.recman
-
This class manages free Logical rowid pages and provides methods
to free and allocate Logical rowids on a high level.
- FreeLogicalRowIdPageManager(PageManager) - Constructor for class jdbm.recman.FreeLogicalRowIdPageManager
-
Creates a new instance using the indicated record file and
page manager.
- FREELOGIDS_PAGE - Static variable in class jdbm.recman.Magic
-
- freeman - Variable in class jdbm.recman.LogicalRowIdManager
-
- freePageManager - Variable in class jdbm.recman.PhysicalRowIdManager
-
The FreePage manager
- FreePhysicalRowId - Class in jdbm.recman
-
This class extends the physical rowid with a size value to indicate
the size of a free rowid on the free rowid list.
- FreePhysicalRowId - Class in jdbm.recman
-
This class extends the physical rowid with a size value to indicate
the size of a free rowid on the free rowid list.
- FreePhysicalRowId(BlockIo, short) - Constructor for class jdbm.recman.FreePhysicalRowId
-
Constructs a physical rowid from the indicated data starting at
the indicated position.
- FreePhysicalRowIdPage - Class in jdbm.recman
-
Class describing a page that holds physical rowids that were freed.
- FreePhysicalRowIdPage - Class in jdbm.recman
-
Class describing a page that holds physical rowids that were freed.
- FreePhysicalRowIdPage(BlockIo) - Constructor for class jdbm.recman.FreePhysicalRowIdPage
-
Constructs a data page view from the indicated block.
- FreePhysicalRowIdPageManager - Class in jdbm.recman
-
This class manages free physical rowid pages and provides methods to free
and allocate physical rowids at a high level.
- FreePhysicalRowIdPageManager - Class in jdbm.recman
-
This class manages free physical rowid pages and provides methods to free
and allocate physical rowids at a high level.
- FreePhysicalRowIdPageManager(PageManager) - Constructor for class jdbm.recman.FreePhysicalRowIdPageManager
-
Creates a new instance using the indicated record recordFile and page manager.
- FREEPHYSIDS_PAGE - Static variable in class jdbm.recman.Magic
-
- get(K) - Method in interface jdbm.helper.CachePolicy
-
Obtain the object stored under the key specified.
- get(K, long, Serializer, boolean) - Method in class jdbm.helper.LRUCache
-
Finds and returns the entry corresponding to the given key and version.
- get(K) - Method in class jdbm.helper.MRU
-
Obtain an object in the cache
- get(Object) - Method in class jdbm.helper.SoftCache
-
Gets the object cached under the specified key.
- get(Object) - Method in class jdbm.htree.HashDirectory
-
Returns the value which is associated with the given key.
- get(Object) - Method in class jdbm.htree.HTree
-
Returns the value which is associated with the given key.
- get(int) - Method in class jdbm.recman.FreeLogicalRowIdPage
-
Returns the value of the indicated slot
- get() - Method in class jdbm.recman.FreeLogicalRowIdPageManager
-
Returns a free Logical rowid, or null if nothing was found.
- get(int) - Method in class jdbm.recman.FreePhysicalRowIdPage
-
Returns the value of the indicated slot
- get(int) - Method in class jdbm.recman.FreePhysicalRowIdPageManager
-
Returns a free physical rowid of the indicated size, or null if nothing
was found.
- get(long) - Method in class jdbm.recman.RecordFile
-
Gets a block from the file.
- get(short) - Method in class jdbm.recman.TranslationPage
-
Returns the value of the indicated rowid on the page
- getAvailableSize() - Method in class jdbm.recman.RecordHeader
-
Returns the available size
- getBlock() - Method in class jdbm.recman.Location
-
- getBlock() - Method in class jdbm.recman.PhysicalRowId
-
Returns the block number
- getBlockId() - Method in class jdbm.recman.BlockIo
-
- getBlockId() - Method in class jdbm.recman.PageCursor
-
- getCachePolicy() - Method in class jdbm.recman.CacheRecordManager
-
Get the underlying cache policy
- getComparator() - Method in class jdbm.btree.BTree
-
- getCount() - Method in class jdbm.recman.FreeLogicalRowIdPage
-
- getCount() - Method in class jdbm.recman.FreePhysicalRowIdPage
-
Returns the number of free rowids
- getCurrentSize() - Method in class jdbm.recman.RecordHeader
-
Returns the current size
- getData() - Method in class jdbm.recman.BlockIo
-
- getDataPageView(BlockIo) - Static method in class jdbm.recman.DataPage
-
Factory method to create or return a data page for the indicated block.
- getElement() - Method in class jdbm.helper.ExplicitList.Link
-
- getElementCount() - Method in class jdbm.htree.HashBucket
-
Returns the number of elements contained in this bucket.
- getEndVersion() - Method in class jdbm.helper.LRUCache.CacheEntry
-
- getErrorCode() - Method in enum jdbm.I18n
-
- getException() - Method in exception jdbm.helper.WrappedRuntimeException
-
Returns the exception wrapped by this runtime exception.
- getFileHeader() - Method in class jdbm.recman.PageManager
-
Returns the recordFile header.
- getFileName() - Method in class jdbm.recman.RecordFile
-
- getFirst() - Method in class jdbm.recman.DataPage
-
- getFirst(short) - Method in class jdbm.recman.PageManager
-
Returns the first page on the indicated list.
- getFirstAllocated() - Method in class jdbm.recman.FreeLogicalRowIdPage
-
- getFirstFree() - Method in class jdbm.recman.FreeLogicalRowIdPage
-
Returns first free slot, -1 if no slots are available
- getFirstFree() - Method in class jdbm.recman.FreePhysicalRowIdPage
-
- getFirstLargerThan(int) - Method in class jdbm.recman.FreePhysicalRowIdPage
-
- getFirstOf(int) - Method in class jdbm.recman.FileHeader
-
Returns the first block of the indicated list
- getFreeLogicalRowIdPageView(BlockIo) - Static method in class jdbm.recman.FreeLogicalRowIdPage
-
Factory method to create or return a data page for the indicated block.
- getFreePhysicalRowIdPageView(BlockIo) - Static method in class jdbm.recman.FreePhysicalRowIdPage
-
Factory method to create or return a data page for the indicated block.
- getHashIndex() - Method in class jdbm.helper.LRUCache.CacheEntry
-
- getKey() - Method in class jdbm.helper.CacheEntry
-
- getKey() - Method in class jdbm.helper.LRUCache.CacheEntry
-
- getKey() - Method in class jdbm.helper.SoftCache.Entry
-
Gets the key
- getKey() - Method in class jdbm.helper.Tuple
-
Get the key.
- getKeys() - Method in class jdbm.htree.HashBucket
-
Obtain keys contained in this buckets.
- getLargestKey() - Method in class jdbm.btree.BPage
-
Get largest key under this BPage.
- getLast(short) - Method in class jdbm.recman.PageManager
-
Returns the last page on the indicated list.
- getLastOf(int) - Method in class jdbm.recman.FileHeader
-
Returns the last block of the indicated list
- getLock() - Method in class jdbm.helper.LRUCache.LRU
-
- getLock() - Method in class jdbm.recman.BaseRecordManager.LockElement
-
- getLru() - Method in class jdbm.helper.LRUCache.CacheEntry
-
- getLruLink() - Method in class jdbm.helper.LRUCache.CacheEntry
-
- getMagic() - Method in class jdbm.recman.PageHeader
-
- getMetaRoot() - Method in class jdbm.btree.BTree
-
Returns the meta root that can be used to fetch the root page
- getNameDirectory() - Method in class jdbm.recman.BaseRecordManager
-
Load name directory
- getNamedObject(String) - Method in class jdbm.recman.BaseRecordManager
-
Obtain the record id of a named object.
- getNamedObject(String) - Method in class jdbm.recman.CacheRecordManager
-
Obtain the record id of a named object.
- getNamedObject(String) - Method in class jdbm.recman.SnapshotRecordManager
-
Obtain the record id of a named object.
- getNamedObject(String) - Method in interface jdbm.RecordManager
-
Obtain the record id of a named object.
- getNestedException() - Method in exception jdbm.helper.CacheEvictionException
-
- getNewBlockIo(long) - Method in class jdbm.recman.RecordFile
-
Returns a new BlockIo.
- getNext(Tuple<K, V>) - Method in class jdbm.btree.BPage.Browser
-
Get the next Tuple in the current BTree.
- getNext(Tuple<K, V>) - Method in class jdbm.btree.BTree.EmptyBrowser
-
- getNext() - Method in class jdbm.helper.CacheEntry
-
- getNext() - Method in class jdbm.helper.ExplicitList.Link
-
- getNext(Tuple<K, V>) - Method in class jdbm.helper.TupleBrowser
-
Get the next tuple.
- getNext() - Method in class jdbm.recman.PageHeader
-
- getNext(long) - Method in class jdbm.recman.PageManager
-
Returns the page following the indicated block
- getNoConflictingIOCondition() - Method in class jdbm.recman.BaseRecordManager.LockElement
-
- getNumActions() - Method in class jdbm.helper.ActionVersioning.Version
-
- getOffset() - Method in class jdbm.recman.Location
-
Returns the offset within the block of the location
- getOffset() - Method in class jdbm.recman.PhysicalRowId
-
Returns the offset
- getPrev() - Method in class jdbm.helper.ExplicitList.Link
-
- getPrev() - Method in class jdbm.recman.PageHeader
-
- getPrev(long) - Method in class jdbm.recman.PageManager
-
Returns the page before the indicated block
- getPrevious(Tuple<K, V>) - Method in class jdbm.btree.BPage.Browser
-
- getPrevious(Tuple<K, V>) - Method in class jdbm.btree.BTree.EmptyBrowser
-
- getPrevious() - Method in class jdbm.helper.CacheEntry
-
- getPrevious(Tuple<K, V>) - Method in class jdbm.helper.TupleBrowser
-
Get the previous tuple.
- getRecid() - Method in class jdbm.htree.HashDirectory
-
Get the record identifier used to load this hashtable.
- getRecid() - Method in class jdbm.htree.HTree
-
Get the record identifier used to load this hashtable.
- getRecordFile() - Method in class jdbm.recman.PageManager
-
- getRecordId() - Method in class jdbm.btree.BPage
-
- getRecordId() - Method in class jdbm.btree.BTree
-
Return the persistent record identifier of the BTree.
- getRecordManager() - Method in class jdbm.recman.CacheRecordManager
-
Get the underlying Record Manager.
- getRecordManager() - Method in class jdbm.recman.SnapshotRecordManager
-
Get the underlying Record Manager.
- getRoot() - Method in class jdbm.btree.BTree
-
- getRoot(BTree<K, V>.MetaRoot) - Method in class jdbm.btree.BTree
-
- getRoot(int) - Method in class jdbm.recman.BaseRecordManager
-
Returns the indicated root rowid.
- getRoot(int) - Method in class jdbm.recman.CacheRecordManager
-
Returns the indicated root rowid.
- getRoot(int) - Method in class jdbm.recman.FileHeader
-
Returns the indicated root rowid.
- getRoot(int) - Method in class jdbm.recman.SnapshotRecordManager
-
Returns the indicated root rowid.
- getRoot(int) - Method in interface jdbm.RecordManager
-
Returns the indicated root rowid.
- getRootCount() - Method in class jdbm.recman.BaseRecordManager
-
Returns the number of slots available for "root" rowids.
- getRootCount() - Method in class jdbm.recman.CacheRecordManager
-
Returns the number of slots available for "root" rowids.
- getRootCount() - Method in class jdbm.recman.SnapshotRecordManager
-
Returns the number of slots available for "root" rowids.
- getRootCount() - Method in interface jdbm.RecordManager
-
Returns the number of slots available for "root" rowids.
- getSize() - Method in class jdbm.recman.FreePhysicalRowId
-
Returns the size
- getStartVersion() - Method in class jdbm.helper.LRUCache.CacheEntry
-
- getState() - Method in class jdbm.helper.LRUCache.CacheEntry
-
- getStateCondition(Lock) - Method in class jdbm.helper.LRUCache.CacheEntry
-
- getTransactionManager() - Method in class jdbm.recman.BaseRecordManager
-
Get the underlying Transaction Manager
- getTranslationPageView(BlockIo) - Static method in class jdbm.recman.TranslationPage
-
Factory method to create or return a data page for the indicated block.
- getTxnMgr() - Method in class jdbm.recman.RecordFile
-
- getValue() - Method in class jdbm.helper.CacheEntry
-
- getValue() - Method in class jdbm.helper.LRUCache.CacheEntry
-
- getValue() - Method in class jdbm.helper.SoftCache.Entry
-
Gets the value
- getValue() - Method in class jdbm.helper.Tuple
-
Get the value.
- getValue(Object) - Method in class jdbm.htree.HashBucket
-
Returns the value associated with a given key.
- getValues() - Method in class jdbm.htree.HashBucket
-
Obtain values contained in this buckets.
- getVersion() - Method in class jdbm.helper.ActionContext
-
- getVersion() - Method in class jdbm.helper.ActionVersioning.Version
-
- getVersionsLink() - Method in class jdbm.helper.ActionVersioning.Version
-
- getVersionsLink() - Method in class jdbm.helper.LRUCache.CacheEntry
-
- getView() - Method in class jdbm.recman.BlockIo
-
- getView(BlockIo) - Static method in class jdbm.recman.PageHeader
-
Factory method to create or return a page header for the indicated block.
- getWhoStarted() - Method in class jdbm.helper.ActionContext
-
- hash(K) - Method in class jdbm.helper.LRUCache
-
- HashBucket - Class in jdbm.htree
-
A bucket is a placeholder for multiple (key, value) pairs.
- HashBucket - Class in jdbm.htree
-
A bucket is a placeholder for multiple (key, value) pairs.
- HashBucket() - Constructor for class jdbm.htree.HashBucket
-
Public constructor for serialization.
- HashBucket(int) - Constructor for class jdbm.htree.HashBucket
-
Construct a bucket with a given depth level.
- hashCode(Object) - Method in class jdbm.htree.HashDirectory
-
Calculates the hashcode of a key, based on the current directory
depth.
- hashCode() - Method in class jdbm.recman.Location
- HashDirectory - Class in jdbm.htree
-
Hashtable directory page.
- HashDirectory - Class in jdbm.htree
-
Hashtable directory page.
- HashDirectory() - Constructor for class jdbm.htree.HashDirectory
-
Public constructor used by serialization
- HashDirectory(byte) - Constructor for class jdbm.htree.HashDirectory
-
Construct a HashDirectory
- HashDirectory.HDIterator - Class in jdbm.htree
-
Utility class to enumerate keys/values in a HTree
- hashIndex - Variable in class jdbm.helper.LRUCache.CacheEntry
-
hash index of the key
- hashMask() - Method in class jdbm.htree.HashDirectory
-
Calculates the hashmask of this directory.
- HashNode - Class in jdbm.htree
-
Abstract class for Hashtable directory nodes
- HashNode - Class in jdbm.htree
-
Abstract class for Hashtable directory nodes
- HashNode() - Constructor for class jdbm.htree.HashNode
-
- hasMoreElements() - Method in class jdbm.helper.MRUEnumeration
-
- hasRoom() - Method in class jdbm.htree.HashBucket
-
Returns true if bucket can accept at least one more element.
- HDIterator(boolean) - Constructor for class jdbm.htree.HashDirectory.HDIterator
-
Construct an iterator on this directory.
- head - Variable in class jdbm.helper.ExplicitList
-
- header - Variable in class jdbm.recman.PageManager
-
header data
- headerBuf - Variable in class jdbm.recman.PageManager
-
recordFile header containing block
- HTree - Class in jdbm.htree
-
Persistent hashtable implementation for PageManager.
- HTree - Class in jdbm.htree
-
Persistent hashtable implementation for PageManager.
- HTree(HashDirectory) - Constructor for class jdbm.htree.HTree
-
Private constructor
- I18n - Enum in jdbm
-
Provides i18n handling of error codes.
- I18n - Class in jdbm
-
Provides i18n handling of error codes.
- I18n(String) - Constructor for enum jdbm.I18n
-
Creates a new instance of I18n.
- incrementTransactionCount() - Method in class jdbm.recman.BlockIo
-
Increments transaction count for this block, to signal that this
block is in the log but not yet in the data recordFile.
- index - Variable in class jdbm.btree.BPage.Browser
-
Current index in the page.
- INITIAL_CAPACITY - Static variable in class jdbm.helper.SoftCache
-
- initialize(K) - Method in class jdbm.helper.LRUCache.CacheEntry
-
inits the fields..used after a cache entry is replaced
- insert(int, K, V, boolean) - Method in class jdbm.btree.BPage
-
Insert the given key and value.
- insert(K, V, boolean) - Method in class jdbm.btree.BTree
-
Insert an entry in the BTree.
- insert(Object) - Method in class jdbm.recman.BaseRecordManager
-
Inserts a new record using standard java object serialization.
- insert(Object, Serializer) - Method in class jdbm.recman.BaseRecordManager
-
Inserts a new record using a custom serializer.
- insert(Object) - Method in class jdbm.recman.CacheRecordManager
-
Inserts a new record using a custom serializer.
- insert(Object, Serializer) - Method in class jdbm.recman.CacheRecordManager
-
Inserts a new record using a custom serializer.
- insert(Location) - Method in class jdbm.recman.LogicalRowIdManager
-
Creates a new logical rowid pointing to the indicated physical
id
- insert(byte[], int, int) - Method in class jdbm.recman.PhysicalRowIdManager
-
Inserts a new record.
- insert(Object) - Method in class jdbm.recman.SnapshotRecordManager
-
Inserts a new record using a custom serializer.
- insert(Object, Serializer) - Method in class jdbm.recman.SnapshotRecordManager
-
Inserts a new record using a custom serializer.
- insert(Object) - Method in interface jdbm.RecordManager
-
Inserts a new record using standard java object serialization.
- insert(Object, Serializer) - Method in interface jdbm.RecordManager
-
Inserts a new record using a custom serializer.
- insertChild(BPage<K, V>, int, K, long) - Method in class jdbm.btree.BPage
-
Insert child at given position.
- insertEntry(BPage<K, V>, int, K, V) - Method in class jdbm.btree.BPage
-
Insert entry at given position.
- InsertResult() - Constructor for class jdbm.btree.BPage.InsertResult
-
- INSTANCE - Static variable in class jdbm.helper.ByteArraySerializer
-
Static instance.
- INSTANCE - Static variable in class jdbm.helper.DefaultSerializer
-
- INSTANCE - Static variable in class jdbm.helper.IntegerSerializer
-
- INSTANCE - Static variable in class jdbm.helper.LongSerializer
-
- IntegerComparator - Class in jdbm.helper
-
Comparator for Integer objects.
- IntegerComparator - Class in jdbm.helper
-
Comparator for Integer objects.
- IntegerComparator() - Constructor for class jdbm.helper.IntegerComparator
-
- IntegerSerializer - Class in jdbm.helper
-
Optimized serializer for integers.
- IntegerSerializer - Class in jdbm.helper
-
Optimized serializer for integers.
- IntegerSerializer() - Constructor for class jdbm.helper.IntegerSerializer
-
Construct an IntegerSerializer.
- internal - Variable in class jdbm.helper.SoftCache
-
- inTxn - Variable in class jdbm.recman.RecordFile
-
The map of page in a transaction
- inUse - Variable in class jdbm.recman.RecordFile
-
The map of pages being currently used
- invalidate(long) - Method in interface jdbm.recman.RecordCache
-
Notification to invalidate content related to given record.
- invalidateAll() - Method in interface jdbm.recman.RecordCache
-
Notification to invalidate content of all records.
- IOType() - Constructor for enum jdbm.recman.BaseRecordManager.IOType
-
- isActionCapable - Variable in class jdbm.btree.BTree
-
TRUE if underlying record manager is snapshot capable
- isActive() - Method in class jdbm.helper.ActionContext
-
- isAllocated(int) - Method in class jdbm.recman.FreeLogicalRowIdPage
-
Returns true if a slot is allocated
- isAllocated(int) - Method in class jdbm.recman.FreePhysicalRowIdPage
-
Returns true if a slot is allocated
- isCurrentVersion() - Method in class jdbm.helper.LRUCache.CacheEntry
-
Check if entry is the most recent version for its key
- isDirty() - Method in class jdbm.recman.BlockIo
-
Returns true if the dirty flag is set.
- isDirty - Variable in class jdbm.recman.CacheRecordManager.CacheEntry
-
- isEmpty() - Method in class jdbm.btree.BPage
-
Return true if BPage is empty.
- isEmpty() - Method in class jdbm.htree.HashDirectory
-
Returns whether or not this directory is empty.
- isEntryFreeable() - Method in class jdbm.helper.LRUCache.CacheEntry
-
- isFree(int) - Method in class jdbm.recman.FreeLogicalRowIdPage
-
Returns true if a slot is free
- isFree(int) - Method in class jdbm.recman.FreePhysicalRowIdPage
-
Returns true if a slot is free
- isFull() - Method in class jdbm.btree.BPage
-
Return true if BPage is full.
- isInTransaction() - Method in class jdbm.recman.BlockIo
-
Returns true if the block is still dirty with respect to the
transaction log.
- isLeaf - Variable in class jdbm.btree.BPage
-
Flag indicating if this is a leaf BPage.
- isLeaf() - Method in class jdbm.htree.HashBucket
-
Returns whether or not this bucket is a "leaf bucket".
- isLinked() - Method in class jdbm.helper.ExplicitList.Link
-
- isNeverReplace() - Method in class jdbm.helper.LRUCache.CacheEntry
-
- isReadOnlyAction() - Method in class jdbm.helper.ActionContext
-
- isUnLinked() - Method in class jdbm.helper.ExplicitList.Link
-
- isWriteAction() - Method in class jdbm.helper.ActionContext
-
- IterationException - Exception in jdbm.helper
-
Iteration exception.
- IterationException - Class in jdbm.helper
-
Iteration exception.
- IterationException(String, Exception) - Constructor for exception jdbm.helper.IterationException
-
Construct a new iteration exception wrapping an underlying exception
and providing a message.
- IterationException(String) - Constructor for exception jdbm.helper.IterationException
-
Construct a new iteration exception with a message.
- IterationException(Exception) - Constructor for exception jdbm.helper.IterationException
-
Construct a new iteration exception wrapping an underlying exception.
- last - Variable in class jdbm.helper.MRU
-
End of linked-list of cache elements.
- latches - Variable in class jdbm.helper.LRUCache
-
Array of latches protecting buckets
- Link(V) - Constructor for class jdbm.helper.ExplicitList.Link
-
- listeners - Variable in class jdbm.helper.MRU
-
Cache eviction listeners
- listLock - Variable in class jdbm.helper.ActionVersioning
-
Lock to protect the list
- listSize - Variable in class jdbm.helper.ExplicitList
-
- load(RecordManager, long) - Method in class jdbm.btree.BTree
-
Load a persistent BTree.
- load(RecordManager, long) - Static method in class jdbm.htree.HTree
-
Load a persistent hashtable
- loadBPage(long) - Method in class jdbm.btree.BPage
-
Load the BPage at the given recordId.
- Location - Class in jdbm.recman
-
This class represents a location within a file.
- Location - Class in jdbm.recman
-
This class represents a location within a file.
- Location(long, short) - Constructor for class jdbm.recman.Location
-
Creates a location from a (block, offset) tuple.
- Location(long) - Constructor for class jdbm.recman.Location
-
Creates a location from a combined block/offset long, as used in the
external representation of logical rowids.
- Location(PhysicalRowId) - Constructor for class jdbm.recman.Location
-
Creates a location based on the data of the physical rowid.
- lock - Variable in class jdbm.helper.LRUCache.LRU
-
Lock protecting the list
- lock - Variable in class jdbm.recman.BaseRecordManager.LockElement
-
- LockElement() - Constructor for class jdbm.recman.BaseRecordManager.LockElement
-
- lockElements - Variable in class jdbm.recman.BaseRecordManager
-
Map used to synchronize reads and writes on the same logical
recid.
- LOG - Static variable in class jdbm.helper.LRUCache
-
A logger for this class
- LOG - Static variable in class jdbm.recman.BaseRecordManager
-
A logger for this class
- LOG_BUCKET_PER_LATCH - Static variable in class jdbm.helper.LRUCache
-
Log of number of hash buckets each latch protects
- LOGFILE_HEADER - Static variable in class jdbm.recman.Magic
-
Magic for transaction file
- LogicalRowIdManager - Class in jdbm.recman
-
This class manages the linked lists of logical rowid pages.
- LogicalRowIdManager - Class in jdbm.recman
-
This class manages the linked lists of logical rowid pages.
- LogicalRowIdManager(PageManager) - Constructor for class jdbm.recman.LogicalRowIdManager
-
Creates a log rowid manager using the indicated record recordFile and
page manager
- logMgr - Variable in class jdbm.recman.BaseRecordManager
-
Logical to Physical row identifier manager.
- LongComparator - Class in jdbm.helper
-
Comparator for java.lang.Long objects.
- LongComparator - Class in jdbm.helper
-
Comparator for java.lang.Long objects.
- LongComparator() - Constructor for class jdbm.helper.LongComparator
-
- LongSerializer - Class in jdbm.helper
-
Optimized serializer for long integers.
- LongSerializer - Class in jdbm.helper
-
Optimized serializer for long integers.
- LongSerializer() - Constructor for class jdbm.helper.LongSerializer
-
Construct a LongSerializer.
- LRU() - Constructor for class jdbm.helper.LRUCache.LRU
-
- LRUCache<K,V> - Class in jdbm.helper
-
This class implements a versioned lru cache.
- LRUCache(EntryIO<K, V>, int) - Constructor for class jdbm.helper.LRUCache
-
- LRUCache.CacheEntry - Class in jdbm.helper
-
- LRUCache.EntryState - Enum in jdbm.helper
-
- LRUCache.LRU - Class in jdbm.helper
-
- lruid - Variable in class jdbm.helper.LRUCache.CacheEntry
-
id of lru this cache entry lives on
- lruLink - Variable in class jdbm.helper.LRUCache.CacheEntry
-
Used to put on lru list
- lruRandomizer - Variable in class jdbm.helper.LRUCache
-
Random number generator used for randomizing access to LRUS
- lrus - Variable in class jdbm.helper.LRUCache
-
lru list
- Magic - Class in jdbm.recman
-
This interface contains magic cookies.
- Magic - Class in jdbm.recman
-
This interface contains magic cookies.
- Magic() - Constructor for class jdbm.recman.Magic
-
Ensures no construction of this class, also ensures there is no need for final keyword above
(Implicit super constructor is not visible for default constructor),
but is still self documenting.
- magicOk() - Method in class jdbm.recman.PageHeader
-
Returns true if the magic corresponds with the fileHeader magic.
- main(String[]) - Static method in class jdbm.helper.Conversion
-
Test static methods
- makeLogName() - Method in class jdbm.recman.TransactionManager
-
Builds logfile name
- map - Variable in class jdbm.helper.MRU
-
Cached object Map
- map - Variable in class jdbm.helper.SoftCache
-
- max - Variable in class jdbm.helper.MRU
-
Maximum number of objects in the cache.
- MAX_BLOCKS - Static variable in class jdbm.recman.Magic
-
Maximum number of blocks in a file, leaving room for a 16 bit
offset encoded within a long.
- MAX_CHILDREN - Static variable in class jdbm.htree.HashDirectory
-
Maximum number of children in a directory.
- MAX_DEPTH - Static variable in class jdbm.htree.HashDirectory
-
Maximum number of levels (zero-based)
(4 * 8 bits = 32 bits, which is the size of an "int", and as
you know, hashcodes in Java are "ints")
- MAX_WRITE_SLEEP_TIME - Static variable in class jdbm.helper.LRUCache
-
Max sleep time(in ms) for writes in case of cache eviction failure
- maxEntries - Variable in class jdbm.helper.LRUCache
-
maximum number of entries
- metaRoot - Variable in class jdbm.btree.BTree
-
Meta root used to access versions of Btree root
- MetaRoot() - Constructor for class jdbm.btree.BTree.MetaRoot
-
- MIN_ENTRIES - Static variable in class jdbm.helper.LRUCache
-
Min number of entries
- minReadVersion - Variable in class jdbm.helper.LRUCache
-
minimum version cache has to satisfy during reads
- mostRecentVersions - Variable in class jdbm.helper.LRUCache.LRU
-
List of entries representing most recent versions
- moveToTail(LRUCache<K, V>.CacheEntry) - Method in class jdbm.helper.LRUCache.LRU
-
Moves the entry to the cold end of the lru.
- MRU<K,V> - Class in jdbm.helper
-
MRU - Most Recently Used cache policy.
- MRU - Class in jdbm.helper
-
MRU - Most Recently Used cache policy.
- MRU(int) - Constructor for class jdbm.helper.MRU
-
Construct an MRU with a given maximum number of objects.
- MRUEnumeration<V> - Class in jdbm.helper
-
Enumeration wrapper to return actual user objects instead of
CacheEntries.
- MRUEnumeration - Class in jdbm.helper
-
Enumeration wrapper to return actual user objects instead of
CacheEntries.
- MRUEnumeration(Iterator<CacheEntry>) - Constructor for class jdbm.helper.MRUEnumeration
-
- msg(String, Object...) - Static method in enum jdbm.I18n
-
Translate a message with argument(s)
- msgBundle - Static variable in enum jdbm.I18n
-
- O_AVAILABLESIZE - Static variable in class jdbm.recman.RecordHeader
-
- O_BLOCK - Static variable in class jdbm.recman.PhysicalRowId
-
- O_COUNT - Static variable in class jdbm.recman.FreeLogicalRowIdPage
-
The offset for the number of free pages
- O_COUNT - Static variable in class jdbm.recman.FreePhysicalRowIdPage
-
- O_CURRENTSIZE - Static variable in class jdbm.recman.RecordHeader
-
- O_DATA - Static variable in class jdbm.recman.DataPage
-
start of the data in this block: 20 byte offset
- O_FIRST - Static variable in class jdbm.recman.DataPage
-
first short in the file after the page header info: 18 byte offset
- O_FREE - Static variable in class jdbm.recman.FreeLogicalRowIdPage
-
Offset of the number of free row Ids
- O_FREE - Static variable in class jdbm.recman.FreePhysicalRowIdPage
-
- O_LISTS - Static variable in class jdbm.recman.FileHeader
-
Position of the Lists in the blockIo
- O_MAGIC - Static variable in class jdbm.recman.FileHeader
-
Position of the Magic number for FileHeader
- O_MAGIC - Static variable in class jdbm.recman.PageHeader
-
the page (BlockIo's type code) short magic code
- O_NEXT - Static variable in class jdbm.recman.PageHeader
-
the long block id of the next block in the block list
- O_OFFSET - Static variable in class jdbm.recman.PhysicalRowId
-
- O_PREV - Static variable in class jdbm.recman.PageHeader
-
the long block id of the previous block in the block list
- O_ROOTS - Static variable in class jdbm.recman.FileHeader
-
Position of the ROOTs in the blockIo
- O_SIZE - Static variable in class jdbm.recman.FreePhysicalRowId
-
- O_TRANS - Static variable in class jdbm.recman.TranslationPage
-
Offset of the PageHeader
- obj - Variable in class jdbm.recman.CacheRecordManager.CacheEntry
-
- ObjectBAComparator - Class in jdbm.helper
-
Comparator for objects which have been serialized into byte arrays.
- ObjectBAComparator - Class in jdbm.helper
-
Comparator for objects which have been serialized into byte arrays.
- ObjectBAComparator(Comparator) - Constructor for class jdbm.helper.ObjectBAComparator
-
Construct an ObjectByteArrayComparator which wraps an Object Comparator.
- offset - Variable in class jdbm.recman.Location
-
The offset within this block
- offsetOfFirst(int) - Method in class jdbm.recman.FileHeader
-
Returns the offset of the "first" block of the indicated list
- offsetOfLast(int) - Method in class jdbm.recman.FileHeader
-
Returns the offset of the "last" block of the indicated list
- offsetOfRoot(int) - Method in class jdbm.recman.FileHeader
-
Returns the offset of the indicated root
- oos - Variable in class jdbm.recman.TransactionManager
-
- open() - Method in class jdbm.recman.TransactionManager
-
Opens the log file
- outstandingBrowsers - Static variable in class jdbm.btree.BPage
-
- overflow - Variable in class jdbm.btree.BPage.InsertResult
-
Overflow page.
- OVERFLOW_SIZE - Static variable in class jdbm.htree.HashBucket
-
The maximum number of elements (key, value) a non-leaf bucket
can contain.
- owner - Variable in class jdbm.recman.TransactionManager
-
- pack2(byte[], int, int) - Static method in class jdbm.helper.Conversion
-
- pack4(byte[], int, int) - Static method in class jdbm.helper.Conversion
-
- pack8(byte[], int, long) - Static method in class jdbm.helper.Conversion
-
- page - Variable in class jdbm.btree.BPage.Browser
-
Current page.
- PageCursor - Class in jdbm.recman
-
This class provides a cursor that can follow lists of pages bi-directionally.
- PageCursor - Class in jdbm.recman
-
This class provides a cursor that can follow lists of pages bi-directionally.
- PageCursor(PageManager, long) - Constructor for class jdbm.recman.PageCursor
-
Constructs a page cursor that starts at the indicated block.
- PageCursor(PageManager, short) - Constructor for class jdbm.recman.PageCursor
-
Constructs a page cursor that starts at the first block of the
indicated list.
- PageHeader - Class in jdbm.recman
-
This class represents a page header.
- PageHeader - Class in jdbm.recman
-
This class represents a page header.
- PageHeader(BlockIo) - Constructor for class jdbm.recman.PageHeader
-
Constructs a PageHeader object from a block
- PageHeader(BlockIo, short) - Constructor for class jdbm.recman.PageHeader
-
Constructs a new PageHeader of the indicated type.
- pageManager - Variable in class jdbm.recman.FreeLogicalRowIdPageManager
-
our page manager
- pageManager - Variable in class jdbm.recman.FreePhysicalRowIdPageManager
-
- pageManager - Variable in class jdbm.recman.LogicalRowIdManager
-
- pageManager - Variable in class jdbm.recman.PageCursor
-
The PageManager
- PageManager - Class in jdbm.recman
-
This class manages the linked lists of pages that make up a recordFile.
- PageManager - Class in jdbm.recman
-
This class manages the linked lists of pages that make up a recordFile.
- PageManager(RecordFile) - Constructor for class jdbm.recman.PageManager
-
Creates a new page manager using the indicated record recordFile.
- pageManager - Variable in class jdbm.recman.PhysicalRowIdManager
-
The page manager
- pageMgr - Variable in class jdbm.recman.BaseRecordManager
-
Page manager.
- pageNewCopy - Variable in class jdbm.btree.BPage.InsertResult
-
New version of the page doing the insert
- pageNewCopy - Variable in class jdbm.btree.BPage.RemoveResult
-
New version of the page doing the remove
- pageSize - Variable in class jdbm.btree.BTree
-
Number of entries in each BPage.
- paranoiaMagicOk() - Method in class jdbm.recman.PageHeader
-
For paranoia mode
- PhysicalRowId - Class in jdbm.recman
-
A physical rowid is nothing else than a pointer to a physical location
in a file - a (block, offset) tuple.
- PhysicalRowId - Class in jdbm.recman
-
A physical rowid is nothing else than a pointer to a physical location
in a file - a (block, offset) tuple.
- PhysicalRowId(BlockIo, short) - Constructor for class jdbm.recman.PhysicalRowId
-
Constructs a physical rowid from the indicated data starting at the
indicated position.
- PhysicalRowIdManager - Class in jdbm.recman
-
This class manages physical row ids, and their data.
- PhysicalRowIdManager - Class in jdbm.recman
-
This class manages physical row ids, and their data.
- PhysicalRowIdManager(PageManager) - Constructor for class jdbm.recman.PhysicalRowIdManager
-
Creates a new rowid manager using the indicated record file.
- physMgr - Variable in class jdbm.recman.BaseRecordManager
-
Physical row identifier manager.
- pos - Variable in class jdbm.recman.PhysicalRowId
-
- pos - Variable in class jdbm.recman.RecordHeader
-
- prepareNext() - Method in class jdbm.htree.HashDirectory.HDIterator
-
Prepare internal state so we can answer hasMoreElements
Actually, this code prepares an Enumeration on the next
Bucket to enumerate.
- prev - Variable in class jdbm.helper.ExplicitList.Link
-
- prev() - Method in class jdbm.recman.PageCursor
-
- previous - Variable in class jdbm.btree.BPage
-
Previous leaf BPage (only if this BPage is a leaf)
- previous - Variable in class jdbm.helper.CacheEntry
-
- printStackTrace() - Method in exception jdbm.helper.WrappedRuntimeException
-
- printStackTrace(PrintStream) - Method in exception jdbm.helper.WrappedRuntimeException
-
- printStackTrace(PrintWriter) - Method in exception jdbm.helper.WrappedRuntimeException
-
- Provider - Class in jdbm.recman
-
Provider of the default RecordManager implementation.
- Provider - Class in jdbm.recman
-
Provider of the default RecordManager implementation.
- Provider() - Constructor for class jdbm.recman.Provider
-
- PROVIDER_FACTORY - Static variable in class jdbm.RecordManagerOptions
-
Option to create a thread-safe record manager.
- purgeEntry() - Method in class jdbm.helper.MRU
-
Purge least recently used object from the cache
- put(K, V) - Method in interface jdbm.helper.CachePolicy
-
Place an object in the cache.
- put(K, V, long, Serializer, boolean) - Method in class jdbm.helper.LRUCache
-
Updates the entry identified with the key with the new value.
- put(K, V) - Method in class jdbm.helper.MRU
-
Place an object in the cache.
- put(Object, Object) - Method in class jdbm.helper.SoftCache
-
Adds the specified value to the cache under the specified key.
- put(Object, Object) - Method in class jdbm.htree.HashDirectory
-
Associates the specified value with the specified key.
- put(Object, Object) - Method in class jdbm.htree.HTree
-
Associates the specified value with the specified key.
- put(Location) - Method in class jdbm.recman.FreeLogicalRowIdPageManager
-
Puts the indicated rowid on the free list
- put(Location, int) - Method in class jdbm.recman.FreePhysicalRowIdPageManager
-
Puts the indicated rowid on the free list.
- putNewVersion(LRUCache<K, V>.CacheEntry, K, V, long, int, Lock, Serializer, boolean) - Method in class jdbm.helper.LRUCache
-
Creates a new version of the given entry with the given new version.
- read(K, Serializer) - Method in interface jdbm.helper.EntryIO
-
- read(RandomAccessFile, long, byte[], int) - Static method in class jdbm.recman.RecordFile
-
Utility method: Read a block from a RandomAccessFile
- read(Long, Serializer) - Method in class jdbm.recman.SnapshotRecordManager.RecordIO
-
- readByte(int) - Method in class jdbm.recman.BlockIo
-
Reads a byte from the indicated position
- readByteArray(ObjectInput) - Static method in class jdbm.btree.BPage
-
- readers - Variable in class jdbm.recman.BaseRecordManager.LockElement
-
- readExternal(ObjectInput) - Method in class jdbm.btree.BTree
-
Implement Externalizable interface.
- readExternal(ObjectInput) - Method in class jdbm.htree.HashBucket
-
Implement Externalizable interface.
- readExternal(ObjectInput) - Method in class jdbm.htree.HashDirectory
-
Implement Externalizable interface
- readExternal(ObjectInput) - Method in class jdbm.recman.BlockIo
-
implement externalizable interface
- readInt(int) - Method in class jdbm.recman.BlockIo
-
Reads an int from the indicated position
- readLong(int) - Method in class jdbm.recman.BlockIo
-
Reads a long from the indicated position
- readOnly - Variable in class jdbm.helper.ActionContext
-
track whether action is read only
- readReference - Variable in class jdbm.helper.ActionVersioning
-
Current read version reference
- readShort(int) - Method in class jdbm.recman.BlockIo
-
Reads a short from the indicated position
- recid - Variable in class jdbm.recman.CacheRecordManager.CacheEntry
-
- RecordCache - Interface in jdbm.recman
-
This interface is used for synchronization.
- RecordCache - Class in jdbm.recman
-
This interface is used for synchronization.
- recordFile - Variable in class jdbm.recman.BaseRecordManager
-
Underlying record recordFile.
- recordFile - Variable in class jdbm.recman.FreeLogicalRowIdPageManager
-
our record recordFile
- recordFile - Variable in class jdbm.recman.FreePhysicalRowIdPageManager
-
- recordFile - Variable in class jdbm.recman.LogicalRowIdManager
-
- recordFile - Variable in class jdbm.recman.PageManager
-
our record recordFile
- RecordFile - Class in jdbm.recman
-
This class represents a random access file as a set of fixed size
records.
- RecordFile - Class in jdbm.recman
-
This class represents a random access file as a set of fixed size
records.
- RecordFile(String) - Constructor for class jdbm.recman.RecordFile
-
Creates a new object on the indicated filename.
- RecordHeader - Class in jdbm.recman
-
The data that comes at the start of a record of data.
- RecordHeader - Class in jdbm.recman
-
The data that comes at the start of a record of data.
- RecordHeader(BlockIo, short) - Constructor for class jdbm.recman.RecordHeader
-
Constructs a record header from the indicated data starting at the
indicated position.
- recordId - Variable in class jdbm.btree.BPage
-
This BPage's record ID in the PageManager.
- recordId - Variable in class jdbm.btree.BTree
-
This BTree's record ID in the PageManager.
- recordIO - Variable in class jdbm.recman.SnapshotRecordManager
-
Passed to cache as IO callback
- RecordIO() - Constructor for class jdbm.recman.SnapshotRecordManager.RecordIO
-
- recordManager - Variable in class jdbm.btree.BTree
-
Page manager used to persist changes in BPages
- recordManager - Variable in class jdbm.recman.CacheRecordManager
-
Wrapped RecordManager
- recordManager - Variable in class jdbm.recman.SnapshotRecordManager
-
Wrapped RecordManager
- RecordManager - Interface in jdbm
-
An interface to manages records, which are uninterpreted blobs of data.
- RecordManager - Class in jdbm
-
An interface to manages records, which are uninterpreted blobs of data.
- RecordManagerFactory - Class in jdbm
-
This is the factory class to use for instantiating
RecordManager
instances.
- RecordManagerFactory - Class in jdbm
-
This is the factory class to use for instantiating
RecordManager
instances.
- RecordManagerFactory() - Constructor for class jdbm.RecordManagerFactory
-
- RecordManagerOptions - Class in jdbm
-
Standard options for RecordManager.
- RecordManagerOptions - Class in jdbm
-
Standard options for RecordManager.
- RecordManagerOptions() - Constructor for class jdbm.RecordManagerOptions
-
Ensures no construction of this class, also ensures there is no need for final keyword above
(Implicit super constructor is not visible for default constructor),
but is still self documenting.
- RecordManagerProvider - Interface in jdbm
-
Provider of RecordManager implementation.
- RecordManagerProvider - Class in jdbm
-
Provider of RecordManager implementation.
- recover() - Method in class jdbm.recman.TransactionManager
-
Startup recovery on all files
- release(long, boolean) - Method in class jdbm.recman.RecordFile
-
Releases a block.
- release(BlockIo) - Method in class jdbm.recman.RecordFile
-
Releases a block.
- releaseFromTransaction(BlockIo, boolean) - Method in class jdbm.recman.RecordFile
-
Releases a node from the transaction list, if it was sitting there.
- remove(int, K) - Method in class jdbm.btree.BPage
-
Remove the entry associated with the given key.
- remove(K) - Method in class jdbm.btree.BTree
-
Remove an entry with the given key from the BTree.
- remove(K) - Method in interface jdbm.helper.CachePolicy
-
Remove the object stored under the key specified.
- remove() - Method in class jdbm.helper.ExplicitList.Link
-
- remove(ExplicitList.Link<T>) - Method in class jdbm.helper.ExplicitList
-
- remove(K) - Method in class jdbm.helper.MRU
-
Remove an object from the cache
- remove(Object) - Method in class jdbm.helper.SoftCache
-
Removes any object stored under the key specified.
- remove(Object) - Method in class jdbm.htree.HashDirectory
-
Remove the value which is associated with the given key.
- remove(Object) - Method in class jdbm.htree.HTree
-
Remove the value which is associated with the given key.
- removeAll() - Method in interface jdbm.helper.CachePolicy
-
Remove all objects from the cache.
- removeAll() - Method in class jdbm.helper.MRU
-
Remove all objects from the cache
- removeAll() - Method in class jdbm.helper.SoftCache
-
Removes all objects in this (L2) and its internal (L1) cache.
- removeClearedEntries() - Method in class jdbm.helper.SoftCache
-
Cleans the mapping structure of any obsolete entries.
- removeElement(Object) - Method in class jdbm.htree.HashBucket
-
Remove an element, given a specific key.
- removeEntry(BPage<K, V>, int) - Method in class jdbm.btree.BPage
-
Remove entry at given position.
- removeEntry(CacheEntry) - Method in class jdbm.helper.MRU
-
Remove a CacheEntry from linked list, and relink the
remaining element sin the list.
- removeListener(CachePolicyListener<V>) - Method in interface jdbm.helper.CachePolicy
-
Remove a listener from this cache policy.
- removeListener(CachePolicyListener) - Method in class jdbm.helper.MRU
-
Remove a listener from this cache policy
- removeListener(CachePolicyListener) - Method in class jdbm.helper.SoftCache
-
Removes a listener that was added earlier.
- RemoveResult() - Constructor for class jdbm.btree.BPage.RemoveResult
-
- reset() - Method in class jdbm.helper.ExplicitList.Link
-
- rollback() - Method in class jdbm.recman.BaseRecordManager
-
Rollback (cancel) all changes since beginning of transaction.
- rollback() - Method in class jdbm.recman.CacheRecordManager
-
Rollback (cancel) all changes since beginning of transaction.
- rollback() - Method in class jdbm.recman.PageManager
-
Flushes the page manager.
- rollback() - Method in class jdbm.recman.RecordFile
-
Rollback the current transaction by discarding all dirty buffers
- rollback() - Method in class jdbm.recman.SnapshotRecordManager
-
Rollback (cancel) all changes since beginning of transaction.
- rollback() - Method in interface jdbm.RecordManager
-
Rollback (cancel) all changes since beginning of transaction.
- rootID - Variable in class jdbm.btree.BTree.MetaRoot
-
- rootId - Variable in class jdbm.btree.BTree
-
Record id of the root BPage
- saveNameDirectory() - Method in class jdbm.recman.BaseRecordManager
-
- searchChainForVersion(LRUCache<K, V>.CacheEntry, long, boolean) - Method in class jdbm.helper.LRUCache
-
Searches the given version for the entry that can satisfy the read with the
given version and returns the value of that entry.
- Serialization - Class in jdbm.helper
-
Serialization-related utility methods.
- Serialization - Class in jdbm.helper
-
Serialization-related utility methods.
- Serialization() - Constructor for class jdbm.helper.Serialization
-
- serialize(Object) - Method in class jdbm.btree.BPage
-
Serialize the content of an object into a byte array.
- serialize(Object) - Method in class jdbm.helper.ByteArraySerializer
-
Serialize the content of an object into a byte array.
- serialize(Object) - Method in class jdbm.helper.DefaultSerializer
-
Serialize the content of an object into a byte array.
- serialize(Object) - Method in class jdbm.helper.IntegerSerializer
-
Serialize the content of an object into a byte array.
- serialize(Object) - Method in class jdbm.helper.LongSerializer
-
Serialize the content of an object into a byte array.
- serialize(Object) - Static method in class jdbm.helper.Serialization
-
Serialize the object into a byte array.
- serialize(Object) - Method in interface jdbm.helper.Serializer
-
Serialize the content of an object into a byte array.
- Serializer - Interface in jdbm.helper
-
Interface used to provide a serialization mechanism other than a class' normal
serialization.
- Serializer - Class in jdbm.helper
-
Interface used to provide a serialization mechanism other than a class' normal
serialization.
- serializer - Variable in class jdbm.recman.CacheRecordManager.CacheEntry
-
- serialVersionUID - Static variable in class jdbm.btree.BPage
-
Version id for serialization.
- serialVersionUID - Static variable in class jdbm.btree.BTree
-
Version id for serialization.
- serialVersionUID - Static variable in class jdbm.helper.ByteArrayComparator
-
Version id for serialization.
- serialVersionUID - Static variable in class jdbm.helper.ByteArraySerializer
-
Version id for serialization.
- serialVersionUID - Static variable in class jdbm.helper.DefaultSerializer
-
- serialVersionUID - Static variable in class jdbm.helper.IntegerComparator
-
Version id for serialization.
- serialVersionUID - Static variable in class jdbm.helper.LongComparator
-
Version id for serialization.
- serialVersionUID - Static variable in class jdbm.helper.ObjectBAComparator
-
Version id for serialization.
- serialVersionUID - Static variable in class jdbm.helper.StringComparator
-
Version id for serialization.
- serialVersionUID - Static variable in class jdbm.htree.HashBucket
-
- serialVersionUID - Static variable in class jdbm.htree.HashDirectory
-
- serialVersionUID - Static variable in class jdbm.recman.BlockIo
-
- setAsCurrentAction(ActionContext) - Method in class jdbm.btree.BTree
-
- setAsCurrentVersion(V, long) - Method in class jdbm.helper.LRUCache.CacheEntry
-
- setAsSnapshotVersion(long) - Method in class jdbm.helper.LRUCache.CacheEntry
-
- setAvailableSize(int) - Method in class jdbm.recman.RecordHeader
-
Sets the available size
- setBlock(long) - Method in class jdbm.recman.PhysicalRowId
-
Sets the block number
- setBlockId(long) - Method in class jdbm.recman.BlockIo
-
Sets the block number.
- setChild(BPage<K, V>, int, K, long) - Method in class jdbm.btree.BPage
-
Set the child BPage recordId at the given index.
- setClean() - Method in class jdbm.recman.BlockIo
-
Clears the dirty flag
- setClean(List<BlockIo>) - Method in class jdbm.recman.TransactionManager
-
Set clean flag on the blocks.
- setCount(short) - Method in class jdbm.recman.FreeLogicalRowIdPage
-
Sets the number of free rowids
- setCount(short) - Method in class jdbm.recman.FreePhysicalRowIdPage
-
Sets the number of free rowids
- setCurrentActionContext(ActionContext) - Method in interface jdbm.ActionRecordManager
-
Set the context as the current action context for
the given thread
- setCurrentActionContext(ActionContext) - Method in class jdbm.recman.SnapshotRecordManager
-
Set the context as the current action context for
the given thread
- setCurrentSize(int) - Method in class jdbm.recman.RecordHeader
-
Sets the current size
- setDirty() - Method in class jdbm.recman.BlockIo
-
Sets the dirty flag
- setEntry(BPage<K, V>, int, K, V) - Method in class jdbm.btree.BPage
-
Set the entry at the given index.
- setFirst(short) - Method in class jdbm.recman.DataPage
-
Sets the first rowid's offset
- setFirstOf(int, long) - Method in class jdbm.recman.FileHeader
-
Sets the first block of the indicated list
- setKey(Object) - Method in class jdbm.helper.CacheEntry
-
- setKey(K) - Method in class jdbm.helper.Tuple
-
Set the key.
- setLastOf(int, long) - Method in class jdbm.recman.FileHeader
-
Sets the last block of the indicated list
- setMaximumTransactionsInLog(int) - Method in class jdbm.recman.TransactionManager
-
Set the maximum number of transactions to record in
the log (and keep in memory) before the log is
synchronized with the main database file.
- setNamedObject(String, long) - Method in class jdbm.recman.BaseRecordManager
-
Set the record id of a named object.
- setNamedObject(String, long) - Method in class jdbm.recman.CacheRecordManager
-
Set the record id of a named object.
- setNamedObject(String, long) - Method in class jdbm.recman.SnapshotRecordManager
-
Set the record id of a named object.
- setNamedObject(String, long) - Method in interface jdbm.RecordManager
-
Set the record id of a named object.
- setNeverReplace() - Method in class jdbm.helper.LRUCache.CacheEntry
-
- setNext(CacheEntry) - Method in class jdbm.helper.CacheEntry
-
- setNext(ExplicitList.Link<V>) - Method in class jdbm.helper.ExplicitList.Link
-
- setNext(long) - Method in class jdbm.recman.PageHeader
-
Sets the next blockIo.
- setOffset(short) - Method in class jdbm.recman.PhysicalRowId
-
Sets the offset
- setPageSize(int) - Method in class jdbm.btree.BTree
-
- setPersistenceContext(RecordManager, long) - Method in class jdbm.htree.HashDirectory
-
Sets persistence context.
- setPrev(ExplicitList.Link<V>) - Method in class jdbm.helper.ExplicitList.Link
-
- setPrev(long) - Method in class jdbm.recman.PageHeader
-
Sets the previous block.
- setPrevious(CacheEntry) - Method in class jdbm.helper.CacheEntry
-
- setRecordId(long) - Method in class jdbm.btree.BPage
-
Set the recordId
- setRoot(int, long) - Method in class jdbm.recman.BaseRecordManager
-
Sets the indicated root rowid.
- setRoot(int, long) - Method in class jdbm.recman.CacheRecordManager
-
Sets the indicated root rowid.
- setRoot(int, long) - Method in class jdbm.recman.FileHeader
-
Sets the indicated root rowid.
- setRoot(int, long) - Method in class jdbm.recman.SnapshotRecordManager
-
Sets the indicated root rowid.
- setRoot(int, long) - Method in interface jdbm.RecordManager
-
Sets the indicated root rowid.
- setSize(int) - Method in class jdbm.recman.FreePhysicalRowId
-
Sets the size
- setState(LRUCache.EntryState) - Method in class jdbm.helper.LRUCache.CacheEntry
-
- setType(short) - Method in class jdbm.recman.PageHeader
-
Sets the type of the page header
- setValue(Object) - Method in class jdbm.helper.CacheEntry
-
- setValue(V) - Method in class jdbm.helper.Tuple
-
Set the value.
- setValueSerializer(Serializer) - Method in class jdbm.btree.BTree
-
- setView(BlockView) - Method in class jdbm.recman.BlockIo
-
Sets the current view of the block.
- setWritten() - Method in class jdbm.recman.BaseRecordManager.LockElement
-
- showList(Iterator<BlockIo>) - Method in class jdbm.recman.RecordFile
-
Prints contents of a list
- shutdown() - Method in class jdbm.recman.TransactionManager
-
Shutdowns the transaction manager.
- size() - Method in class jdbm.btree.BTree
-
Return the number of entries (size) of the BTree.
- size() - Method in class jdbm.helper.ExplicitList
-
- SIZE - Static variable in class jdbm.recman.FreePhysicalRowId
-
- SIZE - Static variable in class jdbm.recman.PageHeader
-
the size of this page header
- SIZE - Static variable in class jdbm.recman.PhysicalRowId
-
- SIZE - Static variable in class jdbm.recman.RecordHeader
-
- slots - Variable in class jdbm.recman.FreeLogicalRowIdPage
-
- slots - Variable in class jdbm.recman.FreePhysicalRowIdPage
-
- slots - Variable in class jdbm.recman.TranslationPage
-
The table of PhysicalRowId
- slotToOffset(int) - Method in class jdbm.recman.FreeLogicalRowIdPage
-
Converts slot to offset
- slotToOffset(int) - Method in class jdbm.recman.FreePhysicalRowIdPage
-
Converts slot to offset
- SnapshotRecordManager - Class in jdbm.recman
-
TODO SnapshotRecordManager.
- SnapshotRecordManager(RecordManager, int) - Constructor for class jdbm.recman.SnapshotRecordManager
-
Construct a SanshotRecordManager wrapping another RecordManager
- SnapshotRecordManager.RecordIO - Class in jdbm.recman
-
- snapshotVersions - Variable in class jdbm.helper.LRUCache.LRU
-
List of snapshot entries
- SOFT_REF_CACHE - Static variable in class jdbm.RecordManagerOptions
-
Use soft references {$link java.lang.ref.SoftReference} for the record
cache instead of the default normal object references.
- SoftCache - Class in jdbm.helper
-
Wraps a deterministic cache policy with a Level-2
cache based on
J2SE's soft references.
- SoftCache - Class in jdbm.helper
-
Wraps a deterministic cache policy with a Level-2
cache based on
J2SE's soft references.
- SoftCache() - Constructor for class jdbm.helper.SoftCache
-
Creates a soft-reference based L2 cache with a
MRU cache as
the internal (L1) cache.
- SoftCache(CachePolicy) - Constructor for class jdbm.helper.SoftCache
-
Creates a soft-reference based L2 cache wrapping the specified
L1 cache.
- SoftCache(float, CachePolicy) - Constructor for class jdbm.helper.SoftCache
-
Creates a soft-reference based L2 cache wrapping the specified
L1 cache.
- SoftCache.Entry - Class in jdbm.helper
-
Value objects we keep in the internal map.
- splice(ExplicitList.Link<V>) - Method in class jdbm.helper.ExplicitList.Link
-
Splices the given list by making this link as the new head.
- start() - Method in class jdbm.recman.TransactionManager
-
Starts a transaction.
- startVersion - Variable in class jdbm.helper.LRUCache.CacheEntry
-
Starting version for which entry is valid
- state - Variable in class jdbm.helper.LRUCache.CacheEntry
-
Current state
- stateCondition - Variable in class jdbm.helper.LRUCache.CacheEntry
-
Used when waiting on being initialized entries
- StringComparator - Class in jdbm.helper
-
Comparator for String objects.
- StringComparator - Class in jdbm.helper
-
Comparator for String objects.
- StringComparator() - Constructor for class jdbm.helper.StringComparator
-
- sync(BlockIo) - Method in class jdbm.recman.RecordFile
-
Synchronizes a BlockIo to disk.
- sync() - Method in class jdbm.recman.RecordFile
-
Synchronizes the file.
- sync() - Method in class jdbm.recman.TransactionManager
-
Flushes and syncs
- synchronizeBlocks(Iterator<BlockIo>, boolean) - Method in class jdbm.recman.TransactionManager
-
Synchronizes the indicated blocks with the owner.
- synchronizeLog() - Method in class jdbm.recman.TransactionManager
-
Synchronize log file data with the main database file.
- synchronizeLogFromDisk() - Method in class jdbm.recman.TransactionManager
-
Use the disk-based transaction log to synchronize the data file.
- synchronizeLogFromMemory() - Method in class jdbm.recman.TransactionManager
-
Synchs in-core transactions to data file and opens a fresh log
- SZ_BYTE - Static variable in class jdbm.recman.Magic
-
Size of an externalized byte
- SZ_INT - Static variable in class jdbm.recman.Magic
-
Size of an externalized int
- SZ_LONG - Static variable in class jdbm.recman.Magic
-
Size of an externalized long
- SZ_SHORT - Static variable in class jdbm.recman.Magic
-
Size of an externalized short
- THREAD_SAFE - Static variable in class jdbm.RecordManagerOptions
-
Option to create a thread-safe record manager.
- toLong() - Method in class jdbm.recman.Location
-
Returns the external representation of a location when used
as a logical rowid, which combines the block and the offset
in a single long.
- toString() - Method in class jdbm.btree.BPage
-
- toString() - Method in class jdbm.btree.BTree
-
- toString() - Method in class jdbm.helper.ActionContext
-
- toString() - Method in class jdbm.helper.ActionVersioning.Version
-
- toString() - Method in class jdbm.helper.ExplicitList.Link
-
- toString() - Method in class jdbm.helper.ExplicitList
-
- toString() - Method in class jdbm.helper.LRUCache.CacheEntry
-
- toString() - Method in class jdbm.helper.LRUCache
-
- toString() - Method in class jdbm.helper.Tuple
-
- toString() - Method in class jdbm.htree.HashBucket
-
- toString() - Method in class jdbm.recman.BlockIo
- toString() - Method in class jdbm.recman.DataPage
- toString() - Method in class jdbm.recman.FileHeader
- toString() - Method in class jdbm.recman.FreeLogicalRowIdPage
- toString() - Method in class jdbm.recman.FreePhysicalRowIdPage
- toString() - Method in class jdbm.recman.Location
- toString() - Method in class jdbm.recman.PageCursor
- toString() - Method in class jdbm.recman.PageHeader
- toString() - Method in class jdbm.recman.RecordFile
- toString() - Method in class jdbm.recman.RecordHeader
-
- toString() - Method in class jdbm.recman.SnapshotRecordManager
-
- toString() - Method in class jdbm.recman.TranslationPage
- touch(LRUCache<K, V>.CacheEntry) - Method in class jdbm.helper.LRUCache.LRU
-
Increases the hotness of the given entry
- touchEntry(CacheEntry) - Method in class jdbm.helper.MRU
-
Place entry at the end of linked list -- Most Recently Used
- transactionCount - Variable in class jdbm.recman.BlockIo
-
The number of pending transaction on this block
- transactionManager - Variable in class jdbm.recman.RecordFile
-
- TransactionManager - Class in jdbm.recman
-
This class manages the transaction log that belongs to every
RecordFile.
- TransactionManager - Class in jdbm.recman
-
This class manages the transaction log that belongs to every
RecordFile.
- TransactionManager(RecordFile) - Constructor for class jdbm.recman.TransactionManager
-
Instantiates a transaction manager instance.
- TransactionManager.BlockIoComparator - Class in jdbm.recman
-
INNER CLASS.
- transactionsDisabled - Variable in class jdbm.recman.RecordFile
-
A flag set if transactions is disabled.
- TRANSLATION_PAGE - Static variable in class jdbm.recman.Magic
-
- TranslationPage - Class in jdbm.recman
-
Class describing a page that holds translations from physical rowids
to logical rowids.
- TranslationPage - Class in jdbm.recman
-
Class describing a page that holds translations from physical rowids
to logical rowids.
- TranslationPage(BlockIo) - Constructor for class jdbm.recman.TranslationPage
-
Constructs a data page view from the indicated block.
- treeHeight - Variable in class jdbm.btree.BTree.MetaRoot
-
- Tuple<K,V> - Class in jdbm.helper
-
Tuple consisting of a key-value pair.
- Tuple - Class in jdbm.helper
-
Tuple consisting of a key-value pair.
- Tuple() - Constructor for class jdbm.helper.Tuple
-
Construct an empty Tuple.
- Tuple(K, V) - Constructor for class jdbm.helper.Tuple
-
Construct a Tuple.
- TupleBrowser<K,V> - Class in jdbm.helper
-
Browser to traverse a collection of tuples.
- TupleBrowser - Class in jdbm.helper
-
Browser to traverse a collection of tuples.
- TupleBrowser() - Constructor for class jdbm.helper.TupleBrowser
-
- txns - Variable in class jdbm.recman.TransactionManager
-
In-core copy of transactions.
- type - Variable in class jdbm.recman.PageCursor
-
The page type
- value - Variable in class jdbm.btree.BPage.RemoveResult
-
Removed entry value
- value - Variable in class jdbm.helper.CacheEntry
-
- value - Variable in class jdbm.helper.LRUCache.CacheEntry
-
value of the entry
- value - Variable in class jdbm.helper.Tuple
-
Value
- valueOf(String) - Static method in enum jdbm.helper.LRUCache.EntryState
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum jdbm.I18n
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum jdbm.recman.BaseRecordManager.IOType
-
Returns the enum constant of this type with the specified name.
- values - Variable in class jdbm.btree.BPage
-
Values associated with keys.
- values() - Static method in enum jdbm.helper.LRUCache.EntryState
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Method in class jdbm.htree.HashDirectory
-
Returns an enumeration of the values contained in this
- values() - Method in class jdbm.htree.HTree
-
Returns an enumeration of the values contained in this
- values() - Static method in enum jdbm.I18n
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum jdbm.recman.BaseRecordManager.IOType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- valueSerializer - Variable in class jdbm.btree.BTree
-
Serializer used to serialize index values (optional)
- version - Variable in class jdbm.helper.ActionContext
-
Version associated with the context
- Version(long) - Constructor for class jdbm.helper.ActionVersioning.Version
-
- version - Variable in class jdbm.helper.ActionVersioning.Version
-
Represented version
- versionedCache - Variable in class jdbm.recman.SnapshotRecordManager
-
Versioned cache
- versioning - Variable in class jdbm.recman.SnapshotRecordManager
-
Used for keeping track of actions versions
- versions - Variable in class jdbm.helper.ActionVersioning
-
List to put versions on
- versionsLink - Variable in class jdbm.helper.ActionVersioning.Version
-
Used to put on versions chain
- versionsLink - Variable in class jdbm.helper.LRUCache.CacheEntry
-
Used to build a sorted chain of versions with the most current entry at the head
- view - Variable in class jdbm.recman.BlockIo
-
A view on the BlockIo