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

A

accessorPool - Variable in class org.apache.kahadb.journal.Journal
 
add(Sequence) - Method in class org.apache.kahadb.util.SequenceSet
 
add(long) - Method in class org.apache.kahadb.util.SequenceSet
 
addFirst(T) - Method in class org.apache.kahadb.util.LinkedNodeList
 
addFirst(LinkedNodeList<T>) - Method in class org.apache.kahadb.util.LinkedNodeList
 
addLast(T) - Method in class org.apache.kahadb.util.LinkedNodeList
 
addLast(LinkedNodeList<T>) - Method in class org.apache.kahadb.util.LinkedNodeList
 
allocate() - Method in class org.apache.kahadb.page.Transaction
Allocates a free page that you can write data to.
allocate(int) - Method in class org.apache.kahadb.page.Transaction
Allocates a block of free pages that you can write data to.
appendedExternally(Location, int) - Method in class org.apache.kahadb.journal.Journal
 
appender - Variable in class org.apache.kahadb.journal.Journal
 
appendToString(StringBuffer, Object) - Static method in class org.apache.kahadb.util.IntrospectionSupport
 
archiveDataLogs - Variable in class org.apache.kahadb.journal.Journal
 
available() - Method in class org.apache.kahadb.util.ByteArrayInputStream
 
available() - Method in class org.apache.kahadb.util.DataByteArrayInputStream
 

B

BATCH_CONTROL_RECORD_HEADER - Static variable in class org.apache.kahadb.journal.Journal
 
BATCH_CONTROL_RECORD_MAGIC - Static variable in class org.apache.kahadb.journal.Journal
 
BATCH_CONTROL_RECORD_SIZE - Static variable in class org.apache.kahadb.journal.Journal
 
BATCH_CONTROL_RECORD_TYPE - Static variable in class org.apache.kahadb.journal.Journal
 
benchmark(File) - Method in class org.apache.kahadb.util.DiskBenchmark
 
BTreeIndex<Key,Value> - Class in org.apache.kahadb.index
BTreeIndex represents a Variable Magnitude B+Tree in a Page File.
BTreeIndex() - Constructor for class org.apache.kahadb.index.BTreeIndex
 
BTreeIndex(long) - Constructor for class org.apache.kahadb.index.BTreeIndex
 
BTreeIndex(Page) - Constructor for class org.apache.kahadb.index.BTreeIndex
 
BTreeIndex(PageFile, long) - Constructor for class org.apache.kahadb.index.BTreeIndex
 
BTreeIndex(PageFile, Page) - Constructor for class org.apache.kahadb.index.BTreeIndex
 
BTreeIndex.Prefixer<Key> - Interface in org.apache.kahadb.index
Interface used to determine the simple prefix of two keys.
BTreeIndex.StringPrefixer - Class in org.apache.kahadb.index
StringPrefixer is a Prefixer implementation that works on strings.
BTreeIndex.StringPrefixer() - Constructor for class org.apache.kahadb.index.BTreeIndex.StringPrefixer
 
BTreeNode<Key,Value> - Class in org.apache.kahadb.index
The BTreeNode class represents a node in the BTree object graph.
BTreeNode(BTreeIndex<Key, Value>) - Constructor for class org.apache.kahadb.index.BTreeNode
 
BTreeNode.Marshaller<Key,Value> - Class in org.apache.kahadb.index
The Marshaller is used to store and load the data in the BTreeNode into a Page.
BTreeNode.Marshaller(BTreeIndex<Key, Value>) - Constructor for class org.apache.kahadb.index.BTreeNode.Marshaller
 
BTreeVisitor<Key,Value> - Interface in org.apache.kahadb.index
Interface used to selectively visit the entries in a BTree.
BTreeVisitor.AndVisitor<Key,Value> - Class in org.apache.kahadb.index
 
BTreeVisitor.AndVisitor(List<BTreeVisitor.Predicate<Key>>) - Constructor for class org.apache.kahadb.index.BTreeVisitor.AndVisitor
 
BTreeVisitor.BetweenVisitor<Key extends Comparable<Key>,Value> - Class in org.apache.kahadb.index
 
BTreeVisitor.BetweenVisitor(Key, Key) - Constructor for class org.apache.kahadb.index.BTreeVisitor.BetweenVisitor
 
BTreeVisitor.GTEVisitor<Key extends Comparable<Key>,Value> - Class in org.apache.kahadb.index
 
BTreeVisitor.GTEVisitor(Key) - Constructor for class org.apache.kahadb.index.BTreeVisitor.GTEVisitor
 
BTreeVisitor.GTVisitor<Key extends Comparable<Key>,Value> - Class in org.apache.kahadb.index
 
BTreeVisitor.GTVisitor(Key) - Constructor for class org.apache.kahadb.index.BTreeVisitor.GTVisitor
 
BTreeVisitor.LTEVisitor<Key extends Comparable<Key>,Value> - Class in org.apache.kahadb.index
 
BTreeVisitor.LTEVisitor(Key) - Constructor for class org.apache.kahadb.index.BTreeVisitor.LTEVisitor
 
BTreeVisitor.LTVisitor<Key extends Comparable<Key>,Value> - Class in org.apache.kahadb.index
 
BTreeVisitor.LTVisitor(Key) - Constructor for class org.apache.kahadb.index.BTreeVisitor.LTVisitor
 
BTreeVisitor.OrVisitor<Key,Value> - Class in org.apache.kahadb.index
 
BTreeVisitor.OrVisitor(List<BTreeVisitor.Predicate<Key>>) - Constructor for class org.apache.kahadb.index.BTreeVisitor.OrVisitor
 
BTreeVisitor.Predicate<Key> - Interface in org.apache.kahadb.index
 
BTreeVisitor.PredicateVisitor<Key,Value> - Class in org.apache.kahadb.index
 
BTreeVisitor.PredicateVisitor() - Constructor for class org.apache.kahadb.index.BTreeVisitor.PredicateVisitor
 
buf - Variable in class org.apache.kahadb.util.DataByteArrayOutputStream
 
ByteArrayInputStream - Class in org.apache.kahadb.util
Very similar to the java.io.ByteArrayInputStream but this version is not thread safe.
ByteArrayInputStream(byte[]) - Constructor for class org.apache.kahadb.util.ByteArrayInputStream
 
ByteArrayInputStream(ByteSequence) - Constructor for class org.apache.kahadb.util.ByteArrayInputStream
 
ByteArrayInputStream(byte[], int, int) - Constructor for class org.apache.kahadb.util.ByteArrayInputStream
 
ByteArrayOutputStream - Class in org.apache.kahadb.util
Very similar to the java.io.ByteArrayOutputStream but this version is not thread safe and the resulting data is returned in a ByteSequence to avoid an extra byte[] allocation.
ByteArrayOutputStream() - Constructor for class org.apache.kahadb.util.ByteArrayOutputStream
 
ByteArrayOutputStream(int) - Constructor for class org.apache.kahadb.util.ByteArrayOutputStream
 
ByteSequence - Class in org.apache.kahadb.util
 
ByteSequence() - Constructor for class org.apache.kahadb.util.ByteSequence
 
ByteSequence(byte[]) - Constructor for class org.apache.kahadb.util.ByteSequence
 
ByteSequence(byte[], int, int) - Constructor for class org.apache.kahadb.util.ByteSequence
 
BytesMarshaller - Class in org.apache.kahadb.util
Implementation of a Marshaller for byte arrays
BytesMarshaller() - Constructor for class org.apache.kahadb.util.BytesMarshaller
 

C

cancel(Runnable) - Static method in class org.apache.kahadb.util.Scheduler
 
checkBatchRecord(DataFileAccessor, int) - Method in class org.apache.kahadb.journal.Journal
 
checkForCorruptionOnStartup - Variable in class org.apache.kahadb.journal.Journal
 
checksum - Variable in class org.apache.kahadb.journal.Journal
 
cleanupTask - Variable in class org.apache.kahadb.journal.Journal
 
clear(Transaction) - Method in class org.apache.kahadb.index.BTreeIndex
 
clear(Transaction) - Method in class org.apache.kahadb.index.BTreeNode
 
clear(Transaction) - Method in class org.apache.kahadb.index.HashIndex
 
clear(Transaction) - Method in interface org.apache.kahadb.index.Index
clear the index
clear() - Method in class org.apache.kahadb.util.LinkedNodeList
 
CLOCK_DAEMON - Static variable in class org.apache.kahadb.util.Scheduler
 
close() - Method in class org.apache.kahadb.journal.DataFileAccessorPool
 
close() - Method in class org.apache.kahadb.journal.Journal
 
