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

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(int) - Method in class org.fusesource.hawtdb.internal.util.Ranges
 
add(int, int) - Method in class org.fusesource.hawtdb.internal.util.Ranges
 
add(Sequence) - Method in class org.fusesource.hawtdb.util.list.SequenceSet
 
add(long) - Method in class org.fusesource.hawtdb.util.list.SequenceSet
 
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)
alloc() - Method in class org.fusesource.hawtdb.internal.page.HawtPageFile
 
alloc(int) - Method in class org.fusesource.hawtdb.internal.page.SimpleAllocator
 
Allocator - Interface in org.fusesource.hawtdb.api
Handles allocation management of resources.
allocator() - Method in interface org.fusesource.hawtdb.api.Paged
 
allocator() - Method in class org.fusesource.hawtdb.internal.page.HawtPageFile
 
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
 
append(long, ByteBuffer, Runnable) - Method in interface org.fusesource.hawtdb.api.Journal
 

B

BRANCH_MAGIC - Static variable in class org.fusesource.hawtdb.internal.index.BTreeNode
 
BTreeIndex<Key,Value> - Class in org.fusesource.hawtdb.internal.index
A variable magnitude b+tree indexes with support for optional simple-prefix optimization.
BTreeIndex(Paged, int, BTreeIndexFactory<Key, Value>) - Constructor for class org.fusesource.hawtdb.internal.index.BTreeIndex
 
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
 
BTreeNode<Key,Value> - Class in org.fusesource.hawtdb.internal.index
The BTreeNode class represents a node in the BTree object graph.
BTreeNode(BTreeNode<Key, Value>, int) - Constructor for class org.fusesource.hawtdb.internal.index.BTreeNode
 
BTreeNode(BTreeNode<Key, Value>, int, BTreeNode.Data<Key, Value>) - Constructor for class org.fusesource.hawtdb.internal.index.BTreeNode
 
BTreeNode.DataPagedAccessor<Key,Value> - Class in org.fusesource.hawtdb.internal.index
 

C

cache() - Method in class org.fusesource.hawtdb.internal.page.ReadCache
 
cacheLoad(PagedAccessor<T>, int) - Method in class org.fusesource.hawtdb.internal.page.ReadCache
 
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.
ChannelTransfer(FileChannel, long, long) - Constructor for class org.fusesource.hawtdb.internal.io.MemoryMappedFile.ChannelTransfer
 
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.internal.index.BTreeIndex
 
clear(BTreeIndex<Key, Value>) - Method in class org.fusesource.hawtdb.internal.index.BTreeNode
 
clear() - Method in class org.fusesource.hawtdb.internal.index.HashIndex
 
clear(PagedAccessor<T>, int) - Method in class org.fusesource.hawtdb.internal.page.HawtPageFile
 
clear() - Method in class org.fusesource.hawtdb.internal.page.LFUPageCache
 
clear() - Method in class org.fusesource.hawtdb.internal.page.NoOpPageCache
 
clear() - Method in interface org.fusesource.hawtdb.internal.page.PageCache
 
clear() - Method in class org.fusesource.hawtdb.internal.page.SimpleAllocator
 
clear() - Method in class org.fusesource.hawtdb.internal.util.Ranges
 
clear() - Method in class org.fusesource.hawtdb.util.LFUCache
 
clear() - Method in class org.fusesource.hawtdb.util.list.LinkedNodeList
 
clear() - Method in class org.fusesource.hawtdb.util.TreeMap
Clears all elements in this map.
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.
close() - Method in class org.fusesource.hawtdb.internal.io.MemoryMappedFile
 
close() - Method in class org.fusesource.hawtdb.internal.io.MemoryMappedFileFactory
 
close() - Method in class org.fusesource.hawtdb.internal.page.ExtentInputStream
 
close() - Method in class org.fusesource.hawtdb.internal.page.ExtentOutputStream
 
close() - Method in class org.fusesource.hawtdb.internal.page.HawtPageFile
 
close() - Method in class org.fusesource.hawtdb.internal.page.HawtTxPageFile
 
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(BTreeIndex<Key, Value>, Key) - Method in class org.fusesource.hawtdb.internal.index.BTreeNode
 
contains(int) - Method in class org.fusesource.hawtdb.internal.util.Ranges
 
contains(int) - Method in class org.fusesource.hawtdb.internal.util.Ranges.Range
 
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(Key) - Method in class org.fusesource.hawtdb.internal.index.BTreeIndex
 
containsKey(Key) - Method in class org.fusesource.hawtdb.internal.index.HashIndex
 
containsKey(K) - Method in class org.fusesource.hawtdb.util.TreeMap
 
containsValue(Object) - Method in class org.fusesource.hawtdb.util.TreeMap
 
copy() - Method in class org.fusesource.hawtdb.internal.util.Ranges
 
copy(Ranges) - Method in class org.fusesource.hawtdb.internal.util.Ranges
 
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
 
create(String, IndexFactory<Key, Value>) - Method in class org.fusesource.hawtdb.api.MultiIndexFactory
Create a new named index.
create() - Method in class org.fusesource.hawtdb.internal.index.BTreeIndex
 
