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

A

AbstractStreamPagedAccessor<T> - Class in org.fusesource.hawtdb.api
Abstract base class for implementations of EncoderDecoder which use stream encoding/decoding.
AbstractStreamPagedAccessor() - Constructor for class org.fusesource.hawtdb.api.AbstractStreamPagedAccessor
 
add(Sequence) - Method in class org.fusesource.hawtdb.util.list.SequenceSet
 
add(long) - Method in class org.fusesource.hawtdb.util.list.SequenceSet
 
add(T) - Method in class org.fusesource.hawtdb.util.list.SortedLinkedList
 
addFirst(T) - Method in class org.fusesource.hawtdb.util.list.LinkedNodeList
 
addFirst(LinkedNodeList<T>) - Method in class org.fusesource.hawtdb.util.list.LinkedNodeList
 
addLast(T) - Method in class org.fusesource.hawtdb.util.list.LinkedNodeList
 
addLast(LinkedNodeList<T>) - Method in class org.fusesource.hawtdb.util.list.LinkedNodeList
 
all() - Static method in class org.fusesource.hawtdb.api.Predicates
 
alloc(int) - Method in interface org.fusesource.hawtdb.api.Allocator
Allocates a continuous number of items and returns the position of first item in the sequence.
alloc() - Method in interface org.fusesource.hawtdb.api.Paged
does the same as allocator().alloc(1)
Allocator - Interface in org.fusesource.hawtdb.api
Handles allocation management of resources.
allocator() - Method in interface org.fusesource.hawtdb.api.Paged
 
and(Predicate<Key>...) - Static method in class org.fusesource.hawtdb.api.Predicates
 
and(List<Predicate<Key>>) - Static method in class org.fusesource.hawtdb.api.Predicates
 

B

BTreeIndexFactory<Key,Value> - Class in org.fusesource.hawtdb.api
This object is used to create variable magnitude b+tree indexes.
BTreeIndexFactory() - Constructor for class org.fusesource.hawtdb.api.BTreeIndexFactory
 

C

cancel(Runnable) - Static method in class org.fusesource.hawtdb.util.Scheduler
 
ceilingEntry(K) - Method in class org.fusesource.hawtdb.util.TreeMap
Returns a key-value mapping associated with the least key greater than or equal to the given key, or null if there is no such key.
clear() - Method in interface org.fusesource.hawtdb.api.Allocator
Frees all previous allocations.
clear() - Method in interface org.fusesource.hawtdb.api.Index
clear the index
clear(PagedAccessor<T>, int) - Method in interface org.fusesource.hawtdb.api.Paged
Frees any pages associated with the value stored at the given page if any.
clear() - Method in class org.fusesource.hawtdb.util.list.LinkedNodeList
 
clear() - Method in class org.fusesource.hawtdb.util.list.SortedLinkedList
 
clear() - Method in class org.fusesource.hawtdb.util.TreeMap
Clears all elements in this map.
CLOCK_DAEMON - Static variable in class org.fusesource.hawtdb.util.Scheduler
 
close() - Method in class org.fusesource.hawtdb.api.PageFileFactory
Closes the previously opened PageFile object.
close() - Method in interface org.fusesource.hawtdb.api.Transaction
Closes a transaction object.
close() - Method in class org.fusesource.hawtdb.api.TxPageFileFactory
Closes the previously opened PageFile object.
CODEC - Static variable in class org.fusesource.hawtdb.util.list.SequenceSet
 
CodecPagedAccessor<T> - Class in org.fusesource.hawtdb.api
A EncoderDecoder which uses a Marshaller to encode/decode the values.
CodecPagedAccessor(Codec<T>) - Constructor for class org.fusesource.hawtdb.api.CodecPagedAccessor
 
commit() - Method in interface org.fusesource.hawtdb.api.Transaction
 
comparator() - Method in class org.fusesource.hawtdb.util.TreeMap
 
Comparators - Class in org.fusesource.hawtdb.util
 
Comparators() - Constructor for class org.fusesource.hawtdb.util.Comparators
 
contains(long) - Method in class org.fusesource.hawtdb.util.list.Sequence
 
contains(int, int) - Method in class org.fusesource.hawtdb.util.list.SequenceSet
 
containsKey(Key) - Method in interface org.fusesource.hawtdb.api.Index
 
containsKey(K) - Method in class org.fusesource.hawtdb.util.TreeMap
 
containsValue(Object) - Method in class org.fusesource.hawtdb.util.TreeMap
 
copyFile(File, File) - Static method in class org.fusesource.hawtdb.util.IOHelper
 
copyInputStream(InputStream, OutputStream) - Static method in class org.fusesource.hawtdb.util.IOHelper
 
create(Paged) - Method in class org.fusesource.hawtdb.api.BTreeIndexFactory
Creates a new BTree index on the Paged object.
create(Paged) - Method in class org.fusesource.hawtdb.api.HashIndexFactory
Creates a new hash index on the Paged object.
create(Paged) - Method in interface org.fusesource.hawtdb.api.IndexFactory
 

D

decode(Paged, DataInputStream) - Method in class org.fusesource.hawtdb.api.AbstractStreamPagedAccessor
 
decode(Paged, DataInputStream) - Method in class org.fusesource.hawtdb.api.CodecPagedAccessor
 
DEFAULT_BUCKET_CAPACITY - Static variable in class org.fusesource.hawtdb.api.HashIndexFactory
 
DEFAULT_LOAD_FACTOR - Static variable in class org.fusesource.hawtdb.api.HashIndexFactory
 