close() - Method in class org.apache.kahadb.journal.ReadOnlyJournal
 
CLOSED_STATE - Static variable in class org.apache.kahadb.index.HashIndex
 
closeRandomAccessFile(RandomAccessFile) - Method in class org.apache.kahadb.journal.DataFile
 
closeRandomAccessFile(RandomAccessFile) - Method in class org.apache.kahadb.journal.ReadOnlyDataFile
 
CommandLineSupport - Class in org.apache.kahadb.util
Support utility that can be used to set the properties on any object using command line arguments.
CommandLineSupport() - Constructor for class org.apache.kahadb.util.CommandLineSupport
 
commit() - Method in class org.apache.kahadb.page.Transaction
Commits the transaction to the PageFile as a single 'Unit of Work'.
compact() - Method in class org.apache.kahadb.util.ByteSequence
 
compareTo(DataFile) - Method in class org.apache.kahadb.journal.DataFile
 
compareTo(Location) - Method in class org.apache.kahadb.journal.Location
 
contains(Transaction, Key) - Method in class org.apache.kahadb.index.BTreeNode
 
contains(long) - Method in class org.apache.kahadb.util.Sequence
 
contains(int, int) - Method in class org.apache.kahadb.util.SequenceSet
 
containsKey(Transaction, Key) - Method in class org.apache.kahadb.index.BTreeIndex
 
containsKey(Transaction, Key) - Method in class org.apache.kahadb.index.HashIndex
 
containsKey(Transaction, Key) - Method in interface org.apache.kahadb.index.Index
 
copy(Page<T>) - Method in class org.apache.kahadb.page.Page
 
copyFile(File, File) - Static method in class org.apache.kahadb.util.IOHelper
 
copyInputStream(InputStream, OutputStream) - Static method in class org.apache.kahadb.util.IOHelper
 
corruptedBlocks - Variable in class org.apache.kahadb.journal.DataFile
 
create(String, Throwable) - Static method in class org.apache.kahadb.util.IOExceptionSupport
 
create(String, Exception) - Static method in class org.apache.kahadb.util.IOExceptionSupport
 
create(Throwable) - Static method in class org.apache.kahadb.util.IOExceptionSupport
 
create(Exception) - Static method in class org.apache.kahadb.util.IOExceptionSupport
 

D

data - Variable in class org.apache.kahadb.util.ByteSequence
 
DataByteArrayInputStream - Class in org.apache.kahadb.util
Optimized ByteArrayInputStream that can be used more than once
DataByteArrayInputStream(byte[]) - Constructor for class org.apache.kahadb.util.DataByteArrayInputStream
Creates a StoreByteArrayInputStream.
DataByteArrayInputStream(ByteSequence) - Constructor for class org.apache.kahadb.util.DataByteArrayInputStream
Creates a StoreByteArrayInputStream.
DataByteArrayInputStream() - Constructor for class org.apache.kahadb.util.DataByteArrayInputStream
Creates WireByteArrayInputStream with a minmalist byte array
DataByteArrayOutputStream - Class in org.apache.kahadb.util
Optimized ByteArrayOutputStream
DataByteArrayOutputStream(int) - Constructor for class org.apache.kahadb.util.DataByteArrayOutputStream
Creates a new byte array output stream, with a buffer capacity of the specified size, in bytes.
DataByteArrayOutputStream() - Constructor for class org.apache.kahadb.util.DataByteArrayOutputStream
Creates a new byte array output stream.
DataFile - Class in org.apache.kahadb.journal
DataFile
DataFileAccessorPool - Class in org.apache.kahadb.journal
Used to pool DataFileAccessors.
DataFileAccessorPool(Journal) - Constructor for class org.apache.kahadb.journal.DataFileAccessorPool
 
dataFileId - Variable in class org.apache.kahadb.journal.DataFile
 
dataFiles - Variable in class org.apache.kahadb.journal.Journal
 
deepCopy(byte[]) - Method in class org.apache.kahadb.util.BytesMarshaller
 
deepCopy(Integer) - Method in class org.apache.kahadb.util.IntegerMarshaller
 
deepCopy(Long) - Method in class org.apache.kahadb.util.LongMarshaller
 
deepCopy(T) - Method in interface org.apache.kahadb.util.Marshaller
 
deepCopy(SequenceSet) - Method in class org.apache.kahadb.util.SequenceSet.Marshaller
 
deepCopy(String) - Method in class org.apache.kahadb.util.StringMarshaller
 
deepCopy(T) - Method in class org.apache.kahadb.util.VariableMarshaller
 
DEFAULT_ARCHIVE_DIRECTORY - Static variable in class org.apache.kahadb.journal.Journal
 
DEFAULT_BIN_CAPACITY - Static variable in class org.apache.kahadb.index.HashIndex
 
DEFAULT_CLEANUP_INTERVAL - Static variable in class org.apache.kahadb.journal.Journal
 
DEFAULT_DIRECTORY - Static variable in class org.apache.kahadb.journal.Journal
 
DEFAULT_FILE_PREFIX - Static variable in class org.apache.kahadb.journal.Journal
 
DEFAULT_FILE_SUFFIX - Static variable in class org.apache.kahadb.journal.Journal
 
DEFAULT_LOAD_FACTOR - Static variable in class org.apache.kahadb.index.HashIndex
 
DEFAULT_MAX_FILE_LENGTH - Static variable in class org.apache.kahadb.journal.Journal
 
DEFAULT_MAX_WRITE_BATCH_SIZE - Static variable in class org.apache.kahadb.journal.Journal
 
DEFAULT_MAXIMUM_BIN_CAPACITY - Static variable in class org.apache.kahadb.index.HashIndex
 
DEFAULT_MINIMUM_BIN_CAPACITY - Static variable in class org.apache.kahadb.index.HashIndex
 
DEFAULT_PAGE_SIZE - Static variable in class org.apache.kahadb.page.PageFile
 
DEFAULT_WRITE_BATCH_SIZE - Static variable in class org.apache.kahadb.page.PageFile
 
delete() - Method in class org.apache.kahadb.journal.DataFile
 
delete() - Method in class org.apache.kahadb.journal.Journal
 
delete() - Method in class org.apache.kahadb.journal.ReadOnlyDataFile
 
delete() - Method in class org.apache.kahadb.journal.ReadOnlyJournal
 
delete() - Method in class org.apache.kahadb.page.PageFile
Deletes the files used by the PageFile object.
deleteChildren(File) - Static method in class org.apache.kahadb.util.IOHelper
 
deleteFile(File) - Static method in class org.apache.kahadb.util.IOHelper
 
directory - Variable in class org.apache.kahadb.journal.Journal
 
directoryArchive - Variable in class org.apache.kahadb.journal.Journal
 
DiskBenchmark - Class in org.apache.kahadb.util
This class is used to get a benchmark the raw disk performance.
DiskBenchmark() - Constructor for class org.apache.kahadb.util.DiskBenchmark
 
DiskBenchmark.Report - Class in org.apache.kahadb.util
 
DiskBenchmark.Report() - Constructor for class org.apache.kahadb.util.DiskBenchmark.Report
 

E

each(Sequence.Closure<T>) - Method in class org.apache.kahadb.util.Sequence
 
equals(Object) - Method in class org.apache.kahadb.journal.DataFile
 
equals(Object) - Method in class org.apache.kahadb.journal.Location
 
execute(Transaction) - Method in interface org.apache.kahadb.page.Transaction.CallableClosure
 
execute(Transaction) - Method in interface org.apache.kahadb.page.Transaction.Closure
 
execute(Transaction.Closure<T>) - Method in class org.apache.kahadb.page.Transaction
Executes a closure and if it does not throw any exceptions, then it commits the transaction.
execute(Transaction.CallableClosure<R, T>) - Method in class org.apache.kahadb.page.Transaction
Executes a closure and if it does not throw any exceptions, then it commits the transaction.
execute(long) - Method in interface org.apache.kahadb.util.Sequence.Closure
 
executeAfterDelay(Runnable, long) - Static method in class org.apache.kahadb.util.Scheduler
 
executePeriodically(Runnable, long) - Static method in class org.apache.kahadb.util.Scheduler
 
extractProperties(Map, String) - Static method in class org.apache.kahadb.util.IntrospectionSupport
 

F

file - Variable in class org.apache.kahadb.journal.DataFile
 
fileByFileMap - Variable in class org.apache.kahadb.journal.Journal
 
fileMap - Variable in class org.apache.kahadb.journal.Journal
 
filePrefix - Variable in class org.apache.kahadb.journal.Journal
 
fileSuffix - Variable in class org.apache.kahadb.journal.Journal
 