create() - Method in class org.fusesource.hawtdb.internal.index.HashIndex
 

D

DataPagedAccessor(BTreeIndex<Key, Value>) - Constructor for class org.fusesource.hawtdb.internal.index.BTreeNode.DataPagedAccessor
 
debug(String, Object...) - Static method in class org.fusesource.hawtdb.internal.index.Logging
 
decode(Paged, DataInputStream) - Method in class org.fusesource.hawtdb.api.AbstractStreamPagedAccessor
 
decode(Paged, DataInputStream) - Method in class org.fusesource.hawtdb.api.CodecPagedAccessor
 
decode(Paged, DataInputStream) - Method in class org.fusesource.hawtdb.internal.index.BTreeNode.DataPagedAccessor
 
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_MAGIC - Static variable in class org.fusesource.hawtdb.internal.page.Extent
 
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.
destroy() - Method in class org.fusesource.hawtdb.internal.index.BTreeIndex
 
destroy() - Method in class org.fusesource.hawtdb.internal.index.HashIndex
 
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
 
encode(Paged, DataOutputStream, BTreeNode.Data<Key, Value>) - Method in class org.fusesource.hawtdb.internal.index.BTreeNode.DataPagedAccessor
 
end - Variable in class org.fusesource.hawtdb.internal.util.Ranges.Range
 
entrySet() - Method in class org.fusesource.hawtdb.util.TreeMap
 
equals(Object) - Method in class org.fusesource.hawtdb.internal.util.Ranges.Range
 
equals(Object) - Method in class org.fusesource.hawtdb.util.TreeMap.TreeEntry
 
error(String, Object...) - Static method in class org.fusesource.hawtdb.internal.index.Logging
 
execute(long) - Method in interface org.fusesource.hawtdb.util.list.Sequence.Closure
 
Extent - Class in org.fusesource.hawtdb.internal.page
An extent is a sequence of adjacent pages which can be linked to subsequent extents.
Extent(Paged, int) - Constructor for class org.fusesource.hawtdb.internal.page.Extent
 
Extent(Paged, int, Buffer) - Constructor for class org.fusesource.hawtdb.internal.page.Extent
 
ExtentInputStream - Class in org.fusesource.hawtdb.internal.page
An InputStream which reads it's data from an extent previously written with the ExtentOutputStream.
ExtentInputStream(Paged, int) - Constructor for class org.fusesource.hawtdb.internal.page.ExtentInputStream
 
ExtentOutputStream - Class in org.fusesource.hawtdb.internal.page
 
ExtentOutputStream(Paged) - Constructor for class org.fusesource.hawtdb.internal.page.ExtentOutputStream
 
ExtentOutputStream(Paged, short) - Constructor for class org.fusesource.hawtdb.internal.page.ExtentOutputStream
 
ExtentOutputStream(Paged, int, short, short) - Constructor for class org.fusesource.hawtdb.internal.page.ExtentOutputStream
 

F

FILE_HEADER_SIZE - Static variable in class org.fusesource.hawtdb.internal.page.HawtTxPageFile
 
fillString(int, char) - Static method in class org.fusesource.hawtdb.util.StringSupport
 
first - Variable in class org.fusesource.hawtdb.util.list.Sequence
 
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.
flush() - Method in class org.fusesource.hawtdb.internal.page.HawtPageFile
 
flush() - Method in class org.fusesource.hawtdb.internal.page.HawtTxPageFile
 
flush(Runnable) - Method in class org.fusesource.hawtdb.internal.page.HawtTxPageFile
 
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)
free(Paged, int) - Static method in class org.fusesource.hawtdb.internal.page.Extent
Frees the extent at the provided page id.
free(Paged, int, Buffer) - Static method in class org.fusesource.hawtdb.internal.page.Extent
 
free(int) - Method in class org.fusesource.hawtdb.internal.page.HawtPageFile
 
free(int, int) - Method in class org.fusesource.hawtdb.internal.page.SimpleAllocator
 
freeLinked(Paged, int) - Static method in class org.fusesource.hawtdb.internal.page.Extent
Frees the linked extents at the provided page id.
freeLinked(Paged, int, Buffer) - Static method in class org.fusesource.hawtdb.internal.page.Extent
 
frequencyOf(Key) - Method in class org.fusesource.hawtdb.util.LFUCache
 

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(Key) - Method in class org.fusesource.hawtdb.internal.index.BTreeIndex
 
get(BTreeIndex<Key, Value>, Key) - Method in class org.fusesource.hawtdb.internal.index.BTreeNode
 
get(Key) - Method in class org.fusesource.hawtdb.internal.index.HashIndex
 
get(PagedAccessor<T>, int) - Method in class org.fusesource.hawtdb.internal.page.HawtPageFile
 
get(Integer) - Method in class org.fusesource.hawtdb.internal.page.LFUPageCache
 
get(Integer) - Method in class org.fusesource.hawtdb.internal.page.NoOpPageCache
 
get(Integer) - Method in interface org.fusesource.hawtdb.internal.page.PageCache
 
get(Key) - Method in class org.fusesource.hawtdb.util.LFUCache
 
get(K) - Method in class org.fusesource.hawtdb.util.TreeMap
 