DEFAULT_MAXIMUM_BUCKET_CAPACITY - Static variable in class org.fusesource.hawtdb.api.HashIndexFactory
 
DEFAULT_MINIMUM_BUCKET_CAPACITY - Static variable in class org.fusesource.hawtdb.api.HashIndexFactory
 
deleteChildren(File) - Static method in class org.fusesource.hawtdb.util.IOHelper
 
deleteFile(File) - Static method in class org.fusesource.hawtdb.util.IOHelper
 
destroy() - Method in interface org.fusesource.hawtdb.api.Index
Frees any extra storage that the index created.
drainOnClose - Variable in class org.fusesource.hawtdb.api.TxPageFileFactory
 

E

each(Sequence.Closure<T>) - Method in class org.fusesource.hawtdb.util.list.Sequence
 
encode(Paged, DataOutputStream, T) - Method in class org.fusesource.hawtdb.api.AbstractStreamPagedAccessor
 
encode(Paged, DataOutputStream, T) - Method in class org.fusesource.hawtdb.api.CodecPagedAccessor
 
entrySet() - Method in class org.fusesource.hawtdb.util.TreeMap
 
equals(Object) - Method in class org.fusesource.hawtdb.util.TreeMap.TreeEntry
 
execute(long) - Method in interface org.fusesource.hawtdb.util.list.Sequence.Closure
 
executeAfterDelay(Runnable, long) - Static method in class org.fusesource.hawtdb.util.Scheduler
 
executePeriodically(Runnable, long) - Static method in class org.fusesource.hawtdb.util.Scheduler
 

F

fillString(int, char) - Static method in class org.fusesource.hawtdb.util.StringSupport
 
firstEntry() - Method in class org.fusesource.hawtdb.util.TreeMap
Returns a key-value mapping associated with the least key in this map, or null if the map is empty.
firstKey() - Method in class org.fusesource.hawtdb.util.TreeMap
 
floorEntry(K) - Method in class org.fusesource.hawtdb.util.TreeMap
Returns a key-value mapping associated with the greatest key less than or equal to the given key, or null if there is no such key.
flush() - Method in interface org.fusesource.hawtdb.api.Paged
 
flush() - Method in interface org.fusesource.hawtdb.api.TxPageFile
Once this method returns, any previously committed transactions are flushed and to the disk, ensuring that they will not be lost upon failure.
flush(Runnable) - Method in interface org.fusesource.hawtdb.api.TxPageFile
If the transaction page file is configured to use a worker thread, then this method performs a non-blocking flush otherwise this method blocks until the flush is completed.
free(int, int) - Method in interface org.fusesource.hawtdb.api.Allocator
Frees a given number of items at a given position.
free(int) - Method in interface org.fusesource.hawtdb.api.Paged
does the same as allocator().free(page, 1)

G

get(Key) - Method in interface org.fusesource.hawtdb.api.Index
 
get(PagedAccessor<T>, int) - Method in interface org.fusesource.hawtdb.api.Paged
Gets an object previously put at the given page.
get(long) - Method in class org.fusesource.hawtdb.util.list.SortedLinkedList
 
get(K) - Method in class org.fusesource.hawtdb.util.TreeMap
 
getBucketCapacity() - Method in class org.fusesource.hawtdb.api.HashIndexFactory
 
getCacheSize() - Method in class org.fusesource.hawtdb.api.TxPageFileFactory
 
getComparator() - Method in class org.fusesource.hawtdb.api.BTreeIndexFactory
Gets the custom configured Comparator used to sort the keys in the index.
getDefaultDataDirectory() - Static method in class org.fusesource.hawtdb.util.IOHelper
 
getDefaultDirectoryPrefix() - Static method in class org.fusesource.hawtdb.util.IOHelper
Allows a system property to be used to overload the default data directory which can be useful for forcing the test cases to use a target/ prefix
getDefaultStoreDirectory() - Static method in class org.fusesource.hawtdb.util.IOHelper
 
getEntry(K) - Method in class org.fusesource.hawtdb.util.TreeMap
 
getFile() - Method in class org.fusesource.hawtdb.api.PageFileFactory
 
getFile() - Method in class org.fusesource.hawtdb.api.TxPageFileFactory
 
getFirst() - Method in interface org.fusesource.hawtdb.api.SortedIndex
 
getFirst() - Method in class org.fusesource.hawtdb.util.list.Sequence
 
getFreeRanges() - Method in interface org.fusesource.hawtdb.api.Allocator
 
getHead() - Method in class org.fusesource.hawtdb.util.list.LinkedNodeList
 
getHead() - Method in class org.fusesource.hawtdb.util.list.SortedLinkedList
 
getHeaderSize() - Method in class org.fusesource.hawtdb.api.PageFileFactory
 
getHeadNode() - Method in class org.fusesource.hawtdb.util.list.LinkedNode
 
getHeadNode() - Method in class org.fusesource.hawtdb.util.list.SortedLinkedListNode
 
getIndexLocation() - Method in interface org.fusesource.hawtdb.api.Index
 
getKey() - Method in class org.fusesource.hawtdb.util.TreeMap.TreeEntry
 
getKeyCodec() - Method in class org.fusesource.hawtdb.api.BTreeIndexFactory
Defaults to an ObjectCodec if not explicitly set.
getKeyCodec() - Method in class org.fusesource.hawtdb.api.HashIndexFactory
Defaults to an ObjectCodec if not explicitly set.
getLast() - Method in interface org.fusesource.hawtdb.api.SortedIndex
 
getLast() - Method in class org.fusesource.hawtdb.util.list.Sequence
 
getLimit() - Method in interface org.fusesource.hawtdb.api.Allocator
 