flush() - Method in class org.apache.kahadb.page.PageFile
Flush and sync all write buffers to disk.
free(long) - Method in class org.apache.kahadb.page.Transaction
Frees up a previously allocated page so that it can be re-allocated again.
free(long, int) - Method in class org.apache.kahadb.page.Transaction
Frees up a previously allocated sequence of pages so that it can be re-allocated again.
free(Page<T>, int) - Method in class org.apache.kahadb.page.Transaction
Frees up a previously allocated sequence of pages so that it can be re-allocated again.
free(Page<T>) - Method in class org.apache.kahadb.page.Transaction
Frees up a previously allocated page so that it can be re-allocated again.
freePage(long) - Method in class org.apache.kahadb.page.PageFile
 

G

get(Transaction, Key) - Method in class org.apache.kahadb.index.BTreeIndex
 
get(Transaction, Key) - Method in class org.apache.kahadb.index.BTreeNode
 
get(Transaction, Key) - Method in class org.apache.kahadb.index.HashIndex
 
get(Transaction, Key) - Method in interface org.apache.kahadb.index.Index
 
get() - Method in class org.apache.kahadb.page.Page
 
getActiveBins() - Method in class org.apache.kahadb.index.HashIndex
 
getBinCapacity() - Method in class org.apache.kahadb.index.HashIndex
 
getBinPageId() - Method in class org.apache.kahadb.index.HashIndex
 
getBinsActive() - Method in class org.apache.kahadb.index.HashIndex
 
getBs() - Method in class org.apache.kahadb.util.DiskBenchmark
 
getByteSequence() - Method in class org.apache.kahadb.util.DataByteArrayOutputStream
 
getChecksum() - Method in class org.apache.kahadb.page.Page
 
getCorruptedBlocks() - Method in class org.apache.kahadb.journal.DataFile
 
getCurrentDataFileId() - Method in class org.apache.kahadb.journal.Journal
 
getData() - Method in class org.apache.kahadb.util.ByteSequence
 
getData() - Method in class org.apache.kahadb.util.DataByteArrayOutputStream
 
getDataFileId() - Method in class org.apache.kahadb.journal.DataFile
 
getDataFileId() - Method in class org.apache.kahadb.journal.Location
 
getDefaultDataDirectory() - Static method in class org.apache.kahadb.util.IOHelper
 
getDefaultDirectoryPrefix() - Static method in class org.apache.kahadb.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.apache.kahadb.util.IOHelper
 
getDirectory() - Method in class org.apache.kahadb.journal.Journal
 
getDirectoryArchive() - Method in class org.apache.kahadb.journal.Journal
 
getDiskSize() - Method in class org.apache.kahadb.journal.Journal
 
getDiskSize() - Method in class org.apache.kahadb.page.PageFile
 
getFile() - Method in class org.apache.kahadb.journal.DataFile
 
getFile(int) - Method in class org.apache.kahadb.journal.Journal
 
getFile() - Method in class org.apache.kahadb.page.PageFile
 
getFileMap() - Method in class org.apache.kahadb.journal.Journal
 
getFilePrefix() - Method in class org.apache.kahadb.journal.Journal
 
getFiles() - Method in class org.apache.kahadb.journal.Journal
Get a set of files - only valid after start()
getFileSuffix() - Method in class org.apache.kahadb.journal.Journal
 
getFileType() - Method in class org.apache.kahadb.page.PageFile.MetaData
 
getFileTypeVersion() - Method in class org.apache.kahadb.page.PageFile.MetaData
 
getFirst(Transaction) - Method in class org.apache.kahadb.index.BTreeIndex
 
getFirst(Transaction) - Method in class org.apache.kahadb.index.BTreeNode
 
getFirst() - Method in class org.apache.kahadb.util.Sequence
 
getFirstLeafNode(Transaction) - Method in class org.apache.kahadb.index.BTreeNode
 
getFirstLocation() - Method in class org.apache.kahadb.journal.ReadOnlyJournal
 
getFixedSize() - Method in class org.apache.kahadb.util.BytesMarshaller
 
getFixedSize() - Method in class org.apache.kahadb.util.IntegerMarshaller
 
getFixedSize() - Method in class org.apache.kahadb.util.LongMarshaller
 
getFixedSize() - Method in interface org.apache.kahadb.util.Marshaller
 
getFixedSize() - Method in class org.apache.kahadb.util.SequenceSet.Marshaller
 
getFixedSize() - Method in class org.apache.kahadb.util.StringMarshaller
 
getFixedSize() - Method in class org.apache.kahadb.util.VariableMarshaller
 
getFreeFile() - Method in class org.apache.kahadb.page.PageFile
 
getFreePages() - Method in class org.apache.kahadb.page.PageFile.MetaData
 
getHead() - Method in class org.apache.kahadb.util.LinkedNodeList
 
getHeadNode() - Method in class org.apache.kahadb.util.LinkedNode
 
getInflightWrites() - Method in class org.apache.kahadb.journal.Journal
 
getKeyMarshaller() - Method in class org.apache.kahadb.index.BTreeIndex
 
getKeyMarshaller() - Method in class org.apache.kahadb.index.HashIndex
 
getLast(Transaction) - Method in class org.apache.kahadb.index.BTreeIndex
 
getLast(Transaction) - Method in class org.apache.kahadb.index.BTreeNode
 
getLast() - Method in class org.apache.kahadb.util.Sequence
 
getLastAppendLocation() - Method in class org.apache.kahadb.journal.Journal
 
getLastTxId() - Method in class org.apache.kahadb.page.PageFile.MetaData
 
getLatch() - Method in class org.apache.kahadb.journal.Location
 
getLength() - Method in class org.apache.kahadb.journal.DataFile
 
getLength() - Method in class org.apache.kahadb.util.ByteSequence
 
getLength() - Method in class org.apache.kahadb.util.DataByteArrayInputStream
 
getList() - Method in class org.apache.kahadb.util.LinkedNode
 
getLoadFactor() - Method in class org.apache.kahadb.index.HashIndex
 
getMaxCacheSize() - Method in class org.apache.kahadb.util.LRUCache
 
getMaxFileLength() - Method in class org.apache.kahadb.journal.Journal
 
getMaxLeafDepth(Transaction) - Method in class org.apache.kahadb.index.BTreeIndex
 
getMaxLeafDepth(Transaction, int) - Method in class org.apache.kahadb.index.BTreeNode
 
getMetaDataTxId() - Method in class org.apache.kahadb.page.PageFile.MetaData
 
getMinLeafDepth(Transaction) - Method in class org.apache.kahadb.index.BTreeIndex
 
getMinLeafDepth(Transaction, int) - Method in class org.apache.kahadb.index.BTreeNode
 
getMissing(long, long) - Method in class org.apache.kahadb.util.SequenceSet
 
getNext() - Method in class org.apache.kahadb.index.BTreeNode
 
getNext() - Method in class org.apache.kahadb.page.Page
 
getNext() - Method in class org.apache.kahadb.util.LinkedNode
 
getNextCircular() - Method in class org.apache.kahadb.util.LinkedNode
 
getNextLocation(Location) - Method in class org.apache.kahadb.journal.Journal
 
getNextLocation(File, Location, boolean) - Method in class org.apache.kahadb.journal.Journal
 
getNextLocation(DataFile, Location, boolean) - Method in class org.apache.kahadb.journal.Journal
 
getOffset() - Method in class org.apache.kahadb.journal.Location
 
getOffset() - Method in class org.apache.kahadb.util.ByteSequence
 
getPage() - Method in class org.apache.kahadb.index.BTreeNode
 
getPage() - Method in exception org.apache.kahadb.page.Transaction.InvalidPageIOException
 
getPageCacheSize() - Method in class org.apache.kahadb.page.PageFile
 
getPageContentSize() - Method in class org.apache.kahadb.page.PageFile
 
getPageCount() - Method in class org.apache.kahadb.page.PageFile
 
getPageFile() - Method in class org.apache.kahadb.index.BTreeIndex
 
getPageFile() - Method in class org.apache.kahadb.index.HashIndex
 
getPageFile() - Method in class org.apache.kahadb.page.Transaction
 
getPageId() - Method in class org.apache.kahadb.index.BTreeIndex
 
getPageId() - Method in class org.apache.kahadb.index.BTreeNode
 
getPageId() - Method in class org.apache.kahadb.page.Page
 
getPageSize() - Method in class org.apache.kahadb.page.PageFile
 
getPageSize() - Method in class org.apache.kahadb.page.PageFile.MetaData
 
getParent() - Method in class org.apache.kahadb.index.BTreeNode
 
getPos() - Method in class org.apache.kahadb.util.DataByteArrayInputStream
 