getBucketCapacity() - Method in class org.fusesource.hawtdb.api.HashIndexFactory
 
getComparator() - Method in class org.fusesource.hawtdb.api.BTreeIndexFactory
Gets the custom configured Comparator used to sort the keys in the index.
getComparator() - Method in class org.fusesource.hawtdb.internal.index.BTreeIndex
 
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
 
getExtentSize() - Method in class org.fusesource.hawtdb.internal.page.ExtentOutputStream
 
getFile() - Method in class org.fusesource.hawtdb.api.PageFileFactory
 
getFile() - Method in class org.fusesource.hawtdb.api.TxPageFileFactory
 
getFile() - Method in class org.fusesource.hawtdb.internal.io.MemoryMappedFileFactory
 
getFile() - Method in class org.fusesource.hawtdb.internal.page.HawtPageFile
 
getFirst() - Method in interface org.fusesource.hawtdb.api.SortedIndex
 
getFirst() - Method in class org.fusesource.hawtdb.internal.index.BTreeIndex
 
getFirst(BTreeIndex<Key, Value>) - Method in class org.fusesource.hawtdb.internal.index.BTreeNode
 
getFirst() - Method in class org.fusesource.hawtdb.util.list.Sequence
 
getFirstLeafNode(BTreeIndex<Key, Value>) - Method in class org.fusesource.hawtdb.internal.index.BTreeNode
 
getFreeRanges() - Method in interface org.fusesource.hawtdb.api.Allocator
 
getFreeRanges() - Method in class org.fusesource.hawtdb.internal.page.SimpleAllocator
 
getHead() - Method in class org.fusesource.hawtdb.util.list.LinkedNodeList
 
getHeaderSize() - Method in class org.fusesource.hawtdb.api.PageFileFactory
 
getHeaderSize() - Method in class org.fusesource.hawtdb.internal.page.HawtPageFile
 
getHeadNode() - Method in class org.fusesource.hawtdb.util.list.LinkedNode
 
getIndexLocation() - Method in interface org.fusesource.hawtdb.api.Index
 
getIndexLocation() - Method in class org.fusesource.hawtdb.internal.index.BTreeIndex
 
getIndexLocation() - Method in class org.fusesource.hawtdb.internal.index.HashIndex
 
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.
getKeyMarshaller() - Method in class org.fusesource.hawtdb.internal.index.BTreeIndex
 
getLast() - Method in interface org.fusesource.hawtdb.api.SortedIndex
 
getLast() - Method in class org.fusesource.hawtdb.internal.index.BTreeIndex
 
getLast(BTreeIndex<Key, Value>) - Method in class org.fusesource.hawtdb.internal.index.BTreeNode
 
getLast() - Method in class org.fusesource.hawtdb.util.list.Sequence
 
getLength() - Method in class org.fusesource.hawtdb.internal.page.Extent
 
getLimit() - Method in interface org.fusesource.hawtdb.api.Allocator
 
getLimit() - Method in class org.fusesource.hawtdb.internal.page.SimpleAllocator
 
getList() - Method in class org.fusesource.hawtdb.util.list.LinkedNode
 
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
 
getMappingSegementSize() - Method in class org.fusesource.hawtdb.internal.io.MemoryMappedFileFactory
 
getMaximumBucketCapacity() - Method in class org.fusesource.hawtdb.api.HashIndexFactory
 
getMaxLeafDepth() - Method in class org.fusesource.hawtdb.internal.index.BTreeIndex
 
getMaxLeafDepth(BTreeIndex<Key, Value>, int) - Method in class org.fusesource.hawtdb.internal.index.BTreeNode
 
getMaxPages() - Method in class org.fusesource.hawtdb.api.PageFileFactory
 
getMaxPages() - Method in class org.fusesource.hawtdb.api.TxPageFileFactory
 
getMemoryMappedFile() - Method in class org.fusesource.hawtdb.internal.io.MemoryMappedFileFactory
 
getMinimumBucketCapacity() - Method in class org.fusesource.hawtdb.api.HashIndexFactory
 
getMinLeafDepth() - Method in class org.fusesource.hawtdb.internal.index.BTreeIndex
 
getMinLeafDepth(BTreeIndex<Key, Value>, int) - Method in class org.fusesource.hawtdb.internal.index.BTreeNode
 
getMissing(long, long) - Method in class org.fusesource.hawtdb.util.list.SequenceSet
 
getNext() - Method in class org.fusesource.hawtdb.internal.index.BTreeNode
 
getNext() - Method in class org.fusesource.hawtdb.internal.page.Extent
 
getNext() - Method in class org.fusesource.hawtdb.util.list.LinkedNode
 
getNextCircular() - Method in class org.fusesource.hawtdb.util.list.LinkedNode
 
getPage() - Method in class org.fusesource.hawtdb.internal.index.BTreeNode
 
getPage() - Method in class org.fusesource.hawtdb.internal.page.Extent
 
getPage() - Method in class org.fusesource.hawtdb.internal.page.ExtentOutputStream
 
getPageCache() - Method in class org.fusesource.hawtdb.api.TxPageFileFactory
 