getList() - Method in class org.fusesource.hawtdb.util.list.LinkedNode
 
getList() - Method in class org.fusesource.hawtdb.util.list.SortedLinkedListNode
 
getLoadFactor() - Method in class org.fusesource.hawtdb.api.HashIndexFactory
 
getMappingSegementSize() - Method in class org.fusesource.hawtdb.api.PageFileFactory
 
getMappingSegementSize() - Method in class org.fusesource.hawtdb.api.TxPageFileFactory
 
getMaxCacheSize() - Method in class org.fusesource.hawtdb.util.LRUCache
 
getMaximumBucketCapacity() - Method in class org.fusesource.hawtdb.api.HashIndexFactory
 
getMaxPages() - Method in class org.fusesource.hawtdb.api.PageFileFactory
 
getMaxPages() - Method in class org.fusesource.hawtdb.api.TxPageFileFactory
 
getMinimumBucketCapacity() - Method in class org.fusesource.hawtdb.api.HashIndexFactory
 
getMissing(long, long) - Method in class org.fusesource.hawtdb.util.list.SequenceSet
 
getNext() - Method in class org.fusesource.hawtdb.util.list.LinkedNode
 
getNext() - Method in class org.fusesource.hawtdb.util.list.SortedLinkedListNode
 
getNextCircular() - Method in class org.fusesource.hawtdb.util.list.LinkedNode
 
getNextCircular() - Method in class org.fusesource.hawtdb.util.list.SortedLinkedListNode
 
getPageFile() - Method in class org.fusesource.hawtdb.api.PageFileFactory
 
getPageSize() - Method in interface org.fusesource.hawtdb.api.Paged
 
getPageSize() - Method in class org.fusesource.hawtdb.api.PageFileFactory
 
getPageSize() - Method in class org.fusesource.hawtdb.api.TxPageFileFactory
 
getPrefixer() - Method in class org.fusesource.hawtdb.api.BTreeIndexFactory
 
getPrevious() - Method in class org.fusesource.hawtdb.util.list.LinkedNode
 
getPrevious() - Method in class org.fusesource.hawtdb.util.list.SortedLinkedListNode
 
getPreviousCircular() - Method in class org.fusesource.hawtdb.util.list.LinkedNode
 
getPreviousCircular() - Method in class org.fusesource.hawtdb.util.list.SortedLinkedListNode
 
getReceived() - Method in class org.fusesource.hawtdb.util.list.SequenceSet
 
getSequence() - Method in class org.fusesource.hawtdb.util.list.SortedLinkedListNode
 
getSimplePrefix(Key, Key) - Method in interface org.fusesource.hawtdb.api.Prefixer
This methods should return shortest prefix of value2 where the following still holds:
value1 <= prefix <= value2.
getSimplePrefix(String, String) - Method in class org.fusesource.hawtdb.api.StringPrefixer
Example: If value1 is "Hello World" and value 2 is "Help Me" then the result will be: "Help"
getTail() - Method in class org.fusesource.hawtdb.util.list.LinkedNodeList
 
getTail() - Method in class org.fusesource.hawtdb.util.list.SortedLinkedList
 
getTailNode() - Method in class org.fusesource.hawtdb.util.list.LinkedNode
 
getTailNode() - Method in class org.fusesource.hawtdb.util.list.SortedLinkedListNode
 
getTxPageFile() - Method in class org.fusesource.hawtdb.api.TxPageFileFactory
 
getValue() - Method in class org.fusesource.hawtdb.util.TreeMap.TreeEntry
 
getValueCodec() - Method in class org.fusesource.hawtdb.api.BTreeIndexFactory
Defaults to an ObjectCodec if not explicitly set.
getValueCodec() - Method in class org.fusesource.hawtdb.api.HashIndexFactory
Defaults to an ObjectCodec if not explicitly set.
gt(Key) - Static method in class org.fusesource.hawtdb.api.Predicates
 
gte(Key) - Static method in class org.fusesource.hawtdb.api.Predicates
 

H

hashCode() - Method in class org.fusesource.hawtdb.util.TreeMap.TreeEntry
 
HashIndexFactory<Key,Value> - Class in org.fusesource.hawtdb.api
Uses to create Hash based storage of key/values.
HashIndexFactory() - Constructor for class org.fusesource.hawtdb.api.HashIndexFactory
 
headerSize - Variable in class org.fusesource.hawtdb.api.PageFileFactory
 
HexSupport - Class in org.fusesource.hawtdb.util
Used to convert to hex from byte arrays and back.

I

indent(String, int) - Static method in class org.fusesource.hawtdb.util.StringSupport
 
Index<Key,Value> - Interface in org.fusesource.hawtdb.api
Provides Key/Value storage and retrieval.
index - Variable in class org.fusesource.hawtdb.util.list.SortedLinkedList
 
IndexException - Exception in org.fusesource.hawtdb.api
This exception is thrown by index implementation why they detect an error.
IndexException() - Constructor for exception org.fusesource.hawtdb.api.IndexException
 
IndexException(String, Throwable) - Constructor for exception org.fusesource.hawtdb.api.IndexException
 
IndexException(String) - Constructor for exception org.fusesource.hawtdb.api.IndexException
 
IndexException(Throwable) - Constructor for exception org.fusesource.hawtdb.api.IndexException
 
IndexFactory<Key,Value> - Interface in org.fusesource.hawtdb.api
The common interface to Index factories.
IndexVisitor<Key,Value> - Interface in org.fusesource.hawtdb.api
Interface used to selectively visit the entries in a BTree.
IOHelper - Class in org.fusesource.hawtdb.util
 
