Skip navigation links
A B C D E F G H I J K L M N O P R S T U V W _ 

A

abortAction(ActionContext) - Method in interface jdbm.ActionRecordManager
Aborts the given action.
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
 
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
 
addAfter(ExplicitList.Link<V>) - Method in class jdbm.helper.ExplicitList.Link
 
addBefore(ExplicitList.Link<V>) - Method in class jdbm.helper.ExplicitList.Link
 
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.
advanceMinReadVersion(long) - Method in class jdbm.helper.LRUCache
Called as the minimum version that readers will use advances.
AUTO_COMMIT - Static variable in class jdbm.RecordManagerOptions
Option to automatically commit data after each operation.

B

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
begin() - Method in class jdbm.helper.ExplicitList
 
beginAction(boolean, String) - Method in interface jdbm.ActionRecordManager
Initializes the context for the action.
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.
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.
BLOCK - Static variable in class jdbm.recman.Magic
Magic for blocks.
block - Variable in class jdbm.recman.PageHeader
the page header block this view is associated with
BLOCK_SIZE - Static variable in class jdbm.recman.RecordFile
The length of a single block.
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
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.
BPage<K,V> - Class in jdbm.btree
Page of a Btree.
BPage() - Constructor for class jdbm.btree.BPage
No-argument constructor used by serialization.
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.
BTree<K,V> - 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.
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() - Constructor for class jdbm.helper.ByteArraySerializer
 

C

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.
CacheEvictionException - Exception in jdbm.helper
Exception that occurs during eviction of an object in the cache.
CacheEvictionException(Exception) - Constructor for exception jdbm.helper.CacheEvictionException
 
cacheObjectEvicted(T) - Method in interface jdbm.helper.CachePolicyListener
Notification that the cache this listener is attached to is evicting the object indicated.
CachePolicy<K,V> - Interface 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.
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.
children - Variable in class jdbm.btree.BPage
Children pages (recids) associated with keys.
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.SnapshotRecordManager
Closes the record manager.
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.SnapshotRecordManager
Commit (make persistent) all changes since beginning of transaction.
commit() - Method in interface jdbm.RecordManager
Commit (make persistent) all changes since beginning of transaction.
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(Object, Object) - 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.
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
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.

D

DEBUG - Static variable in class jdbm.recman.BaseRecordManager
Static debugging flag
DEFAULT_SIZE - Static variable in class jdbm.btree.BTree
Default page size (number of entries per node)
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(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.
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.

E

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() - Method in class jdbm.helper.SoftCache
Gets all the objects stored by the internal (L1) cache.
end() - Method in class jdbm.helper.ExplicitList
 
endAction(ActionContext) - Method in interface jdbm.ActionRecordManager
Ends the action associated with the context.
endAction() - Method in class jdbm.helper.ActionContext
 
endAction(ActionContext) - Method in class jdbm.recman.SnapshotRecordManager
Ends the action associated with the context.
endReadAction(ActionVersioning.Version) - Method in class jdbm.helper.ActionVersioning
Called when the read action with the given action is ended.
endWriteAction() - Method in class jdbm.helper.ActionVersioning
Called when the read/write action completes.
EntryIO<K,V> - Interface in jdbm.helper
TODO EntryIO.
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)
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
 