getPaged() - Method in class org.fusesource.hawtdb.internal.index.BTreeIndex
 
getPageFile() - Method in class org.fusesource.hawtdb.api.PageFileFactory
 
getPages() - Method in class org.fusesource.hawtdb.internal.page.ExtentInputStream
 
getPages() - Method in class org.fusesource.hawtdb.internal.page.ExtentOutputStream
 
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
 
getPageSize() - Method in class org.fusesource.hawtdb.internal.page.HawtPageFile
 
getParent() - Method in class org.fusesource.hawtdb.internal.index.BTreeNode
 
getPrefixer() - Method in class org.fusesource.hawtdb.api.BTreeIndexFactory
 
getPrefixer() - Method in class org.fusesource.hawtdb.internal.index.BTreeIndex
 
getPrevious() - Method in class org.fusesource.hawtdb.util.list.LinkedNode
 
getPreviousCircular() - Method in class org.fusesource.hawtdb.util.list.LinkedNode
 
getReceived() - Method in class org.fusesource.hawtdb.util.list.SequenceSet
 
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.

When this method is called, the following is guaranteed:
value1 < 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
 
getTailNode() - Method in class org.fusesource.hawtdb.util.list.LinkedNode
 
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.
getValueMarshaller() - Method in class org.fusesource.hawtdb.internal.index.BTreeIndex
 
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.internal.util.Ranges.Range
 
hashCode() - Method in class org.fusesource.hawtdb.util.TreeMap.TreeEntry
 
HashIndex<Key,Value> - Class in org.fusesource.hawtdb.internal.index
Hash Index implementation.
HashIndex(Paged, int, HashIndexFactory<Key, Value>) - Constructor for class org.fusesource.hawtdb.internal.index.HashIndex
 
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
 
HawtPageFile - Class in org.fusesource.hawtdb.internal.page
Provides a PageFile interface to a MemoryMappedFile.
HawtPageFile(MemoryMappedFile, short, int, int, boolean) - Constructor for class org.fusesource.hawtdb.internal.page.HawtPageFile
 
HawtTxPageFile - Class in org.fusesource.hawtdb.internal.page
Provides concurrent page file access via Multiversion concurrency control (MVCC).
HawtTxPageFile(TxPageFileFactory, HawtPageFile) - Constructor for class org.fusesource.hawtdb.internal.page.HawtTxPageFile
 
head - Variable in class org.fusesource.hawtdb.util.list.LinkedNodeList
 
HEADER_SIZE - Static variable in class org.fusesource.hawtdb.internal.index.HashIndex
 
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.
indexes() - Method in class org.fusesource.hawtdb.api.MultiIndexFactory
List the names of all indexes stored in the paged object.
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
 
isAllocated(int) - Method in class org.fusesource.hawtdb.internal.page.SimpleAllocator
 
isBranch() - Method in class org.fusesource.hawtdb.internal.index.BTreeNode
 
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.internal.index.BTreeIndex
 
isEmpty(BTreeIndex<Key, Value>) - Method in class org.fusesource.hawtdb.internal.index.BTreeNode
 
isEmpty() - Method in class org.fusesource.hawtdb.internal.index.HashIndex
 
isEmpty() - Method in class org.fusesource.hawtdb.internal.util.Ranges
 
isEmpty() - Method in class org.fusesource.hawtdb.util.list.LinkedNodeList
 
isEmpty() - Method in class org.fusesource.hawtdb.util.TreeMap
 
isHeadNode() - Method in class org.fusesource.hawtdb.util.list.LinkedNode
 
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
 
isLeaf() - Method in class org.fusesource.hawtdb.internal.index.BTreeNode
 
isLinked() - Method in class org.fusesource.hawtdb.util.list.LinkedNode
 
isReadOnly() - Method in class org.fusesource.hawtdb.api.PageFileFactory
 
isReadOnly() - Method in interface org.fusesource.hawtdb.api.Transaction
 
isReadOnly() - Method in class org.fusesource.hawtdb.internal.io.MemoryMappedFileFactory
 
isSatiated() - Method in interface org.fusesource.hawtdb.api.IndexVisitor
 
isStoreFreePages() - Method in class org.fusesource.hawtdb.api.PageFileFactory
 
isSync() - Method in class org.fusesource.hawtdb.api.TxPageFileFactory
 
isTailNode() - Method in class org.fusesource.hawtdb.util.list.LinkedNode
 
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.internal.index.BTreeIndex
 
iterator(Predicate<Key>) - Method in class org.fusesource.hawtdb.internal.index.BTreeIndex
 
iterator(Key) - Method in class org.fusesource.hawtdb.internal.index.BTreeIndex
 
iterator(BTreeIndex<Key, Value>, Predicate<Key>) - Method in class org.fusesource.hawtdb.internal.index.BTreeNode
 
iterator(BTreeIndex<Key, Value>, Key) - Method in class org.fusesource.hawtdb.internal.index.BTreeNode
 
iterator(BTreeIndex<Key, Value>) - Method in class org.fusesource.hawtdb.internal.index.BTreeNode
 
iterator() - Method in class org.fusesource.hawtdb.internal.util.Ranges
 
iterator() - Method in class org.fusesource.hawtdb.util.list.LinkedNodeList
 