getPrefixer() - Method in class org.apache.kahadb.index.BTreeIndex
 
getPrevious() - Method in class org.apache.kahadb.util.LinkedNode
 
getPreviousCircular() - Method in class org.apache.kahadb.util.LinkedNode
 
getProperties(Object, Map, String) - Static method in class org.apache.kahadb.util.IntrospectionSupport
 
getRawData() - Method in class org.apache.kahadb.util.DataByteArrayInputStream
 
getReadDuration() - Method in class org.apache.kahadb.util.DiskBenchmark.Report
 
getReads() - Method in class org.apache.kahadb.util.DiskBenchmark.Report
 
getReceived() - Method in class org.apache.kahadb.util.SequenceSet
 
getRecoveryFile() - Method in class org.apache.kahadb.page.PageFile
 
getRecoveryFileMaxPageCount() - Method in class org.apache.kahadb.page.PageFile
 
getRecoveryFileMinPageCount() - Method in class org.apache.kahadb.page.PageFile
 
getReplicationTarget() - Method in class org.apache.kahadb.journal.Journal
 
getSampleInterval() - Method in class org.apache.kahadb.util.DiskBenchmark
 
getSimplePrefix(Key, Key) - Method in interface org.apache.kahadb.index.BTreeIndex.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.apache.kahadb.index.BTreeIndex.StringPrefixer
Example: If value1 is "Hello World" and value 2 is "Help Me" then the result will be: "Help"
getSize() - Method in class org.apache.kahadb.journal.Location
 
getSize() - Method in class org.apache.kahadb.util.DiskBenchmark
 
getSize() - Method in class org.apache.kahadb.util.DiskBenchmark.Report
 
getSyncWriteDuration() - Method in class org.apache.kahadb.util.DiskBenchmark.Report
 
getSyncWrites() - Method in class org.apache.kahadb.util.DiskBenchmark.Report
 
getTail() - Method in class org.apache.kahadb.util.LinkedNodeList
 
getTailNode() - Method in class org.apache.kahadb.util.LinkedNode
 
getTxId() - Method in class org.apache.kahadb.page.Page
 
getType() - Method in class org.apache.kahadb.journal.Location
 
getType() - Method in class org.apache.kahadb.page.Page
 
getValueMarshaller() - Method in class org.apache.kahadb.index.BTreeIndex
 
getValueMarshaller() - Method in class org.apache.kahadb.index.HashIndex
 
getWriteBatchSize() - Method in class org.apache.kahadb.journal.Journal
 
getWriteBatchSize() - Method in class org.apache.kahadb.page.PageFile
 
getWriteDuration() - Method in class org.apache.kahadb.util.DiskBenchmark.Report
 
getWrites() - Method in class org.apache.kahadb.util.DiskBenchmark.Report
 

H

hashCode() - Method in class org.apache.kahadb.journal.DataFile
 
hashCode() - Method in class org.apache.kahadb.journal.Location
 
HashIndex<Key,Value> - Class in org.apache.kahadb.index
BTree implementation
HashIndex(PageFile, long) - Constructor for class org.apache.kahadb.index.HashIndex
Constructor
HexSupport - Class in org.apache.kahadb.util
Used to convert to hex from byte arrays and back.

I

incrementLength(int) - Method in class org.apache.kahadb.journal.DataFile
 
Index<Key,Value> - Interface in org.apache.kahadb.index
Simpler than a Map
indexOf(ByteSequence, int) - Method in class org.apache.kahadb.util.ByteSequence
 
indexOf(byte, int) - Method in class org.apache.kahadb.util.ByteSequence
 
inflightWrites - Variable in class org.apache.kahadb.journal.Journal
 
INSTANCE - Static variable in class org.apache.kahadb.util.IntegerMarshaller
 
INSTANCE - Static variable in class org.apache.kahadb.util.LongMarshaller
 
INSTANCE - Static variable in class org.apache.kahadb.util.SequenceSet.Marshaller
 
INSTANCE - Static variable in class org.apache.kahadb.util.StringMarshaller
 
IntegerMarshaller - Class in org.apache.kahadb.util
Implementation of a Marshaller for a Integer
IntegerMarshaller() - Constructor for class org.apache.kahadb.util.IntegerMarshaller
 
IntrospectionSupport - Class in org.apache.kahadb.util
 
IOExceptionSupport - Class in org.apache.kahadb.util
 
IOHelper - Class in org.apache.kahadb.util
 
isAdjacentToFirst(long) - Method in class org.apache.kahadb.util.Sequence
 
isAdjacentToLast(long) - Method in class org.apache.kahadb.util.Sequence
 
isArchiveDataLogs() - Method in class org.apache.kahadb.journal.Journal
 
isCheckForCorruptionOnStartup() - Method in class org.apache.kahadb.journal.Journal
 
isChecksum() - Method in class org.apache.kahadb.journal.Journal
 
isCleanShutdown() - Method in class org.apache.kahadb.page.PageFile.MetaData
 
isDeepCopySupported() - Method in class org.apache.kahadb.util.BytesMarshaller
 
isDeepCopySupported() - Method in class org.apache.kahadb.util.IntegerMarshaller
 
isDeepCopySupported() - Method in class org.apache.kahadb.util.LongMarshaller
 
isDeepCopySupported() - Method in interface org.apache.kahadb.util.Marshaller
 
isDeepCopySupported() - Method in class org.apache.kahadb.util.SequenceSet.Marshaller
 
isDeepCopySupported() - Method in class org.apache.kahadb.util.StringMarshaller
 
isDeepCopySupported() - Method in class org.apache.kahadb.util.VariableMarshaller
 
isEmpty(Transaction) - Method in class org.apache.kahadb.index.BTreeIndex
 
isEmpty(Transaction) - Method in class org.apache.kahadb.index.BTreeNode
 
isEmpty() - Method in class org.apache.kahadb.util.LinkedNodeList
 
isEnableDiskSyncs() - Method in class org.apache.kahadb.page.PageFile
 
isEnabledWriteThread() - Method in class org.apache.kahadb.page.PageFile
 
isEnablePageCaching() - Method in class org.apache.kahadb.page.PageFile
 
isEnableRecoveryFile() - Method in class org.apache.kahadb.page.PageFile
Is the recovery buffer used to double buffer page writes.
isHeadNode() - Method in class org.apache.kahadb.util.LinkedNode
 
isInterestedInKey(Key) - Method in class org.apache.kahadb.index.BTreeVisitor.AndVisitor
 
isInterestedInKey(Key) - Method in class org.apache.kahadb.index.BTreeVisitor.BetweenVisitor
 
isInterestedInKey(Key) - Method in class org.apache.kahadb.index.BTreeVisitor.GTEVisitor
 
isInterestedInKey(Key) - Method in class org.apache.kahadb.index.BTreeVisitor.GTVisitor
 
isInterestedInKey(Key) - Method in class org.apache.kahadb.index.BTreeVisitor.LTEVisitor
 
isInterestedInKey(Key) - Method in class org.apache.kahadb.index.BTreeVisitor.LTVisitor
 
isInterestedInKey(Key) - Method in class org.apache.kahadb.index.BTreeVisitor.OrVisitor
 
isInterestedInKey(Key) - Method in interface org.apache.kahadb.index.BTreeVisitor.Predicate
 
isInterestedInKeysBetween(Key, Key) - Method in class org.apache.kahadb.index.BTreeVisitor.AndVisitor
 
isInterestedInKeysBetween(Key, Key) - Method in class org.apache.kahadb.index.BTreeVisitor.BetweenVisitor
 
isInterestedInKeysBetween(Key, Key) - Method in class org.apache.kahadb.index.BTreeVisitor.GTEVisitor
 
isInterestedInKeysBetween(Key, Key) - Method in class org.apache.kahadb.index.BTreeVisitor.GTVisitor
 
isInterestedInKeysBetween(Key, Key) - Method in interface org.apache.kahadb.index.BTreeVisitor
Do you want to visit the range of BTree entries between the first and and second key?
isInterestedInKeysBetween(Key, Key) - Method in class org.apache.kahadb.index.BTreeVisitor.LTEVisitor
 
isInterestedInKeysBetween(Key, Key) - Method in class org.apache.kahadb.index.BTreeVisitor.LTVisitor
 
isInterestedInKeysBetween(Key, Key) - Method in class org.apache.kahadb.index.BTreeVisitor.OrVisitor
 
isInterestedInKeysBetween(Key, Key) - Method in interface org.apache.kahadb.index.BTreeVisitor.Predicate
 
isLinked() - Method in class org.apache.kahadb.util.LinkedNode
 
isLoaded() - Method in class org.apache.kahadb.page.PageFile
 