IOHelper.IOStrategy - Interface in org.fusesource.hawtdb.util
 
IOPagingException - Exception in org.fusesource.hawtdb.api
Exception thrown when an IOException occurs with a a Paging operation.
IOPagingException() - Constructor for exception org.fusesource.hawtdb.api.IOPagingException
 
IOPagingException(String, Throwable) - Constructor for exception org.fusesource.hawtdb.api.IOPagingException
 
IOPagingException(String) - Constructor for exception org.fusesource.hawtdb.api.IOPagingException
 
IOPagingException(Throwable) - Constructor for exception org.fusesource.hawtdb.api.IOPagingException
 
isAdjacentToFirst(long) - Method in class org.fusesource.hawtdb.util.list.Sequence
 
isAdjacentToLast(long) - Method in class org.fusesource.hawtdb.util.list.Sequence
 
isAllocated(int) - Method in interface org.fusesource.hawtdb.api.Allocator
 
isDeferredEncoding() - Method in class org.fusesource.hawtdb.api.BTreeIndexFactory
 
isDeferredEncoding() - Method in class org.fusesource.hawtdb.api.HashIndexFactory
 
isDrainOnClose() - Method in class org.fusesource.hawtdb.api.TxPageFileFactory
 
isEmpty() - Method in interface org.fusesource.hawtdb.api.Index
 
isEmpty() - Method in class org.fusesource.hawtdb.util.list.LinkedNodeList
 
isEmpty() - Method in class org.fusesource.hawtdb.util.list.SortedLinkedList
 
isEmpty() - Method in class org.fusesource.hawtdb.util.TreeMap
 
isHeadNode() - Method in class org.fusesource.hawtdb.util.list.LinkedNode
 
isHeadNode() - Method in class org.fusesource.hawtdb.util.list.SortedLinkedListNode
 
isInterestedInKey(Key, Comparator) - Method in interface org.fusesource.hawtdb.api.Predicate
 
isInterestedInKeysBetween(Key, Key, Comparator) - Method in interface org.fusesource.hawtdb.api.IndexVisitor
Do you want to visit the range of BTree entries between the first and and second key?
isInterestedInKeysBetween(Key, Key, Comparator) - Method in interface org.fusesource.hawtdb.api.Predicate
 
isLinked() - Method in class org.fusesource.hawtdb.util.list.LinkedNode
 
isLinked() - Method in class org.fusesource.hawtdb.util.list.SortedLinkedListNode
 
isReadOnly() - Method in interface org.fusesource.hawtdb.api.Transaction
 
isSatiated() - Method in interface org.fusesource.hawtdb.api.IndexVisitor
 
isSync() - Method in class org.fusesource.hawtdb.api.TxPageFileFactory
 
isTailNode() - Method in class org.fusesource.hawtdb.util.list.LinkedNode
 
isTailNode() - Method in class org.fusesource.hawtdb.util.list.SortedLinkedListNode
 
isUseWorkerThread() - Method in class org.fusesource.hawtdb.api.TxPageFileFactory
 
iterator() - Method in interface org.fusesource.hawtdb.api.SortedIndex
 
iterator(Predicate<Key>) - Method in interface org.fusesource.hawtdb.api.SortedIndex
 
iterator(Key) - Method in interface org.fusesource.hawtdb.api.SortedIndex
 
iterator() - Method in class org.fusesource.hawtdb.util.list.LinkedNodeList
 

K

keySet() - Method in class org.fusesource.hawtdb.util.TreeMap
 

L

lastEntry() - Method in class org.fusesource.hawtdb.util.TreeMap
Returns a key-value mapping associated with the greatest key in this map, or null if the map is empty.
lastKey() - Method in class org.fusesource.hawtdb.util.TreeMap
 
linkAfter(T) - Method in class org.fusesource.hawtdb.util.list.LinkedNode
 
linkAfter(LinkedNodeList<T>) - Method in class org.fusesource.hawtdb.util.list.LinkedNode
 
linkAfter(T) - Method in class org.fusesource.hawtdb.util.list.SortedLinkedListNode
 
linkBefore(T) - Method in class org.fusesource.hawtdb.util.list.LinkedNode
 
linkBefore(LinkedNodeList<T>) - Method in class org.fusesource.hawtdb.util.list.LinkedNode
 
linkBefore(T) - Method in class org.fusesource.hawtdb.util.list.SortedLinkedListNode
 
LinkedNode<T extends LinkedNode<T>> - Class in org.fusesource.hawtdb.util.list
Provides a base class for you to extend when you want object to maintain a doubly linked list to other objects without using a collection class.
LinkedNode() - Constructor for class org.fusesource.hawtdb.util.list.LinkedNode
 
LinkedNodeList<T extends LinkedNode<T>> - Class in org.fusesource.hawtdb.util.list
Provides a list of LinkedNode objects.
LinkedNodeList() - Constructor for class org.fusesource.hawtdb.util.list.LinkedNodeList
 
linkToHead(LinkedNodeList<T>) - Method in class org.fusesource.hawtdb.util.list.LinkedNode
 
linkToHead(SortedLinkedList<T>) - Method in class org.fusesource.hawtdb.util.list.SortedLinkedListNode
Adds the specified node to the head of the list.
linkToTail(LinkedNodeList<T>) - Method in class org.fusesource.hawtdb.util.list.LinkedNode
 
list - Variable in class org.fusesource.hawtdb.util.list.LinkedNode
 
list - Variable in class org.fusesource.hawtdb.util.list.SortedLinkedListNode
 