iteratorNotInRange(Ranges.Range) - Method in class org.fusesource.hawtdb.internal.util.Ranges
 

J

Journal - Interface in org.fusesource.hawtdb.api
Created by IntelliJ IDEA.

K

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

L

last - Variable in class org.fusesource.hawtdb.util.list.Sequence
 
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
 
LEAF_MAGIC - Static variable in class org.fusesource.hawtdb.internal.index.BTreeNode
 
LFUCache<Key,Value> - Class in org.fusesource.hawtdb.util
LFU cache implementation based on http://dhruvbird.com/lfu.pdf, with some notable differences: Frequency list is stored as an array with no next/prev pointers between nodes: looping over the array should be faster and more CPU-cache friendly than using an ad-hoc linked-pointers structure.
LFUCache(int, float) - Constructor for class org.fusesource.hawtdb.util.LFUCache
 
LFUPageCache<Integer,Value> - Class in org.fusesource.hawtdb.internal.page
 
LFUPageCache(int, float) - Constructor for class org.fusesource.hawtdb.internal.page.LFUPageCache
 
linkAfter(T) - Method in class org.fusesource.hawtdb.util.list.LinkedNode
 
linkAfter(LinkedNodeList<T>) - Method in class org.fusesource.hawtdb.util.list.LinkedNode
 
linkBefore(T) - Method in class org.fusesource.hawtdb.util.list.LinkedNode
 
linkBefore(LinkedNodeList<T>) - Method in class org.fusesource.hawtdb.util.list.LinkedNode
 
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
 
linkToTail(LinkedNodeList<T>) - Method in class org.fusesource.hawtdb.util.list.LinkedNode
 
list - Variable in class org.fusesource.hawtdb.util.list.LinkedNode
 
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.
lock() - Method in class org.fusesource.hawtdb.util.LockFile
 
LockFile - Class in org.fusesource.hawtdb.util
Used to lock a File.
LockFile(File, boolean) - Constructor for class org.fusesource.hawtdb.util.LockFile
 
Logging - Class in org.fusesource.hawtdb.internal.index
Logging() - Constructor for class org.fusesource.hawtdb.internal.index.Logging
 
Logging - Class in org.fusesource.hawtdb.internal.page
Logging() - Constructor for class org.fusesource.hawtdb.internal.page.Logging
 
LONG_COMPARATOR - Static variable in class org.fusesource.hawtdb.util.Comparators
Compares Long objects for order.
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
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

MAGIC - Static variable in class org.fusesource.hawtdb.internal.index.HashIndex
 
MAGIC - Static variable in class org.fusesource.hawtdb.internal.page.HawtTxPageFile
 
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
 
maxPages - Variable in class org.fusesource.hawtdb.api.PageFileFactory
 
MemoryMappedFile - Class in org.fusesource.hawtdb.internal.io
Provides Memory Mapped access to a file.
MemoryMappedFile(File, int, boolean) - Constructor for class org.fusesource.hawtdb.internal.io.MemoryMappedFile
 
MemoryMappedFile.ChannelTransfer - Class in org.fusesource.hawtdb.internal.io
 
MemoryMappedFileFactory - Class in org.fusesource.hawtdb.internal.io
Factory for MemoryMappedFile objects.
MemoryMappedFileFactory() - Constructor for class org.fusesource.hawtdb.internal.io.MemoryMappedFileFactory
 
mkdirs(File) - Static method in class org.fusesource.hawtdb.util.IOHelper
 
moveFile(File, File) - Static method in class org.fusesource.hawtdb.util.IOHelper
 
MultiIndexFactory - Class in org.fusesource.hawtdb.api
Special purpose index factory providing APIs to create and open several indexes at a given Paged object: each index is identified by a unique name, which must be used to refer to the index itself when opening or creating it.
MultiIndexFactory(Paged) - Constructor for class org.fusesource.hawtdb.api.MultiIndexFactory
 

N

next - Variable in class org.fusesource.hawtdb.util.list.LinkedNode
 
next() - Method in class org.fusesource.hawtdb.util.TreeMap.TreeEntry
 
none() - Static method in class org.fusesource.hawtdb.api.Predicates
 
NoOpPageCache<Integer,Value> - Class in org.fusesource.hawtdb.internal.page
 
NoOpPageCache() - Constructor for class org.fusesource.hawtdb.internal.page.NoOpPageCache
 

O

offset(long) - Method in class org.fusesource.hawtdb.internal.page.HawtPageFile
 
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(String, IndexFactory<Key, Value>) - Method in class org.fusesource.hawtdb.api.MultiIndexFactory
Open named index.
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.
open() - Method in class org.fusesource.hawtdb.internal.index.HashIndex
 
open() - Method in class org.fusesource.hawtdb.internal.io.MemoryMappedFileFactory
 
openOrCreate(Paged) - Method in class org.fusesource.hawtdb.api.BTreeIndexFactory
 
openOrCreate(Paged) - Method in class org.fusesource.hawtdb.api.HashIndexFactory
 
openOrCreate(Paged) - Method in interface org.fusesource.hawtdb.api.IndexFactory
 