F

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(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_HEADER - Static variable in class jdbm.recman.Magic
Magic cookie at start of file
find(K) - Method in class jdbm.btree.BTree
Find the value associated with the given key.
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.
first - Variable in class jdbm.btree.BPage
Index of first used item at the page
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.
FREE_PAGE - Static variable in class jdbm.recman.Magic
Magics for block types in certain lists.
FREELOGIDS_PAGE - Static variable in class jdbm.recman.Magic
 
FREEPHYSIDS_PAGE - Static variable in class jdbm.recman.Magic
 

G

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.HTree
Returns the value which is associated with the given key.
getCachePolicy() - Method in class jdbm.recman.CacheRecordManager
Get the underlying cache policy
getComparator() - Method in class jdbm.btree.BTree
 
getElement() - Method in class jdbm.helper.ExplicitList.Link
 
getErrorCode() - Method in enum jdbm.I18n
 
getException() - Method in exception jdbm.helper.WrappedRuntimeException
Returns the exception wrapped by this runtime exception.
getKey() - Method in class jdbm.helper.Tuple
Get the key.
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
 
getNext() - Method in class jdbm.helper.ExplicitList.Link
 
getNext(Tuple<K, V>) - Method in class jdbm.helper.TupleBrowser
Get the next tuple.
getPrev() - Method in class jdbm.helper.ExplicitList.Link
 
getPrevious(Tuple<K, V>) - Method in class jdbm.helper.TupleBrowser
Get the previous tuple.
getRecid() - Method in class jdbm.htree.HTree
Get the record identifier used to load this hashtable.
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(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.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.
getTransactionManager() - Method in class jdbm.recman.BaseRecordManager
Get the underlying Transaction Manager
getValue() - Method in class jdbm.helper.Tuple
Get the value.
getVersion() - Method in class jdbm.helper.ActionContext
 
getVersion() - Method in class jdbm.helper.ActionVersioning.Version
 
getView() - Method in class jdbm.recman.BlockIo
 
getWhoStarted() - Method in class jdbm.helper.ActionContext
 

H

HTree - Class in jdbm.htree
Persistent hashtable implementation for PageManager.

I

I18n - Enum in jdbm
Provides i18n handling of error codes.
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(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.
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() - Constructor for class jdbm.helper.IntegerComparator
 
IntegerSerializer - Class in jdbm.helper
Optimized serializer for integers.
IntegerSerializer() - Constructor for class jdbm.helper.IntegerSerializer
Construct an IntegerSerializer.
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.
isActive() - Method in class jdbm.helper.ActionContext
 
isLeaf - Variable in class jdbm.btree.BPage
Flag indicating if this is a leaf BPage.
isLinked() - Method in class jdbm.helper.ExplicitList.Link
 
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(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.

J

jdbm - package jdbm
Simplified public API corresponding to GDBM APIs.
jdbm.btree - package jdbm.btree
B+Tree (scalable persistent tree) data structure implementation.
jdbm.helper - package jdbm.helper
Miscelaneous utility classes and interfaces.
jdbm.htree - package jdbm.htree
HTree (scalable persistent hashtable) data structure implementation.
jdbm.recman - package jdbm.recman
Core classes for managing persistent objects and processing transactions.

K

keys - Variable in class jdbm.btree.BPage
Keys of children nodes
keys() - Method in class jdbm.htree.HTree
Returns an enumeration of the keys contained in this
keySerializer - Variable in class jdbm.btree.BTree
Serializer used to serialize index keys (optional)

L

Link(V) - Constructor for class jdbm.helper.ExplicitList.Link
 
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
LOGFILE_HEADER - Static variable in class jdbm.recman.Magic
Magic for transaction file
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() - Constructor for class jdbm.helper.LongSerializer
Construct a LongSerializer.
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
 

M

Magic - Class in jdbm.recman
This interface contains magic cookies.
main(String[]) - Static method in class jdbm.helper.Conversion
Test static methods
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.
MRU<K,V> - 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.
msg(String, Object...) - Static method in enum jdbm.I18n
Translate a message with argument(s)

N

NAME_DIRECTORY_ROOT - Static variable in class jdbm.recman.BaseRecordManager
Reserved slot for name directory.
NAME_DIRECTORY_ROOT - Static variable in interface jdbm.RecordManager
Reserved slot for name directory.
nbEntries - Variable in class jdbm.btree.BTree
Total number of entries in the BTree
next - Variable in class jdbm.btree.BPage
Next leaf BPage (only if this BPage is a leaf)
next() - Method in class jdbm.helper.FastIterator
Returns the next element in the interation.
NLISTS - Static variable in class jdbm.recman.Magic
Number of lists in a file
NORMAL_CACHE - Static variable in class jdbm.RecordManagerOptions
Use normal (strong) object references for the record cache.

O

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.

P

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
pageSize - Variable in class jdbm.btree.BTree
Number of entries in each BPage.
paranoiaMagicOk() - Method in class jdbm.recman.PageHeader
For paranoia mode
previous - Variable in class jdbm.btree.BPage
Previous leaf BPage (only if this BPage is a leaf)
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() - 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.HTree
Associates the specified value with the specified key.

R

read(K, Serializer) - Method in interface jdbm.helper.EntryIO
 
readByte(int) - Method in class jdbm.recman.BlockIo
Reads a byte from the indicated position
readExternal(ObjectInput) - Method in class jdbm.btree.BTree
Implement Externalizable interface.
readExternal(ObjectInput) - Method in class jdbm.recman.BlockIo
 
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
readShort(int) - Method in class jdbm.recman.BlockIo
Reads a short from the indicated position
RecordCache - Interface in jdbm.recman
This interface is used for synchronization.
RecordFile - Class in jdbm.recman
This class represents a random access file as a set of fixed size records.
recordId - Variable in class jdbm.btree.BPage
This BPage's record ID in the PageManager.
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.
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.
RecordManagerProvider - Interface in jdbm
Provider of RecordManager implementation.
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.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.
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.
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.SnapshotRecordManager
Rollback (cancel) all changes since beginning of transaction.
rollback() - Method in interface jdbm.RecordManager
Rollback (cancel) all changes since beginning of transaction.

S

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.
serialVersionUID - Static variable in class jdbm.recman.BlockIo
 
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
setKey(K) - Method in class jdbm.helper.Tuple
Set the key.
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.
setNext(ExplicitList.Link<V>) - Method in class jdbm.helper.ExplicitList.Link
 
setPageSize(int) - Method in class jdbm.btree.BTree
 
setPrev(ExplicitList.Link<V>) - Method in class jdbm.helper.ExplicitList.Link
 
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.SnapshotRecordManager
Sets the indicated root rowid.
setRoot(int, long) - Method in interface jdbm.RecordManager
Sets the indicated root rowid.
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.
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.PageHeader
the size of this page header = 18 bytes
SnapshotRecordManager - Class in jdbm.recman
TODO SnapshotRecordManager.
SnapshotRecordManager(RecordManager, int) - Constructor for class jdbm.recman.SnapshotRecordManager
Construct a SanshotRecordManager wrapping another RecordManager
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() - 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.
splice(ExplicitList.Link<V>) - Method in class jdbm.helper.ExplicitList.Link
Splices the given list by making this link as the new head.
StringComparator - Class in jdbm.helper
Comparator for String objects.
StringComparator() - Constructor for class jdbm.helper.StringComparator
 
synchronizeLog() - Method in class jdbm.recman.TransactionManager
Synchronize log file data with the main database file.
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

T

THREAD_SAFE - Static variable in class jdbm.RecordManagerOptions
Option to create a thread-safe record manager.
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
 
toString() - Method in class jdbm.helper.Tuple
 
toString() - Method in class jdbm.recman.BlockIo
 
toString() - Method in class jdbm.recman.SnapshotRecordManager
 
touchEntry(CacheEntry) - Method in class jdbm.helper.MRU
Place entry at the end of linked list -- Most Recently Used
TransactionManager - Class in jdbm.recman
This class manages the transaction log that belongs to every RecordFile.
TransactionManager.BlockIoComparator - Class in jdbm.recman
INNER CLASS.
TRANSLATION_PAGE - Static variable in class jdbm.recman.Magic
 
Tuple<K,V> - 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() - Constructor for class jdbm.helper.TupleBrowser
 

U

uninit() - Method in class jdbm.helper.ExplicitList.Link
 
unsetCurrentActionContext(ActionContext) - Method in interface jdbm.ActionRecordManager
Unsets the context as the current action context.
unsetCurrentActionContext(ActionContext) - Method in class jdbm.recman.SnapshotRecordManager
Unsets the context as the current action context.
update(long, Object) - Method in class jdbm.recman.BaseRecordManager
Updates a record using standard java object serialization.
update(long, Object, Serializer) - Method in class jdbm.recman.BaseRecordManager
Updates a record using a custom serializer.
update(long, Object) - Method in class jdbm.recman.CacheRecordManager
Updates a record using standard Java serialization.
update(long, Object, Serializer) - Method in class jdbm.recman.CacheRecordManager
Updates a record using a custom serializer.
update(long, Object) - Method in class jdbm.recman.SnapshotRecordManager
Updates a record using standard Java serialization.
update(long, Object, Serializer) - Method in class jdbm.recman.SnapshotRecordManager
Updates a record using a custom serializer.
update(long, Object) - Method in interface jdbm.RecordManager
Updates a record using standard java object serialization.
update(long, Object, Serializer) - Method in interface jdbm.RecordManager
Updates a record using a custom serializer.
updateCacheEntries() - Method in class jdbm.recman.CacheRecordManager
Update all dirty cache objects to the underlying RecordManager.
USED_PAGE - Static variable in class jdbm.recman.Magic
 

V

valueOf(String) - Static method in enum jdbm.I18n
Returns the enum constant of this type with the specified name.
values - Variable in class jdbm.btree.BPage
Values associated with keys.
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.
valueSerializer - Variable in class jdbm.btree.BTree
Serializer used to serialize index values (optional)
Version(long) - Constructor for class jdbm.helper.ActionVersioning.Version
 

W

WEAK_REF_CACHE - Static variable in class jdbm.RecordManagerOptions
Use weak references {$link java.lang.ref.WeakReference} for the record cache instead of the default normal object references.
WrappedRuntimeException - Exception in jdbm.helper
A run-time exception that wraps another exception.
WrappedRuntimeException(String, Exception) - Constructor for exception jdbm.helper.WrappedRuntimeException
Constructs a new runtime exception based on a checked exception.
WrappedRuntimeException(Exception) - Constructor for exception jdbm.helper.WrappedRuntimeException
Constructs a new runtime exception based on a checked exception.
write(K, V, Serializer) - Method in interface jdbm.helper.EntryIO
 
writeByte(int, byte) - Method in class jdbm.recman.BlockIo
Writes a byte to the indicated position
writeExternal(ObjectOutput) - Method in class jdbm.btree.BTree
Implement Externalizable interface.
writeExternal(ObjectOutput) - Method in class jdbm.recman.BlockIo
 
writeInt(int, int) - Method in class jdbm.recman.BlockIo
Writes an int to the indicated position
writeLong(int, long) - Method in class jdbm.recman.BlockIo
Writes a long to the indicated position
writeShort(int, short) - Method in class jdbm.recman.BlockIo
Writes a short to the indicated position

_

_nested - Variable in exception jdbm.helper.CacheEvictionException
Nested exception -- the original exception that occured, if any.
A B C D E F G H I J K L M N O P R S T U V W _ 
Skip navigation links

Copyright © 2019. All rights reserved.