load(Paged, int) - Method in class org.fusesource.hawtdb.api.AbstractStreamPagedAccessor
 
load(Paged, int) - Method in interface org.fusesource.hawtdb.api.PagedAccessor
Load a value from a specified page.
LONG_COMPARATOR - Static variable in class org.fusesource.hawtdb.util.Comparators
Compares Long objects for order.
lower(long, boolean) - Method in class org.fusesource.hawtdb.util.list.SortedLinkedList
 
lowerEntry(K) - Method in class org.fusesource.hawtdb.util.TreeMap
Returns a key-value mapping associated with the greatest key strictly less than the given key, or null if there is no such key
LRUCache<K,V> - Class in org.fusesource.hawtdb.util
A Simple LRU Cache
LRUCache() - Constructor for class org.fusesource.hawtdb.util.LRUCache
Default constructor for an LRU Cache The default capacity is 10000
LRUCache(int) - Constructor for class org.fusesource.hawtdb.util.LRUCache
Constructs a LRUCache with a maximum capacity
LRUCache(int, int, float, boolean) - Constructor for class org.fusesource.hawtdb.util.LRUCache
Constructs an empty LRUCache instance with the specified initial capacity, maximumCacheSize,load factor and ordering mode.
lt(Key) - Static method in class org.fusesource.hawtdb.api.Predicates
 
lte(Key) - Static method in class org.fusesource.hawtdb.api.Predicates
 
lte(Key, Key) - Static method in class org.fusesource.hawtdb.api.Predicates
 

M

MAX_DIR_NAME_LENGTH - Static variable in class org.fusesource.hawtdb.util.IOHelper
 
MAX_FILE_NAME_LENGTH - Static variable in class org.fusesource.hawtdb.util.IOHelper
 
maxCacheSize - Variable in class org.fusesource.hawtdb.util.LRUCache
 
maxPages - Variable in class org.fusesource.hawtdb.api.PageFileFactory
 
mkdirs(File) - Static method in class org.fusesource.hawtdb.util.IOHelper
 
moveFile(File, File) - Static method in class org.fusesource.hawtdb.util.IOHelper
 

N

next - Variable in class org.fusesource.hawtdb.util.list.LinkedNode
 
next - Variable in class org.fusesource.hawtdb.util.list.SortedLinkedListNode
 
next() - Method in class org.fusesource.hawtdb.util.TreeMap.TreeEntry
 
none() - Static method in class org.fusesource.hawtdb.api.Predicates
 

O

onFlush(Runnable) - Method in interface org.fusesource.hawtdb.api.Transaction
Committed transactions do not get written to physical media immediately, they get batched up with other Transaction to increase update throughput.
open(Paged, int) - Method in class org.fusesource.hawtdb.api.BTreeIndexFactory
Loads an existing BTree index from the paged object.
open(Paged) - Method in class org.fusesource.hawtdb.api.BTreeIndexFactory
Loads an existing BTree index from the paged object.
open(Paged, int) - Method in class org.fusesource.hawtdb.api.HashIndexFactory
Loads an existing hash index from the paged object.
open(Paged) - Method in class org.fusesource.hawtdb.api.HashIndexFactory
Loads an existing hash index from the paged object.
open(Paged, int) - Method in interface org.fusesource.hawtdb.api.IndexFactory
 
open(Paged) - Method in interface org.fusesource.hawtdb.api.IndexFactory
 
open() - Method in class org.fusesource.hawtdb.api.PageFileFactory
Opens the PageFile object.
open() - Method in class org.fusesource.hawtdb.api.TxPageFileFactory
Opens the TxPageFile object.
OptimisticUpdateException - Exception in org.fusesource.hawtdb.api
Thrown when transactional operation fails to apply because another transaction has already updated the values there were seem and are being updated by the current transaction.
OptimisticUpdateException() - Constructor for exception org.fusesource.hawtdb.api.OptimisticUpdateException
 
OptimisticUpdateException(String, Throwable) - Constructor for exception org.fusesource.hawtdb.api.OptimisticUpdateException
 
OptimisticUpdateException(String) - Constructor for exception org.fusesource.hawtdb.api.OptimisticUpdateException
 
OptimisticUpdateException(Throwable) - Constructor for exception org.fusesource.hawtdb.api.OptimisticUpdateException
 
or(Predicate<Key>...) - Static method in class org.fusesource.hawtdb.api.Predicates
 
or(List<Predicate<Key>>) - Static method in class org.fusesource.hawtdb.api.Predicates
 
org.fusesource.hawtdb.api - package org.fusesource.hawtdb.api
The HawDB client API As implementation interfaces harden up, they will get moved into this package.
org.fusesource.hawtdb.util - package org.fusesource.hawtdb.util
 
org.fusesource.hawtdb.util.list - package org.fusesource.hawtdb.util.list
 
OutOfSpaceException - Exception in org.fusesource.hawtdb.api
Thrown when you have run out of storage space on your page file.
OutOfSpaceException() - Constructor for exception org.fusesource.hawtdb.api.OutOfSpaceException
 
OutOfSpaceException(String, Throwable) - Constructor for exception org.fusesource.hawtdb.api.OutOfSpaceException
 
OutOfSpaceException(String) - Constructor for exception org.fusesource.hawtdb.api.OutOfSpaceException
 
OutOfSpaceException(Throwable) - Constructor for exception org.fusesource.hawtdb.api.OutOfSpaceException
 

P

Paged - Interface in org.fusesource.hawtdb.api
Implemented by objects which provides block io access to pages on file.
Paged.SliceType - Enum in org.fusesource.hawtdb.api
 