openOrCreate(String, IndexFactory<Key, Value>) - Method in class org.fusesource.hawtdb.api.MultiIndexFactory
Open or create the named index.
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
org.fusesource.hawtdb.internal.index - package org.fusesource.hawtdb.internal.index
Index implementations.
org.fusesource.hawtdb.internal.io - package org.fusesource.hawtdb.internal.io
Provides low level IO access.
org.fusesource.hawtdb.internal.page - package org.fusesource.hawtdb.internal.page
Implementations paged IO.
org.fusesource.hawtdb.internal.util - package org.fusesource.hawtdb.internal.util
Collections and utility classes
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

PageCache<Integer,Value> - Interface in org.fusesource.hawtdb.internal.page
 
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
 
pages(Paged, int) - Static method in class org.fusesource.hawtdb.internal.page.Extent
 
pages(Paged, int, Buffer) - Static method in class org.fusesource.hawtdb.internal.page.Extent
 
pages(int) - Method in class org.fusesource.hawtdb.internal.page.HawtPageFile
 
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.
pagesLinked(Paged, int) - Static method in class org.fusesource.hawtdb.internal.page.Extent
Gets a listing of all the pages used by the extent at the specified page.
pagesLinked(Paged, int, Buffer) - Static method in class org.fusesource.hawtdb.internal.page.Extent
 
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
 
performBatches() - Method in class org.fusesource.hawtdb.internal.page.HawtTxPageFile
Attempts to perform a batch state change: stored -> performed Once a batch is performed, new snapshots will not reference the batch anymore.
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.
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
 
previous() - Method in class org.fusesource.hawtdb.util.TreeMap.TreeEntry
 
printStructure(PrintWriter) - Method in class org.fusesource.hawtdb.internal.index.BTreeIndex
 
printStructure(OutputStream) - Method in class org.fusesource.hawtdb.internal.index.BTreeIndex
 
printStructure(BTreeIndex<Key, Value>, PrintWriter, String, String) - Method in class org.fusesource.hawtdb.internal.index.BTreeNode
 
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(Key, Value) - Method in class org.fusesource.hawtdb.internal.index.BTreeIndex
 
put(BTreeIndex<Key, Value>, Key, Value) - Method in class org.fusesource.hawtdb.internal.index.BTreeNode
 
put(Key, Value) - Method in class org.fusesource.hawtdb.internal.index.HashIndex
 
put(PagedAccessor<T>, int, T) - Method in class org.fusesource.hawtdb.internal.page.HawtPageFile
 
put(Integer, Value) - Method in class org.fusesource.hawtdb.internal.page.LFUPageCache
 
put(Integer, Value) - Method in class org.fusesource.hawtdb.internal.page.NoOpPageCache
 
put(Integer, Value) - Method in interface org.fusesource.hawtdb.internal.page.PageCache
 
put(Key, Value) - Method in class org.fusesource.hawtdb.util.LFUCache
 
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.
putIfAbsent(Key, Value) - Method in class org.fusesource.hawtdb.internal.index.BTreeIndex
 
putIfAbsent(BTreeIndex<Key, Value>, Key, Value) - Method in class org.fusesource.hawtdb.internal.index.BTreeNode
 
putIfAbsent(Key, Value) - Method in class org.fusesource.hawtdb.internal.index.HashIndex
 

R

range(int, int) - Static method in class org.fusesource.hawtdb.internal.util.Ranges
 
Range(int, int) - Constructor for class org.fusesource.hawtdb.internal.util.Ranges.Range
 
range() - Method in class org.fusesource.hawtdb.util.list.Sequence
 
Ranges - Class in org.fusesource.hawtdb.internal.util
Tracks numeric ranges.
Ranges() - Constructor for class org.fusesource.hawtdb.internal.util.Ranges
 
Ranges.Range - Class in org.fusesource.hawtdb.internal.util
 
read(int, Buffer) - Method in interface org.fusesource.hawtdb.api.Paged
Copies the contents of a page into the buffer space.
read(long, byte[]) - Method in class org.fusesource.hawtdb.internal.io.MemoryMappedFile
 
read(long, Buffer) - Method in class org.fusesource.hawtdb.internal.io.MemoryMappedFile
 
read(long, byte[], int, int) - Method in class org.fusesource.hawtdb.internal.io.MemoryMappedFile
 
read(long, int) - Method in class org.fusesource.hawtdb.internal.io.MemoryMappedFile
 
read() - Method in class org.fusesource.hawtdb.internal.page.Extent
 
read(Buffer) - Method in class org.fusesource.hawtdb.internal.page.Extent
 
read() - Method in class org.fusesource.hawtdb.internal.page.ExtentInputStream
 
read(byte[], int, int) - Method in class org.fusesource.hawtdb.internal.page.ExtentInputStream
 
read(int, Buffer) - Method in class org.fusesource.hawtdb.internal.page.HawtPageFile
 
readCache() - Method in class org.fusesource.hawtdb.internal.page.HawtTxPageFile
 
ReadCache - Class in org.fusesource.hawtdb.internal.page
 
ReadCache(PageFile, PageCache<Integer, Object>) - Constructor for class org.fusesource.hawtdb.internal.page.ReadCache
 