isReadOnly() - Method in class org.apache.kahadb.page.Transaction
 
isTailNode() - Method in class org.apache.kahadb.util.LinkedNode
 
isTransient() - Method in class org.apache.kahadb.index.BTreeIndex
 
isTransient() - Method in class org.apache.kahadb.index.HashIndex
 
isTransient() - Method in interface org.apache.kahadb.index.Index
 
isVerbose() - Method in class org.apache.kahadb.util.DiskBenchmark
 
iterator(Transaction) - Method in class org.apache.kahadb.index.BTreeIndex
 
iterator(Transaction, Key) - Method in class org.apache.kahadb.index.BTreeIndex
 
iterator(Transaction, Key) - Method in class org.apache.kahadb.index.BTreeNode
 
iterator(Transaction) - Method in class org.apache.kahadb.index.BTreeNode
 
iterator(Transaction) - Method in class org.apache.kahadb.index.HashIndex
 
iterator(Transaction) - Method in interface org.apache.kahadb.index.Index
 
iterator() - Method in class org.apache.kahadb.page.Transaction
Allows you to iterate through all active Pages in this object.
iterator(boolean) - Method in class org.apache.kahadb.page.Transaction
Allows you to iterate through all active Pages in this object.

J

Journal - Class in org.apache.kahadb.journal
Manages DataFiles
Journal() - Constructor for class org.apache.kahadb.journal.Journal
 

L

lastAppendLocation - Variable in class org.apache.kahadb.journal.Journal
 
length - Variable in class org.apache.kahadb.journal.DataFile
 
length - Variable in class org.apache.kahadb.util.ByteSequence
 
linkAfter(T) - Method in class org.apache.kahadb.util.LinkedNode
 
linkAfter(LinkedNodeList<T>) - Method in class org.apache.kahadb.util.LinkedNode
 
linkBefore(T) - Method in class org.apache.kahadb.util.LinkedNode
 
linkBefore(LinkedNodeList<T>) - Method in class org.apache.kahadb.util.LinkedNode
 
LinkedNode<T extends LinkedNode<T>> - Class in org.apache.kahadb.util
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.apache.kahadb.util.LinkedNode
 
LinkedNodeList<T extends LinkedNode<T>> - Class in org.apache.kahadb.util
Provides a list of LinkedNode objects.
LinkedNodeList() - Constructor for class org.apache.kahadb.util.LinkedNodeList
 
linkToHead(LinkedNodeList<T>) - Method in class org.apache.kahadb.util.LinkedNode
 
linkToTail(LinkedNodeList<T>) - Method in class org.apache.kahadb.util.LinkedNode
 
list - Variable in class org.apache.kahadb.util.LinkedNode
 
load(Transaction) - Method in class org.apache.kahadb.index.BTreeIndex
 
load(Transaction) - Method in class org.apache.kahadb.index.HashIndex
 
load(Transaction) - Method in interface org.apache.kahadb.index.Index
load indexes
load() - Method in class org.apache.kahadb.page.PageFile
Loads the page file so that it can be accessed for read/write purposes.
load(long, Marshaller<T>) - Method in class org.apache.kahadb.page.Transaction
Loads a page from disk.
load(Page<T>, Marshaller<T>) - Method in class org.apache.kahadb.page.Transaction
Loads a page from disk.
Location - Class in org.apache.kahadb.journal
Used as a location in the data store.
Location() - Constructor for class org.apache.kahadb.journal.Location
 
Location(Location) - Constructor for class org.apache.kahadb.journal.Location
 
Location(int, int) - Constructor for class org.apache.kahadb.journal.Location
 
lock() - Method in class org.apache.kahadb.util.LockFile
 
LockFile - Class in org.apache.kahadb.util
Used to lock a File.
LockFile(File, boolean) - Constructor for class org.apache.kahadb.util.LockFile
 
LongMarshaller - Class in org.apache.kahadb.util
Implementation of a Marshaller for a Long
LongMarshaller() - Constructor for class org.apache.kahadb.util.LongMarshaller
 
LRUCache<K,V> - Class in org.apache.kahadb.util
A Simple LRU Cache
LRUCache() - Constructor for class org.apache.kahadb.util.LRUCache
Default constructor for an LRU Cache The default capacity is 10000
LRUCache(int) - Constructor for class org.apache.kahadb.util.LRUCache
Constructs a LRUCache with a maximum capacity
LRUCache(int, int, float, boolean) - Constructor for class org.apache.kahadb.util.LRUCache
Constructs an empty LRUCache instance with the specified initial capacity, maximumCacheSize,load factor and ordering mode.

M

main(String[]) - Static method in class org.apache.kahadb.util.DiskBenchmark
 
makePageEnd(long, long) - Method in class org.apache.kahadb.page.Page
 
makePagePart(long, long) - Method in class org.apache.kahadb.page.Page
 
mark(int) - Method in class org.apache.kahadb.util.ByteArrayInputStream
 
markSupported() - Method in class org.apache.kahadb.util.ByteArrayInputStream
 
Marshaller<T> - Interface in org.apache.kahadb.util
 
matched(Key, Value) - Method in class org.apache.kahadb.index.BTreeVisitor.PredicateVisitor
 
MAX_DIR_NAME_LENGTH - Static variable in class org.apache.kahadb.util.IOHelper
 
MAX_FILE_NAME_LENGTH - Static variable in class org.apache.kahadb.util.IOHelper
 
maxCacheSize - Variable in class org.apache.kahadb.util.LRUCache
 
maxFileLength - Variable in class org.apache.kahadb.journal.Journal
 
mkdirs(File) - Static method in class org.apache.kahadb.util.IOHelper
 
move(File) - Method in class org.apache.kahadb.journal.DataFile
 
move(File) - Method in class org.apache.kahadb.journal.ReadOnlyDataFile
 
moveFile(File, File) - Static method in class org.apache.kahadb.util.IOHelper
 

N

next - Variable in class org.apache.kahadb.util.LinkedNode
 
NOT_SET - Static variable in class org.apache.kahadb.journal.Location
 
NOT_SET_TYPE - Static variable in class org.apache.kahadb.journal.Location
 

O

ObjectMarshaller - Class in org.apache.kahadb.util
Implementation of a Marshaller for Objects
ObjectMarshaller() - Constructor for class org.apache.kahadb.util.ObjectMarshaller
 
offset - Variable in class org.apache.kahadb.util.ByteSequence
 
onWrite() - Method in class org.apache.kahadb.util.DataByteArrayOutputStream
This method is called after each write to the buffer.
OPEN_STATE - Static variable in class org.apache.kahadb.index.HashIndex
 
openInputStream(Page) - Method in class org.apache.kahadb.page.Transaction
 
openOutputStream(Page, boolean) - Method in class org.apache.kahadb.page.Transaction
 
openRandomAccessFile() - Method in class org.apache.kahadb.journal.DataFile
 
openRandomAccessFile(boolean) - Method in class org.apache.kahadb.journal.ReadOnlyDataFile
 
org.apache.kahadb.index - package org.apache.kahadb.index
 
org.apache.kahadb.journal - package org.apache.kahadb.journal
journal based data storage - scalable and fast
org.apache.kahadb.page - package org.apache.kahadb.page
 
org.apache.kahadb.util - package org.apache.kahadb.util
 

P

Page<T> - Class in org.apache.kahadb.page
A Page within a file.
Page() - Constructor for class org.apache.kahadb.page.Page
 
Page(long) - Constructor for class org.apache.kahadb.page.Page
 
PAGE_END_TYPE - Static variable in class org.apache.kahadb.page.Page
 
PAGE_FREE_TYPE - Static variable in class org.apache.kahadb.page.Page
 
PAGE_HEADER_SIZE - Static variable in class org.apache.kahadb.page.Page
 
PAGE_PART_TYPE - Static variable in class org.apache.kahadb.page.Page
 
PageFile - Class in org.apache.kahadb.page
A PageFile provides you random access to fixed sized disk pages.
PageFile(File, String) - Constructor for class org.apache.kahadb.page.PageFile
Creates a PageFile in the specified directory who's data files are named by name.
PageFile.MetaData - Class in org.apache.kahadb.page
The MetaData object hold the persistent data associated with a PageFile object.
PageFile.MetaData() - Constructor for class org.apache.kahadb.page.PageFile.MetaData
 
pos - Variable in class org.apache.kahadb.util.DataByteArrayOutputStream
 
position(int) - Method in class org.apache.kahadb.util.DataByteArrayOutputStream
Set the current position for writing
PREFERED_DIFF - Static variable in class org.apache.kahadb.journal.Journal
 
preferedFileLength - Variable in class org.apache.kahadb.journal.Journal
 