PagedAccessor<T> - Interface in org.fusesource.hawtdb.api
Encodes objects to a page file and decodes them from a page file.
PageFile - Interface in org.fusesource.hawtdb.api
A page file provides paged access to a physical file.
PageFileFactory - Class in org.fusesource.hawtdb.api
A factory to create PageFile objects.
PageFileFactory() - Constructor for class org.fusesource.hawtdb.api.PageFileFactory
 
pages(int) - Method in interface org.fusesource.hawtdb.api.Paged
 
pageSize - Variable in class org.fusesource.hawtdb.api.PageFileFactory
 
pagesLinked(Paged, int) - Method in class org.fusesource.hawtdb.api.AbstractStreamPagedAccessor
 
pagesLinked(Paged, int) - Method in interface org.fusesource.hawtdb.api.PagedAccessor
Returns a list of the pages linked to the specified page.
PagingException - Exception in org.fusesource.hawtdb.api
The root of all exceptions thrown by all Paged object operations.
PagingException() - Constructor for exception org.fusesource.hawtdb.api.PagingException
 
PagingException(String, Throwable) - Constructor for exception org.fusesource.hawtdb.api.PagingException
 
PagingException(String) - Constructor for exception org.fusesource.hawtdb.api.PagingException
 
PagingException(Throwable) - Constructor for exception org.fusesource.hawtdb.api.PagingException
 
Predicate<Key> - Interface in org.fusesource.hawtdb.api
A predicate is used to narrow down the keys that an application is interested in accessing.
Predicates - Class in org.fusesource.hawtdb.api
Implements commonly used Predicates like AND, OR, <, > etc. etc.
Predicates() - Constructor for class org.fusesource.hawtdb.api.Predicates
 
Prefixer<Key> - Interface in org.fusesource.hawtdb.api
Interface used to determine the simple prefix of two keys.
prev - Variable in class org.fusesource.hawtdb.util.list.LinkedNode
 
prev - Variable in class org.fusesource.hawtdb.util.list.SortedLinkedListNode
 
previous() - Method in class org.fusesource.hawtdb.util.TreeMap.TreeEntry
 
PROPERTY_PREFIX - Static variable in class org.fusesource.hawtdb.api.HashIndexFactory
 
put(Key, Value) - Method in interface org.fusesource.hawtdb.api.Index
store the key, item
put(PagedAccessor<T>, int, T) - Method in interface org.fusesource.hawtdb.api.Paged
Put an object at a given page.
put(K, V) - Method in class org.fusesource.hawtdb.util.TreeMap
 
putAll(Map<? extends K, ? extends V>) - Method in class org.fusesource.hawtdb.util.TreeMap
 
putIfAbsent(Key, Value) - Method in interface org.fusesource.hawtdb.api.Index
get the value at the given key, or put it if null.

R

range() - Method in class org.fusesource.hawtdb.util.list.Sequence
 
read(int, Buffer) - Method in interface org.fusesource.hawtdb.api.Paged
Copies the contents of a page into the buffer space.
remove(Key) - Method in interface org.fusesource.hawtdb.api.Index
remove the index key
remove(T) - Method in class org.fusesource.hawtdb.util.list.SortedLinkedList
 
remove(K) - Method in class org.fusesource.hawtdb.util.TreeMap
 
removeEldestEntry(Map.Entry<K, V>) - Method in class org.fusesource.hawtdb.util.LRUCache
 
removeEntry(TreeMap.TreeEntry<K, V>) - Method in class org.fusesource.hawtdb.util.TreeMap
complicated red-black delete stuff.
removeFirst() - Method in class org.fusesource.hawtdb.util.list.SequenceSet
Removes and returns the first element from this list.
removeFirstSequence(long) - Method in class org.fusesource.hawtdb.util.list.SequenceSet
Removes and returns the first sequence that is count range large.
removeLastSequence() - Method in class org.fusesource.hawtdb.util.list.SequenceSet
 
reparent(LinkedNodeList<T>) - Method in class org.fusesource.hawtdb.util.list.LinkedNodeList
 
rollback() - Method in interface org.fusesource.hawtdb.api.Transaction
 
rotate() - Method in class org.fusesource.hawtdb.util.list.LinkedNodeList
Move the head to the tail and returns the new head node.
rotateTo(T) - Method in class org.fusesource.hawtdb.util.list.LinkedNodeList
Move the head to the tail and returns the new head node.
run() - Method in class org.fusesource.hawtdb.util.SchedulerTimerTask
 

S

Scheduler - Class in org.fusesource.hawtdb.util
 
SchedulerTimerTask - Class in org.fusesource.hawtdb.util
A TimeTask for a Runnable object
SchedulerTimerTask(Runnable) - Constructor for class org.fusesource.hawtdb.util.SchedulerTimerTask
 
Sequence - Class in org.fusesource.hawtdb.util.list
Represents a range of numbers.
Sequence(long) - Constructor for class org.fusesource.hawtdb.util.list.Sequence
 
Sequence(long, long) - Constructor for class org.fusesource.hawtdb.util.list.Sequence
 
Sequence.Closure<T extends java.lang.Throwable> - Interface in org.fusesource.hawtdb.util.list
 
SequenceSet - Class in org.fusesource.hawtdb.util.list
Keeps track of a added long values.
SequenceSet() - Constructor for class org.fusesource.hawtdb.util.list.SequenceSet
 
setBucketCapacity(int) - Method in class org.fusesource.hawtdb.api.HashIndexFactory
sets the initial bucket capacity.
setCacheSize(int) - Method in class org.fusesource.hawtdb.api.TxPageFileFactory
 