readChannelTansfer(int, int) - Method in class org.fusesource.hawtdb.internal.io.MemoryMappedFile
 
readClose() - Method in class org.fusesource.hawtdb.internal.page.Extent
 
readExternal(ObjectInput) - Method in class org.fusesource.hawtdb.internal.util.Ranges
 
readExternal(DataInput) - Method in class org.fusesource.hawtdb.internal.util.Ranges
 
readHeader() - Method in class org.fusesource.hawtdb.internal.page.Extent
 
readOpen() - Method in class org.fusesource.hawtdb.internal.page.Extent
 
recover() - Method in class org.fusesource.hawtdb.internal.page.HawtTxPageFile
Loads an existing file and replays the batch logs to put it in a consistent state.
remove(Key) - Method in interface org.fusesource.hawtdb.api.Index
remove the index key
remove(Key) - Method in class org.fusesource.hawtdb.internal.index.BTreeIndex
 
remove(BTreeIndex<Key, Value>, Key) - Method in class org.fusesource.hawtdb.internal.index.BTreeNode
 
remove(Key) - Method in class org.fusesource.hawtdb.internal.index.HashIndex
 
remove(Integer) - Method in class org.fusesource.hawtdb.internal.page.LFUPageCache
 
remove(Integer) - Method in class org.fusesource.hawtdb.internal.page.NoOpPageCache
 
remove(Integer) - Method in interface org.fusesource.hawtdb.internal.page.PageCache
 
remove(int) - Method in class org.fusesource.hawtdb.internal.util.Ranges
 
remove(int, int) - Method in class org.fusesource.hawtdb.internal.util.Ranges
 
remove(Key) - Method in class org.fusesource.hawtdb.util.LFUCache
 
remove(K) - Method in class org.fusesource.hawtdb.util.TreeMap
 
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
 
reset() - Method in class org.fusesource.hawtdb.internal.page.HawtTxPageFile
Used to initialize a new file or to clear out the contents of an existing file.
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.

S

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 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.
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
 
setFile(File) - Method in class org.fusesource.hawtdb.internal.io.MemoryMappedFileFactory
 
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
 
setFreeRanges(Ranges) - Method in class org.fusesource.hawtdb.internal.page.SimpleAllocator
 
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
 
setMappingSegementSize(int) - Method in class org.fusesource.hawtdb.internal.io.MemoryMappedFileFactory
 
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.
setPage(int) - Method in class org.fusesource.hawtdb.internal.index.BTreeNode
 
setPageCache(PageCache) - Method in class org.fusesource.hawtdb.api.TxPageFileFactory
 
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
 
setReadOnly(boolean) - Method in class org.fusesource.hawtdb.api.PageFileFactory
 
setReadOnly(boolean) - Method in class org.fusesource.hawtdb.internal.io.MemoryMappedFileFactory
 
setStoreFreePages(boolean) - Method in class org.fusesource.hawtdb.api.PageFileFactory
 
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.
SimpleAllocator - Class in org.fusesource.hawtdb.internal.page
This class is used to provides allocation management of pages.
SimpleAllocator(int) - Constructor for class org.fusesource.hawtdb.internal.page.SimpleAllocator
 
size() - Method in interface org.fusesource.hawtdb.api.Index
 
size() - Method in class org.fusesource.hawtdb.internal.index.BTreeIndex
 
size(BTreeIndex<Key, Value>) - Method in class org.fusesource.hawtdb.internal.index.BTreeNode
 
size() - Method in class org.fusesource.hawtdb.internal.index.HashIndex
 
size() - Method in class org.fusesource.hawtdb.internal.page.LFUPageCache
 
size() - Method in class org.fusesource.hawtdb.internal.page.NoOpPageCache
 
size() - Method in interface org.fusesource.hawtdb.internal.page.PageCache
 
size() - Method in class org.fusesource.hawtdb.internal.util.Ranges.Range
 
size() - Method in class org.fusesource.hawtdb.internal.util.Ranges
 
size() - Method in class org.fusesource.hawtdb.util.LFUCache
 
size - Variable in class org.fusesource.hawtdb.util.list.LinkedNodeList
 
size() - Method in class org.fusesource.hawtdb.util.list.LinkedNodeList
 
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.
slice(boolean, long, int) - Method in class org.fusesource.hawtdb.internal.io.MemoryMappedFile
 
slice(Paged.SliceType, int, int) - Method in class org.fusesource.hawtdb.internal.page.HawtPageFile
 
SortedIndex<Key,Value> - Interface in org.fusesource.hawtdb.api
Provides Key/Value storage and retrieval.
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.
start - Variable in class org.fusesource.hawtdb.internal.util.Ranges.Range
 
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.
storeFreePages - Variable in class org.fusesource.hawtdb.api.PageFileFactory
 
storeFreePages - Variable in class org.fusesource.hawtdb.internal.page.HawtPageFile
 
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() - Method in class org.fusesource.hawtdb.internal.io.MemoryMappedFile
 
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.internal.util.Ranges
 
toArrayList() - Method in class org.fusesource.hawtdb.util.list.LinkedNodeList
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.internal.index.BTreeIndex
 