prev - Variable in class org.apache.kahadb.util.LinkedNode
 
printStructure(Transaction, PrintWriter) - Method in class org.apache.kahadb.index.BTreeIndex
 
printStructure(Transaction, OutputStream) - Method in class org.apache.kahadb.index.BTreeIndex
 
printStructure(Transaction, PrintWriter, String) - Method in class org.apache.kahadb.index.BTreeNode
 
put(Transaction, Key, Value) - Method in class org.apache.kahadb.index.BTreeIndex
 
put(Transaction, Key, Value) - Method in class org.apache.kahadb.index.BTreeNode
 
put(Transaction, Key, Value) - Method in class org.apache.kahadb.index.HashIndex
 
put(Transaction, Key, Value) - Method in interface org.apache.kahadb.index.Index
store the key, item

R

range() - Method in class org.apache.kahadb.util.Sequence
 
read(Location) - Method in class org.apache.kahadb.journal.Journal
 
read() - Method in class org.apache.kahadb.util.ByteArrayInputStream
 
read(byte[]) - Method in class org.apache.kahadb.util.ByteArrayInputStream
 
read(byte[], int, int) - Method in class org.apache.kahadb.util.ByteArrayInputStream
 
read() - Method in class org.apache.kahadb.util.DataByteArrayInputStream
Reads the next byte of data from this input stream.
read(byte[], int, int) - Method in class org.apache.kahadb.util.DataByteArrayInputStream
Reads up to len bytes of data into an array of bytes from this input stream.
readBoolean() - Method in class org.apache.kahadb.util.DataByteArrayInputStream
 
readByte() - Method in class org.apache.kahadb.util.DataByteArrayInputStream
 
readChar() - Method in class org.apache.kahadb.util.DataByteArrayInputStream
 
readDouble() - Method in class org.apache.kahadb.util.DataByteArrayInputStream
 
readDuration - Variable in class org.apache.kahadb.util.DiskBenchmark.Report
 
readExternal(DataInput) - Method in class org.apache.kahadb.journal.Location
 
readFloat() - Method in class org.apache.kahadb.util.DataByteArrayInputStream
 
readFully(byte[]) - Method in class org.apache.kahadb.util.DataByteArrayInputStream
 
readFully(byte[], int, int) - Method in class org.apache.kahadb.util.DataByteArrayInputStream
 
readInt() - Method in class org.apache.kahadb.util.DataByteArrayInputStream
 
readLine() - Method in class org.apache.kahadb.util.DataByteArrayInputStream
 
readLong() - Method in class org.apache.kahadb.util.DataByteArrayInputStream
 
ReadOnlyDataFile - Class in org.apache.kahadb.journal
Allows you to open a data file in read only mode.
ReadOnlyJournal - Class in org.apache.kahadb.journal
An AsyncDataManager that works in read only mode against multiple data directories.
ReadOnlyJournal(ArrayList<File>) - Constructor for class org.apache.kahadb.journal.ReadOnlyJournal
 
readPayload(DataInput) - Method in class org.apache.kahadb.index.BTreeNode.Marshaller
 
readPayload(DataInput) - Method in class org.apache.kahadb.util.BytesMarshaller
 
readPayload(DataInput) - Method in class org.apache.kahadb.util.IntegerMarshaller
 
readPayload(DataInput) - Method in class org.apache.kahadb.util.LongMarshaller
 
readPayload(DataInput) - Method in interface org.apache.kahadb.util.Marshaller
Read the payload of the object from the DataInput stream.
readPayload(DataInput) - Method in class org.apache.kahadb.util.ObjectMarshaller
 
readPayload(DataInput) - Method in class org.apache.kahadb.util.SequenceSet.Marshaller
 
readPayload(DataInput) - Method in class org.apache.kahadb.util.StringMarshaller
Read the entry from the RawContainer
reads - Variable in class org.apache.kahadb.util.DiskBenchmark.Report
 
readShort() - Method in class org.apache.kahadb.util.DataByteArrayInputStream
 
readUnsignedByte() - Method in class org.apache.kahadb.util.DataByteArrayInputStream
 
readUnsignedShort() - Method in class org.apache.kahadb.util.DataByteArrayInputStream
 
readUTF() - Method in class org.apache.kahadb.util.DataByteArrayInputStream
 
RECORD_HEAD_SPACE - Static variable in class org.apache.kahadb.journal.Journal
 
recoveryCheck(DataFile) - Method in class org.apache.kahadb.journal.Journal
 
remove(Transaction, Key) - Method in class org.apache.kahadb.index.BTreeIndex
 
remove(Transaction, Key) - Method in class org.apache.kahadb.index.BTreeNode
 
remove(Transaction, Key) - Method in class org.apache.kahadb.index.HashIndex
 
remove(Transaction, Key) - Method in interface org.apache.kahadb.index.Index
remove the index key
removeDataFiles(Set<Integer>) - Method in class org.apache.kahadb.journal.Journal
 
removeEldestEntry(Map.Entry<K, V>) - Method in class org.apache.kahadb.util.LRUCache
 
removeFirst() - Method in class org.apache.kahadb.util.SequenceSet
Removes and returns the first element from this list.
removeFirstSequence(long) - Method in class org.apache.kahadb.util.SequenceSet
Removes and returns the first sequence that is count range large.
removeLastSequence() - Method in class org.apache.kahadb.util.SequenceSet
 
reparent(LinkedNodeList<T>) - Method in class org.apache.kahadb.util.LinkedNodeList
 
replicate(Location, ByteSequence, boolean) - Method in interface org.apache.kahadb.journal.ReplicationTarget
 
ReplicationTarget - Interface in org.apache.kahadb.journal
 
reset() - Method in class org.apache.kahadb.util.ByteArrayInputStream
 
reset() - Method in class org.apache.kahadb.util.ByteArrayOutputStream
 
reset() - Method in class org.apache.kahadb.util.DataByteArrayOutputStream
reset the output stream
restart(byte[]) - Method in class org.apache.kahadb.util.DataByteArrayInputStream
reset the StoreByteArrayInputStream to use an new byte array
restart() - Method in class org.apache.kahadb.util.DataByteArrayInputStream
 
restart(ByteSequence) - Method in class org.apache.kahadb.util.DataByteArrayInputStream
reset the StoreByteArrayInputStream to use an new ByteSequence
restart(int) - Method in class org.apache.kahadb.util.DataByteArrayInputStream
re-start the input stream - reusing the current buffer
restart(int) - Method in class org.apache.kahadb.util.DataByteArrayOutputStream
start using a fresh byte array
restart() - Method in class org.apache.kahadb.util.DataByteArrayOutputStream
start using a fresh byte array
rollback() - Method in class org.apache.kahadb.page.Transaction
Rolls back the transaction.
rotate() - Method in class org.apache.kahadb.util.LinkedNodeList
Move the head to the tail and returns the new head node.
rotateTo(T) - Method in class org.apache.kahadb.util.LinkedNodeList
Move the head to the tail and returns the new head node.
run() - Method in class org.apache.kahadb.util.SchedulerTimerTask
 

S

Scheduler - Class in org.apache.kahadb.util
 
SchedulerTimerTask - Class in org.apache.kahadb.util
A TimeTask for a Runnable object
SchedulerTimerTask(Runnable) - Constructor for class org.apache.kahadb.util.SchedulerTimerTask
 
Sequence - Class in org.apache.kahadb.util
Represents a range of numbers.
Sequence(long) - Constructor for class org.apache.kahadb.util.Sequence
 
Sequence(long, long) - Constructor for class org.apache.kahadb.util.Sequence
 
Sequence.Closure<T extends Throwable> - Interface in org.apache.kahadb.util
 
SequenceSet - Class in org.apache.kahadb.util
Keeps track of a added long values.
SequenceSet() - Constructor for class org.apache.kahadb.util.SequenceSet
 
SequenceSet.Marshaller - Class in org.apache.kahadb.util
 
SequenceSet.Marshaller() - Constructor for class org.apache.kahadb.util.SequenceSet.Marshaller
 
set(T) - Method in class org.apache.kahadb.page.Page
 
setArchiveDataLogs(boolean) - Method in class org.apache.kahadb.journal.Journal
 
setBinCapacity(int) - Method in class org.apache.kahadb.index.HashIndex
 
setBs(int) - Method in class org.apache.kahadb.util.DiskBenchmark
 
setCheckForCorruptionOnStartup(boolean) - Method in class org.apache.kahadb.journal.Journal
 
setChecksum(boolean) - Method in class org.apache.kahadb.journal.Journal
 
setChecksum(int) - Method in class org.apache.kahadb.page.Page
 