setComparator(Comparator) - Method in class org.fusesource.hawtdb.api.BTreeIndexFactory
Configures a custom Comparator used to sort the keys in the index.
setDeferredEncoding(boolean) - Method in class org.fusesource.hawtdb.api.BTreeIndexFactory
When deferred encoding is enabled, the index avoids encoding keys and values for as long as possible so take advantage of collapsing multiple updates of the same key/value into a single update operation and single encoding operation.
setDeferredEncoding(boolean) - Method in class org.fusesource.hawtdb.api.HashIndexFactory
When deferred encoding is enabled, the index avoids encoding keys and values for as long as possible so take advantage of collapsing multiple updates of the same key/value into a single update operation and single encoding operation.
setDrainOnClose(boolean) - Method in class org.fusesource.hawtdb.api.TxPageFileFactory
 
setFile(File) - Method in class org.fusesource.hawtdb.api.PageFileFactory
 
setFile(File) - Method in class org.fusesource.hawtdb.api.TxPageFileFactory
 
setFirst(long) - Method in class org.fusesource.hawtdb.util.list.Sequence
 
setFixedCapacity(int) - Method in class org.fusesource.hawtdb.api.HashIndexFactory
Convenience method which sets the maximum, minimum and initial bucket capacity to be the specified value.
setFreeRanges(Ranges) - Method in interface org.fusesource.hawtdb.api.Allocator
 
setHeaderSize(int) - Method in class org.fusesource.hawtdb.api.PageFileFactory
 
setKeyCodec(Codec<Key>) - Method in class org.fusesource.hawtdb.api.BTreeIndexFactory
Allows you to configure custom marshalling logic to encode the index keys.
setKeyCodec(Codec<Key>) - Method in class org.fusesource.hawtdb.api.HashIndexFactory
Allows you to configure custom marshalling logic to encode the index keys.
setLast(long) - Method in class org.fusesource.hawtdb.util.list.Sequence
 
setLoadFactor(int) - Method in class org.fusesource.hawtdb.api.HashIndexFactory
Sets the index load factor.
setMappingSegementSize(int) - Method in class org.fusesource.hawtdb.api.PageFileFactory
 
setMappingSegementSize(int) - Method in class org.fusesource.hawtdb.api.TxPageFileFactory
 
setMaxCacheSize(int) - Method in class org.fusesource.hawtdb.util.LRUCache
 
setMaxFileSize(long) - Method in class org.fusesource.hawtdb.api.PageFileFactory
 
setMaxFileSize(long) - Method in class org.fusesource.hawtdb.api.TxPageFileFactory
 
setMaximumBucketCapacity(int) - Method in class org.fusesource.hawtdb.api.HashIndexFactory
Sets the maximum bucket capacity.
setMaxPages(int) - Method in class org.fusesource.hawtdb.api.PageFileFactory
 
setMaxPages(int) - Method in class org.fusesource.hawtdb.api.TxPageFileFactory
 
setMinimumBucketCapacity(int) - Method in class org.fusesource.hawtdb.api.HashIndexFactory
Sets the minimum bucket capacity.
setPageSize(short) - Method in class org.fusesource.hawtdb.api.PageFileFactory
 
setPageSize(short) - Method in class org.fusesource.hawtdb.api.TxPageFileFactory
 
setPrefixer(Prefixer<Key>) - Method in class org.fusesource.hawtdb.api.BTreeIndexFactory
 
setSync(boolean) - Method in class org.fusesource.hawtdb.api.TxPageFileFactory
 
setUseWorkerThread(boolean) - Method in class org.fusesource.hawtdb.api.TxPageFileFactory
 
setValue(V) - Method in class org.fusesource.hawtdb.util.TreeMap.TreeEntry
 
setValueCodec(Codec<Value>) - Method in class org.fusesource.hawtdb.api.BTreeIndexFactory
Allows you to configure custom marshalling logic to encode the index values.
setValueCodec(Codec<Value>) - Method in class org.fusesource.hawtdb.api.HashIndexFactory
Allows you to configure custom marshalling logic to encode the index values.
shutdown() - Static method in class org.fusesource.hawtdb.util.Scheduler
 
size() - Method in interface org.fusesource.hawtdb.api.Index
 
size() - Method in class org.fusesource.hawtdb.util.list.LinkedNodeList
 
size() - Method in class org.fusesource.hawtdb.util.list.SortedLinkedList
 
size() - Method in class org.fusesource.hawtdb.util.TreeMap
 
slice(Paged.SliceType, int, int) - Method in interface org.fusesource.hawtdb.api.Paged
Provides direct access to the memory associated with a page.
SortedIndex<Key,Value> - Interface in org.fusesource.hawtdb.api
Provides Key/Value storage and retrieval.
SortedLinkedList<T extends SortedLinkedListNode<T>> - Class in org.fusesource.hawtdb.util.list
 
SortedLinkedList() - Constructor for class org.fusesource.hawtdb.util.list.SortedLinkedList
 
SortedLinkedListNode<T extends SortedLinkedListNode<T>> - Class in org.fusesource.hawtdb.util.list
 
SortedLinkedListNode() - Constructor for class org.fusesource.hawtdb.util.list.SortedLinkedListNode
 
splitAfter() - Method in class org.fusesource.hawtdb.util.list.LinkedNode
Splits the list into 2 lists.
splitBefore() - Method in class org.fusesource.hawtdb.util.list.LinkedNode
Splits the list into 2 lists.
store(Paged, int, T) - Method in class org.fusesource.hawtdb.api.AbstractStreamPagedAccessor
 