toString() - Method in class org.fusesource.hawtdb.internal.index.BTreeNode
 
toString() - Method in class org.fusesource.hawtdb.internal.index.HashIndex
 
toString() - Method in class org.fusesource.hawtdb.internal.page.Extent
 
toString() - Method in class org.fusesource.hawtdb.internal.page.ExtentInputStream
 
toString() - Method in class org.fusesource.hawtdb.internal.page.ExtentOutputStream
 
toString() - Method in class org.fusesource.hawtdb.internal.page.HawtPageFile
 
toString() - Method in class org.fusesource.hawtdb.internal.page.HawtTxPageFile
 
toString() - Method in class org.fusesource.hawtdb.internal.page.SimpleAllocator
 
toString() - Method in class org.fusesource.hawtdb.internal.util.Ranges.Range
 
toString() - Method in class org.fusesource.hawtdb.internal.util.Ranges
 
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.TreeMap.TreeEntry
 
trace(String, Object...) - Static method in class org.fusesource.hawtdb.internal.index.Logging
 
trace(String, Object...) - Static method in class org.fusesource.hawtdb.internal.page.Logging
 
traced(int) - Static method in class org.fusesource.hawtdb.internal.page.Logging
 
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.
tx() - Method in class org.fusesource.hawtdb.internal.page.HawtTxPageFile
 
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.
unfree(Paged, int) - Static method in class org.fusesource.hawtdb.internal.page.Extent
Un-frees the extent at the provided page id.
unfree(Paged, int, Buffer) - Static method in class org.fusesource.hawtdb.internal.page.Extent
 
unfree(int, int) - Method in class org.fusesource.hawtdb.internal.page.SimpleAllocator
 
unlink() - Method in class org.fusesource.hawtdb.util.list.LinkedNode
Removes this node out of the linked list it is chained in.
unlock() - Method in class org.fusesource.hawtdb.util.LockFile
 
unslice(ByteBuffer) - Method in interface org.fusesource.hawtdb.api.Paged
 
unslice(ByteBuffer) - Method in class org.fusesource.hawtdb.internal.io.MemoryMappedFile
 
unslice(ByteBuffer) - Method in class org.fusesource.hawtdb.internal.page.HawtPageFile
 
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

valueIterator() - Method in class org.fusesource.hawtdb.internal.util.Ranges
 
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.internal.util.Ranges
 
values() - Method in class org.fusesource.hawtdb.util.TreeMap
 
valuesIteratorNotInRange(Ranges.Range) - Method in class org.fusesource.hawtdb.internal.util.Ranges
 
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.
visit(IndexVisitor<Key, Value>) - Method in class org.fusesource.hawtdb.internal.index.BTreeIndex
 
visit(BTreeIndex<Key, Value>, IndexVisitor<Key, Value>) - Method in class org.fusesource.hawtdb.internal.index.BTreeNode
 
visitor(Predicate<Key>) - Static method in class org.fusesource.hawtdb.api.Predicates
 

W

warn(String, Object...) - Static method in class org.fusesource.hawtdb.internal.index.Logging
 
warn(Throwable, String, Object...) - Static method in class org.fusesource.hawtdb.internal.index.Logging
 
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.
write(long, byte[]) - Method in class org.fusesource.hawtdb.internal.io.MemoryMappedFile
 
write(long, Buffer) - Method in class org.fusesource.hawtdb.internal.io.MemoryMappedFile
 
write(long, ByteBuffer) - Method in class org.fusesource.hawtdb.internal.io.MemoryMappedFile
 
write(long, byte[], int, int) - Method in class org.fusesource.hawtdb.internal.io.MemoryMappedFile
 
write(byte) - Method in class org.fusesource.hawtdb.internal.page.Extent
 
write(Buffer) - Method in class org.fusesource.hawtdb.internal.page.Extent
 
write(int) - Method in class org.fusesource.hawtdb.internal.page.ExtentOutputStream
 
write(byte[], int, int) - Method in class org.fusesource.hawtdb.internal.page.ExtentOutputStream
 
write(int, Buffer) - Method in class org.fusesource.hawtdb.internal.page.HawtPageFile
 
write(int, ByteBuffer) - Method in class org.fusesource.hawtdb.internal.page.HawtPageFile
 
writeChannelTansfer(long, MemoryMappedFile.ChannelTransfer) - Method in class org.fusesource.hawtdb.internal.io.MemoryMappedFile
 
writeCloseEOF() - Method in class org.fusesource.hawtdb.internal.page.Extent
 
writeCloseLinked(int) - Method in class org.fusesource.hawtdb.internal.page.Extent
 
writeExternal(ObjectOutput) - Method in class org.fusesource.hawtdb.internal.util.Ranges
 
writeExternal(DataOutput) - Method in class org.fusesource.hawtdb.internal.util.Ranges
 
writeOpen(short) - Method in class org.fusesource.hawtdb.internal.page.Extent
 
writeTo(FileChannel) - Method in class org.fusesource.hawtdb.internal.io.MemoryMappedFile.ChannelTransfer
Writes the transfer to the destinations current file position.
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 © 2009–2016 FuseSource, Corp.. All rights reserved.