setCleanShutdown(boolean) - Method in class org.apache.kahadb.page.PageFile.MetaData
 
setData(byte[]) - Method in class org.apache.kahadb.util.ByteSequence
 
setDataFileId(int) - Method in class org.apache.kahadb.journal.Location
 
setDirectory(File) - Method in class org.apache.kahadb.journal.Journal
 
setDirectoryArchive(File) - Method in class org.apache.kahadb.journal.Journal
 
setEmpty() - Method in class org.apache.kahadb.index.BTreeNode
 
setEnableDiskSyncs(boolean) - Method in class org.apache.kahadb.page.PageFile
Allows you enable syncing writes to disk.
setEnablePageCaching(boolean) - Method in class org.apache.kahadb.page.PageFile
 
setEnableRecoveryFile(boolean) - Method in class org.apache.kahadb.page.PageFile
Sets if the recovery buffer uses to double buffer page writes.
setEnableWriteThread(boolean) - Method in class org.apache.kahadb.page.PageFile
 
setFilePrefix(String) - Method in class org.apache.kahadb.journal.Journal
 
setFileSuffix(String) - Method in class org.apache.kahadb.journal.Journal
 
setFileType(String) - Method in class org.apache.kahadb.page.PageFile.MetaData
 
setFileTypeVersion(String) - Method in class org.apache.kahadb.page.PageFile.MetaData
 
setFirst(long) - Method in class org.apache.kahadb.util.Sequence
 
setFreePages(long) - Method in class org.apache.kahadb.page.PageFile.MetaData
 
setKeyMarshaller(Marshaller<Key>) - Method in class org.apache.kahadb.index.BTreeIndex
 
setKeyMarshaller(Marshaller<Key>) - Method in class org.apache.kahadb.index.HashIndex
Set the marshaller for key objects
setKeyMarshaller(Marshaller<Key>) - Method in interface org.apache.kahadb.index.Index
Set the marshaller for key objects
setLast(long) - Method in class org.apache.kahadb.util.Sequence
 
setLastAppendLocation(Location) - Method in class org.apache.kahadb.journal.Journal
 
setLastTxId(long) - Method in class org.apache.kahadb.page.PageFile.MetaData
 
setLatch(CountDownLatch) - Method in class org.apache.kahadb.journal.Location
 
setLength(int) - Method in class org.apache.kahadb.journal.DataFile
 
setLength(int) - Method in class org.apache.kahadb.util.ByteSequence
 
setLength(int) - Method in class org.apache.kahadb.util.DataByteArrayInputStream
 
setLoadFactor(int) - Method in class org.apache.kahadb.index.HashIndex
 
setMaxCacheSize(int) - Method in class org.apache.kahadb.util.LRUCache
 
setMaxFileLength(int) - Method in class org.apache.kahadb.journal.Journal
 
setMaximumBinCapacity() - Method in class org.apache.kahadb.index.HashIndex
 
setMaximumBinCapacity(int) - Method in class org.apache.kahadb.index.HashIndex
 
setMetaDataTxId(long) - Method in class org.apache.kahadb.page.PageFile.MetaData
 
setNext(long) - Method in class org.apache.kahadb.index.BTreeNode
 
setOffset(int) - Method in class org.apache.kahadb.journal.Location
 
setOffset(int) - Method in class org.apache.kahadb.util.ByteSequence
 
setOptions(Object, String[]) - Static method in class org.apache.kahadb.util.CommandLineSupport
Sets the properties of an object given the command line args.
setPage(Page<BTreeNode<Key, Value>>) - Method in class org.apache.kahadb.index.BTreeNode
 
setPageCacheSize(int) - Method in class org.apache.kahadb.page.PageFile
 
setPageFile(PageFile) - Method in class org.apache.kahadb.index.BTreeIndex
 
setPageId(long) - Method in class org.apache.kahadb.index.BTreeIndex
 
setPageSize(int) - Method in class org.apache.kahadb.page.PageFile.MetaData
 
setPageSize(int) - Method in class org.apache.kahadb.page.PageFile
Configures the page size used by the page file.
setParent(BTreeNode<Key, Value>) - Method in class org.apache.kahadb.index.BTreeNode
 
setPos(int) - Method in class org.apache.kahadb.util.DataByteArrayInputStream
 
setPrefixer(BTreeIndex.Prefixer<Key>) - Method in class org.apache.kahadb.index.BTreeIndex
 
setProperties(Object, Map, String) - Static method in class org.apache.kahadb.util.IntrospectionSupport
 
setProperties(Object, Map) - Static method in class org.apache.kahadb.util.IntrospectionSupport
 
setProperty(Object, String, Object) - Static method in class org.apache.kahadb.util.IntrospectionSupport
 
setReadDuration(long) - Method in class org.apache.kahadb.util.DiskBenchmark.Report
 
setReads(int) - Method in class org.apache.kahadb.util.DiskBenchmark.Report
 
setRecoveryFileMaxPageCount(int) - Method in class org.apache.kahadb.page.PageFile
 
setRecoveryFileMinPageCount(int) - Method in class org.apache.kahadb.page.PageFile
 
setReplicationTarget(ReplicationTarget) - Method in class org.apache.kahadb.journal.Journal
 
setSampleInterval(long) - Method in class org.apache.kahadb.util.DiskBenchmark
 
setSize(int) - Method in class org.apache.kahadb.journal.Location
 
setSize(int) - Method in class org.apache.kahadb.util.DiskBenchmark.Report
 
setSize(long) - Method in class org.apache.kahadb.util.DiskBenchmark
 
setSizeAccumulator(AtomicLong) - Method in class org.apache.kahadb.journal.Journal
 
setSyncWriteDuration(long) - Method in class org.apache.kahadb.util.DiskBenchmark.Report
 
setSyncWrites(int) - Method in class org.apache.kahadb.util.DiskBenchmark.Report
 
setType(byte) - Method in class org.apache.kahadb.journal.Location
 
setValueMarshaller(Marshaller<Value>) - Method in class org.apache.kahadb.index.BTreeIndex
 
setValueMarshaller(Marshaller<Value>) - Method in class org.apache.kahadb.index.HashIndex
Set the marshaller for value objects
setValueMarshaller(Marshaller<Value>) - Method in interface org.apache.kahadb.index.Index
Set the marshaller for key objects
setVerbose(boolean) - Method in class org.apache.kahadb.util.DiskBenchmark
 
setWriteBatchSize(int) - Method in class org.apache.kahadb.journal.Journal
 
setWriteBatchSize(int) - Method in class org.apache.kahadb.page.PageFile
 
setWriteDuration(long) - Method in class org.apache.kahadb.util.DiskBenchmark.Report
 
setWrites(int) - Method in class org.apache.kahadb.util.DiskBenchmark.Report
 
shutdown() - Static method in class org.apache.kahadb.util.Scheduler
 
simpleName(Class) - Static method in class org.apache.kahadb.util.IntrospectionSupport
 
size(Transaction) - Method in class org.apache.kahadb.index.HashIndex
 
size() - Method in class org.apache.kahadb.util.ByteArrayOutputStream
 
size() - Method in class org.apache.kahadb.util.DataByteArrayInputStream
 
size() - Method in class org.apache.kahadb.util.DataByteArrayOutputStream
 
size - Variable in class org.apache.kahadb.util.DiskBenchmark.Report
 
size() - Method in class org.apache.kahadb.util.LinkedNodeList
 
skip(long) - Method in class org.apache.kahadb.util.ByteArrayInputStream
 
skip(int) - Method in class org.apache.kahadb.util.DataByteArrayOutputStream
 
skipBytes(int) - Method in class org.apache.kahadb.util.DataByteArrayInputStream
 
splitAfter() - Method in class org.apache.kahadb.util.LinkedNode
Splits the list into 2 lists.
splitBefore() - Method in class org.apache.kahadb.util.LinkedNode
Splits the list into 2 lists.
start() - Method in class org.apache.kahadb.journal.Journal
 
start() - Method in class org.apache.kahadb.journal.ReadOnlyJournal
 
started - Variable in class org.apache.kahadb.journal.Journal
 
store(Transaction, HashBin<Key, Value>) - Method in class org.apache.kahadb.index.HashIndex
 
store(Page<T>, Marshaller<T>, boolean) - Method in class org.apache.kahadb.page.Transaction
 
StringMarshaller - Class in org.apache.kahadb.util
Implementation of a Marshaller for Strings
StringMarshaller() - Constructor for class org.apache.kahadb.util.StringMarshaller
 
syncWriteDuration - Variable in class org.apache.kahadb.util.DiskBenchmark.Report
 
syncWrites - Variable in class org.apache.kahadb.util.DiskBenchmark.Report
 