store(Paged, int, T) - Method in interface org.fusesource.hawtdb.api.PagedAccessor
Store a value at the specified page.
StringPrefixer - Class in org.fusesource.hawtdb.api
StringPrefixer is a Prefixer implementation that works on strings.
StringPrefixer() - Constructor for class org.fusesource.hawtdb.api.StringPrefixer
 
StringSupport - Class in org.fusesource.hawtdb.util
Helper class to hold common text/string manipulation methods.
StringSupport() - Constructor for class org.fusesource.hawtdb.util.StringSupport
 
sync - Variable in class org.fusesource.hawtdb.api.TxPageFileFactory
 
sync(FileDescriptor) - Method in interface org.fusesource.hawtdb.util.IOHelper.IOStrategy
 
sync(FileDescriptor) - Static method in class org.fusesource.hawtdb.util.IOHelper
 

T

toArray(T[]) - Method in class org.fusesource.hawtdb.util.list.LinkedNodeList
Copies the nodes of the LinkedNodeList to the specified array.
toArrayList() - Method in class org.fusesource.hawtdb.util.list.LinkedNodeList
Copies the nodes of the LinkedNodeList to an ArrayList.
toArrayList() - Method in class org.fusesource.hawtdb.util.list.SortedLinkedList
Copies the nodes of the LinkedNodeList to an ArrayList.
toArrayListReversed() - Method in class org.fusesource.hawtdb.util.list.LinkedNodeList
Copies the nodes of the LinkedNodeList to an ArrayList in reverse order.
toBytesFromHex(String) - Static method in class org.fusesource.hawtdb.util.HexSupport
 
toFileSystemDirectorySafeName(String) - Static method in class org.fusesource.hawtdb.util.IOHelper
Converts any string into a string that is safe to use as a file name.
toFileSystemSafeName(String) - Static method in class org.fusesource.hawtdb.util.IOHelper
 
toFileSystemSafeName(String, boolean, int) - Static method in class org.fusesource.hawtdb.util.IOHelper
Converts any string into a string that is safe to use as a file name.
toHexFromBytes(byte[]) - Static method in class org.fusesource.hawtdb.util.HexSupport
 
toHexFromInt(int, boolean) - Static method in class org.fusesource.hawtdb.util.HexSupport
 
toString() - Method in class org.fusesource.hawtdb.api.BTreeIndexFactory
 
toString() - Method in class org.fusesource.hawtdb.util.list.LinkedNodeList
 
toString() - Method in class org.fusesource.hawtdb.util.list.Sequence
 
toString() - Method in class org.fusesource.hawtdb.util.list.SortedLinkedList
 
toString() - Method in class org.fusesource.hawtdb.util.TreeMap.TreeEntry
 
Transaction - Interface in org.fusesource.hawtdb.api
Provides transactional access to a Paged resource.
TreeMap<K,V> - Class in org.fusesource.hawtdb.util
A TreeMap that is lighter weight than the Sun implementation with implementations for upper/lower/floor/ceiling accessors.
TreeMap() - Constructor for class org.fusesource.hawtdb.util.TreeMap
 
TreeMap(Comparator<? super K>) - Constructor for class org.fusesource.hawtdb.util.TreeMap
 
TreeMap.TreeEntry<K,V> - Class in org.fusesource.hawtdb.util
 
tx() - Method in interface org.fusesource.hawtdb.api.TxPageFile
Creates a new transaction.
TxPageFile - Interface in org.fusesource.hawtdb.api
Implemented by objects to provides transactional access to a page file.
TxPageFileFactory - Class in org.fusesource.hawtdb.api
A factory to create TxPageFile objects.
TxPageFileFactory() - Constructor for class org.fusesource.hawtdb.api.TxPageFileFactory
 

U

unfree(int, int) - Method in interface org.fusesource.hawtdb.api.Allocator
Undoes a previous free method call.
unlink() - Method in class org.fusesource.hawtdb.util.list.LinkedNode
Removes this node out of the linked list it is chained in.
unlink() - Method in class org.fusesource.hawtdb.util.list.SortedLinkedListNode
Removes this node out of the linked list it is chained in.
unslice(ByteBuffer) - Method in interface org.fusesource.hawtdb.api.Paged
 
upper(long, boolean) - Method in class org.fusesource.hawtdb.util.list.SortedLinkedList
 
upperEntry(K) - Method in class org.fusesource.hawtdb.util.TreeMap
Returns a key-value mapping associated with the lowest key strictly greater than the given key, or null if there is no such key
useWorkerThread - Variable in class org.fusesource.hawtdb.api.TxPageFileFactory
 

V

valueOf(String) - Static method in enum org.fusesource.hawtdb.api.Paged.SliceType
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.fusesource.hawtdb.api.Paged.SliceType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Method in class org.fusesource.hawtdb.util.TreeMap
 
visit(List<Key>, List<Value>, Comparator) - Method in interface org.fusesource.hawtdb.api.IndexVisitor
The keys and values of an index node.
visit(IndexVisitor<Key, Value>) - Method in interface org.fusesource.hawtdb.api.SortedIndex
Traverses the visitor over the stored entries in this index.
visitor(Predicate<Key>) - Static method in class org.fusesource.hawtdb.api.Predicates
 

W

write(int, Buffer) - Method in interface org.fusesource.hawtdb.api.Paged
Copies the buffer into the page.
write(int, ByteBuffer) - Method in interface org.fusesource.hawtdb.api.PageFile
Writes a byte buffer to a page location.

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

Copyright © 2009-2011 FuseSource, Corp.. All Rights Reserved.