T

toArrayList() - Method in class org.apache.kahadb.util.LinkedNodeList
Copies the nodes of the LinkedNodeList to an ArrayList.
toByteArray() - Method in class org.apache.kahadb.util.ByteArrayOutputStream
 
toByteSequence() - Method in class org.apache.kahadb.util.ByteArrayOutputStream
 
toByteSequence() - Method in class org.apache.kahadb.util.DataByteArrayOutputStream
Get a ByteSequence from the stream
toBytesFromHex(String) - Static method in class org.apache.kahadb.util.HexSupport
 
toFileSystemDirectorySafeName(String) - Static method in class org.apache.kahadb.util.IOHelper
Converts any string into a string that is safe to use as a file name.
toFileSystemSafeName(String) - Static method in class org.apache.kahadb.util.IOHelper
 
toFileSystemSafeName(String, boolean, int) - Static method in class org.apache.kahadb.util.IOHelper
Converts any string into a string that is safe to use as a file name.
toHexFromBytes(byte[]) - Static method in class org.apache.kahadb.util.HexSupport
 
toHexFromInt(int, boolean) - Static method in class org.apache.kahadb.util.HexSupport
 
toString() - Method in class org.apache.kahadb.index.BTreeNode
 
toString() - Method in class org.apache.kahadb.index.BTreeVisitor.AndVisitor
 
toString() - Method in class org.apache.kahadb.index.BTreeVisitor.BetweenVisitor
 
toString() - Method in class org.apache.kahadb.index.BTreeVisitor.GTEVisitor
 
toString() - Method in class org.apache.kahadb.index.BTreeVisitor.GTVisitor
 
toString() - Method in class org.apache.kahadb.index.BTreeVisitor.LTEVisitor
 
toString() - Method in class org.apache.kahadb.index.BTreeVisitor.LTVisitor
 
toString() - Method in class org.apache.kahadb.index.BTreeVisitor.OrVisitor
 
toString() - Method in class org.apache.kahadb.index.HashIndex
 
toString() - Method in class org.apache.kahadb.journal.DataFile
 
toString() - Method in class org.apache.kahadb.journal.Journal
 
toString() - Method in class org.apache.kahadb.journal.Location
 
toString() - Method in class org.apache.kahadb.page.Page
 
toString() - Method in class org.apache.kahadb.page.PageFile
 
toString() - Method in class org.apache.kahadb.util.DiskBenchmark.Report
 
toString(Object) - Static method in class org.apache.kahadb.util.IntrospectionSupport
 
toString(Object, Class) - Static method in class org.apache.kahadb.util.IntrospectionSupport
 
toString() - Method in class org.apache.kahadb.util.LinkedNodeList
 
toString() - Method in class org.apache.kahadb.util.Sequence
 
totalLength - Variable in class org.apache.kahadb.journal.Journal
 
Transaction - Class in org.apache.kahadb.page
The class used to read/update a PageFile object.
Transaction.CallableClosure<R,T extends Throwable> - Interface in org.apache.kahadb.page
This closure interface is intended for the end user implement callbacks for the Transaction.exectue() method.
Transaction.Closure<T extends Throwable> - Interface in org.apache.kahadb.page
This closure interface is intended for the end user implement callbacks for the Transaction.exectue() method.
Transaction.InvalidPageIOException - Exception in org.apache.kahadb.page
The InvalidPageIOException is thrown if try to load/store a a page with an invalid page id.
Transaction.InvalidPageIOException(String, long) - Constructor for exception org.apache.kahadb.page.Transaction.InvalidPageIOException
 
Transaction.PageOverflowIOException - Exception in org.apache.kahadb.page
The PageOverflowIOException occurs when a page write is requested and it's data is larger than what would fit into a single page.
Transaction.PageOverflowIOException(String) - Constructor for exception org.apache.kahadb.page.Transaction.PageOverflowIOException
 
tx() - Method in class org.apache.kahadb.page.PageFile
 

U

unlink() - Method in class org.apache.kahadb.util.LinkedNode
Removes this node out of the linked list it is chained in.
unload(Transaction) - Method in class org.apache.kahadb.index.BTreeIndex
 
unload(Transaction) - Method in class org.apache.kahadb.index.HashIndex
 
unload(Transaction) - Method in interface org.apache.kahadb.index.Index
unload indexes
unload() - Method in class org.apache.kahadb.page.PageFile
Unloads a previously loaded PageFile.
unlock() - Method in class org.apache.kahadb.util.LockFile
 
update(Location, ByteSequence, boolean) - Method in class org.apache.kahadb.journal.Journal
 
USER_RECORD_TYPE - Static variable in class org.apache.kahadb.journal.Journal
 
USER_TYPE - Static variable in class org.apache.kahadb.journal.Location
 

V

VariableMarshaller<T> - Class in org.apache.kahadb.util
Convenience base class for Marshaller implementations which do not deepCopy and which use variable size encodings.
VariableMarshaller() - Constructor for class org.apache.kahadb.util.VariableMarshaller
 
visit(Transaction, BTreeVisitor<Key, Value>) - Method in class org.apache.kahadb.index.BTreeIndex
 
visit(Transaction, BTreeVisitor<Key, Value>) - Method in class org.apache.kahadb.index.BTreeNode
 
visit(List<Key>, List<Value>) - Method in class org.apache.kahadb.index.BTreeVisitor.PredicateVisitor
 
visit(List<Key>, List<Value>) - Method in interface org.apache.kahadb.index.BTreeVisitor
The keys and values of a BTree leaf node.

W

write(ByteSequence, boolean) - Method in class org.apache.kahadb.journal.Journal
 
write(ByteSequence, Runnable) - Method in class org.apache.kahadb.journal.Journal
 
write(int) - Method in class org.apache.kahadb.util.ByteArrayOutputStream
 
write(byte[], int, int) - Method in class org.apache.kahadb.util.ByteArrayOutputStream
 
write(int) - Method in class org.apache.kahadb.util.DataByteArrayOutputStream
Writes the specified byte to this byte array output stream.
write(byte[], int, int) - Method in class org.apache.kahadb.util.DataByteArrayOutputStream
Writes len bytes from the specified byte array starting at offset off to this byte array output stream.
writeBatchSize - Variable in class org.apache.kahadb.journal.Journal
 
writeBoolean(boolean) - Method in class org.apache.kahadb.util.DataByteArrayOutputStream
 
writeByte(int) - Method in class org.apache.kahadb.util.DataByteArrayOutputStream
 
writeBytes(String) - Method in class org.apache.kahadb.util.DataByteArrayOutputStream
 
writeChar(int) - Method in class org.apache.kahadb.util.DataByteArrayOutputStream
 
writeChars(String) - Method in class org.apache.kahadb.util.DataByteArrayOutputStream
 
writeDouble(double) - Method in class org.apache.kahadb.util.DataByteArrayOutputStream
 
writeDuration - Variable in class org.apache.kahadb.util.DiskBenchmark.Report
 
writeExternal(DataOutput) - Method in class org.apache.kahadb.journal.Location
 
writeFloat(float) - Method in class org.apache.kahadb.util.DataByteArrayOutputStream
 
writeInt(int) - Method in class org.apache.kahadb.util.DataByteArrayOutputStream
 
writeLong(long) - Method in class org.apache.kahadb.util.DataByteArrayOutputStream
 
writePayload(BTreeNode<Key, Value>, DataOutput) - Method in class org.apache.kahadb.index.BTreeNode.Marshaller
 
writePayload(byte[], DataOutput) - Method in class org.apache.kahadb.util.BytesMarshaller
 
writePayload(Integer, DataOutput) - Method in class org.apache.kahadb.util.IntegerMarshaller
 
writePayload(Long, DataOutput) - Method in class org.apache.kahadb.util.LongMarshaller
 
writePayload(T, DataOutput) - Method in interface org.apache.kahadb.util.Marshaller
Write the payload of the object to the DataOutput stream.
writePayload(Object, DataOutput) - Method in class org.apache.kahadb.util.ObjectMarshaller
 
writePayload(SequenceSet, DataOutput) - Method in class org.apache.kahadb.util.SequenceSet.Marshaller
 
writePayload(String, DataOutput) - Method in class org.apache.kahadb.util.StringMarshaller
Write the payload of this entry to the RawContainer
writes - Variable in class org.apache.kahadb.util.DiskBenchmark.Report
 
writeShort(int) - Method in class org.apache.kahadb.util.DataByteArrayOutputStream
 
writeUTF(String) - Method in class org.apache.kahadb.util.DataByteArrayOutputStream
 

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

Copyright © 2005-2010 The Apache Software Foundation. All Rights Reserved.