Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
C
- CACHE - Enum constant in enum class org.cojen.tupl.diag.EventType.Category
-
Category mainly used during cache initialization.
- CACHE_INIT_BEGIN - Enum constant in enum class org.cojen.tupl.diag.EventType
-
Signals the beginning of cache initialization.
- CACHE_INIT_COMPLETE - Enum constant in enum class org.cojen.tupl.diag.EventType
-
Signals the end of cache initialization, reporting the duration.
- CACHE_INIT_INFO - Enum constant in enum class org.cojen.tupl.diag.EventType
-
Generic info message during cache initialization.
- CacheExhaustedException - Exception Class in org.cojen.tupl
-
Thrown when the database cache is full and no more data can be loaded into it.
- CacheExhaustedException() - Constructor for exception class org.cojen.tupl.CacheExhaustedException
- CacheExhaustedException(String) - Constructor for exception class org.cojen.tupl.CacheExhaustedException
- cachePages - Variable in class org.cojen.tupl.diag.DatabaseStats
-
The current size of the cache, in pages.
- cachePriming(boolean) - Method in class org.cojen.tupl.DatabaseConfig
-
Enable automatic cache priming, which writes a priming set into a special file when the process is cleanly shutdown.
- cacheSize(long) - Method in class org.cojen.tupl.DatabaseConfig
-
Convenience method which sets the minimum and maximum cache size, overriding the default.
- Canonicalizer - Class in org.cojen.tupl.util
-
Implements a specialized cache for supporting object canonicalization.
- Canonicalizer() - Constructor for class org.cojen.tupl.util.Canonicalizer
- capacityLimit() - Method in interface org.cojen.tupl.Database
-
Returns the current capacity limit, rounded down by page size.
- capacityLimit(long) - Method in interface org.cojen.tupl.Database
-
Set a soft capacity limit for the database, to prevent filling up the storage device.
- capacityLimitOverride(long) - Method in interface org.cojen.tupl.Database
-
Set capacity limits for the current thread, allowing it to perform tasks which can free up space.
- category - Variable in enum class org.cojen.tupl.diag.EventType
- CauseCloseable - Interface in org.cojen.tupl.io
-
Closeable interface which allows a failure cause to be specified.
- check() - Method in interface org.cojen.tupl.Transaction
-
Checks the validity of the transaction.
- checkDelete(Table<R>, R) - Method in interface org.cojen.tupl.Mapper
-
Checks if the given source row can be deleted from the source table.
- checkpoint() - Method in interface org.cojen.tupl.Database
-
Durably sync and checkpoint all changes to the database.
- CHECKPOINT - Enum constant in enum class org.cojen.tupl.diag.EventType.Category
-
Checkpoints commit transactional and non-transactional changes to the main database.
- CHECKPOINT_BEGIN - Enum constant in enum class org.cojen.tupl.diag.EventType
-
Signals the beginning of a checkpoint.
- CHECKPOINT_COMPLETE - Enum constant in enum class org.cojen.tupl.diag.EventType
-
Signals the end of a checkpoint, reporting the duration.
- CHECKPOINT_FAILED - Enum constant in enum class org.cojen.tupl.diag.EventType
-
Signals that checkpoint task failed with an exception.
- CHECKPOINT_FLUSH - Enum constant in enum class org.cojen.tupl.diag.EventType
-
Signals the checkpoint phase which flushes all dirty nodes to the main database file.
- CHECKPOINT_SYNC - Enum constant in enum class org.cojen.tupl.diag.EventType
-
Signals the checkpoint phase which forcibly persists changes to the main database file.
- checkpointDelayThreshold(long, TimeUnit) - Method in class org.cojen.tupl.DatabaseConfig
-
Set the maximum delay before an automatic checkpoint is performed, regardless of the redo log size threshold.
- checkpointDuration - Variable in class org.cojen.tupl.diag.DatabaseStats
-
The time duration required for the last checkpoint to complete, in milliseconds.
- checkpointRate(long, TimeUnit) - Method in class org.cojen.tupl.DatabaseConfig
-
Set the rate at which checkpoints are automatically performed.
- checkpointSizeThreshold(long) - Method in class org.cojen.tupl.DatabaseConfig
-
Set the minimum redo log size required for an automatic checkpoint to actually be performed.
- checkStore(Table<R>, R) - Method in interface org.cojen.tupl.Mapper
-
Checks if the given source row can be stored into the source table.
- ChecksumException - Exception Class in org.cojen.tupl
-
Thrown when a page of data from the database is detected as being corrupt because the stored checksum doesn't match what was freshly computed.
- ChecksumException(long, int, int) - Constructor for exception class org.cojen.tupl.ChecksumException
- ChecksumException(long, long, long) - Constructor for exception class org.cojen.tupl.ChecksumException
- ChecksumException(String, long, long) - Constructor for exception class org.cojen.tupl.ChecksumException
- checksumPages(Supplier<? extends Checksum>) - Method in class org.cojen.tupl.DatabaseConfig
-
Enable 32-bit checksums for all of the underlying database pages.
- checksumSockets(boolean) - Method in class org.cojen.tupl.repl.ReplicatorConfig
-
Pass true to enable CRC checksums for all socket commands written.
- checkUpdate(Table<R>, R) - Method in interface org.cojen.tupl.Mapper
-
Checks if the given source row can be updated into the source table.
- CipherCrypto - Class in org.cojen.tupl.ext
-
Crypto implementation which uses
Cipher
and defaults to the AES algorithm. - CipherCrypto(byte[]) - Constructor for class org.cojen.tupl.ext.CipherCrypto
-
Construct with an existing key, which is wrapped with
SecretKeySpec
, although additional keys might need to be generated. - CipherCrypto(int) - Constructor for class org.cojen.tupl.ext.CipherCrypto
-
Construct with a new key, available from the
secretKey
method. - CipherCrypto(SecretKey, int) - Constructor for class org.cojen.tupl.ext.CipherCrypto
-
Construct with an existing key, although additional keys might need to be generated.
- cleanRow(R) - Method in interface org.cojen.tupl.Table
-
Sets columns which have a dirty state to clean.
- cleanShutdown(boolean) - Method in class org.cojen.tupl.DatabaseConfig
-
When the process is cleanly shutdown, attempt to issue a full database shutdown.
- clear() - Method in class org.cojen.tupl.util.Latch.Condition
-
Clears out all waiters and interrupts those that are threads.
- clear(Consumer<B>) - Method in class org.cojen.tupl.util.LocalPool
-
Removes all pooled objects and passes them to the optional consumer for cleanup.
- clone() - Method in class org.cojen.tupl.DatabaseConfig
- clone() - Method in class org.cojen.tupl.diag.DatabaseStats
- clone() - Method in class org.cojen.tupl.diag.IndexStats
- clone() - Method in class org.cojen.tupl.repl.ReplicatorConfig
- cloneRow(R) - Method in interface org.cojen.tupl.Table
-
Returns a new row instance which is an exact copy of the given row.
- close() - Method in interface org.cojen.tupl.Aggregator
-
Is called when this
Aggregator
instance is no longer needed. - close() - Method in interface org.cojen.tupl.Cursor
-
Equivalent to the reset method, which moves the Cursor to an undefined position.
- close() - Method in interface org.cojen.tupl.Database
-
Closes the database, ensuring durability of committed transactions.
- close() - Method in interface org.cojen.tupl.Grouper
-
Is called when this
Grouper
instance is no longer needed. - close() - Method in interface org.cojen.tupl.Index
-
Closes this index reference.
- close() - Method in class org.cojen.tupl.io.FileIO
- close() - Method in class org.cojen.tupl.io.PageArray
- close() - Method in interface org.cojen.tupl.io.PageCompressor
- close() - Method in interface org.cojen.tupl.repl.Replicator.Accessor
- close() - Method in interface org.cojen.tupl.Scanner
- close() - Method in interface org.cojen.tupl.Server
-
Disables remote access, closes all acceptors, and closes all existing connections.
- close() - Method in interface org.cojen.tupl.Snapshot
-
Can be called by another thread to abort the snapshot, causing any thread in the writeTo method to throw an exception.
- close() - Method in interface org.cojen.tupl.Table
- close() - Method in interface org.cojen.tupl.Transaction
-
Equivalent to calling
exit
: Exits the current transaction scope, rolling back all uncommitted modifications made within. - close() - Method in interface org.cojen.tupl.ValueAccessor
-
Closes the accessor, but doesn't flush any OutputStream instances.
- close(Closeable, Throwable) - Static method in class org.cojen.tupl.io.Utils
-
Closes a resource, which may throw a new exception.
- close(Throwable) - Method in interface org.cojen.tupl.Database
-
Closes the database after an unexpected failure.
- close(Throwable) - Method in interface org.cojen.tupl.io.CauseCloseable
- close(Throwable) - Method in class org.cojen.tupl.io.FilePageArray
- close(Throwable) - Method in class org.cojen.tupl.io.MappedPageArray
- close(Throwable) - Method in class org.cojen.tupl.io.PageArray
- close(Throwable) - Method in class org.cojen.tupl.io.SpilloverPageArray
- close(Throwable) - Method in class org.cojen.tupl.io.StripedPageArray
- CLOSE_DONTNEED - Enum constant in enum class org.cojen.tupl.io.OpenOption
-
Optional hint to apply at file close indicating that the file data will not be accessed in the near future.
- ClosedIndexException - Exception Class in org.cojen.tupl
-
Thrown when attempting to access or modify the contents of an index through a closed reference.
- ClosedIndexException() - Constructor for exception class org.cojen.tupl.ClosedIndexException
- closeOnFailure(Closeable, Throwable) - Static method in class org.cojen.tupl.io.Utils
-
Closes the given resource, passing the cause if the resource implements
CauseCloseable
. - closeQuietly(Closeable) - Static method in class org.cojen.tupl.io.Utils
-
Closes a resource without throwing another exception.
- closeQuietly(Closeable, Throwable) - Static method in class org.cojen.tupl.io.Utils
-
Closes a resource without throwing another exception.
- closeQuietly(IOException, Closeable) - Static method in class org.cojen.tupl.io.Utils
-
Closes a resource without throwing another exception.
- closeQuietly(IOException, Closeable, Throwable) - Static method in class org.cojen.tupl.io.Utils
-
Closes a resource without throwing another exception.
- Clutch - Class in org.cojen.tupl.util
-
A clutch is a specialized latch which can support highly concurrent shared requests, under the assumption that exclusive requests are infrequent.
- Clutch() - Constructor for class org.cojen.tupl.util.Clutch
- Clutch(int) - Constructor for class org.cojen.tupl.util.Clutch
- Clutch.Pack - Class in org.cojen.tupl.util
-
Sharable object for supporting contended clutches.
- columnMethodName(String) - Method in interface org.cojen.tupl.Row
-
Returns the method name for the given column name.
- ColumnProcessor<R> - Interface in org.cojen.tupl
-
Represents an operation which accepts a column name and value.
- columns - Variable in class org.cojen.tupl.diag.QueryPlan.NaturalJoin
- columnType(String) - Method in interface org.cojen.tupl.Row
-
Returns the column type for the given column name.
- combine(byte[], byte[], byte[]) - Method in interface org.cojen.tupl.Combiner
-
Return a combined value derived from the given key and value pair.
- combineLocks() - Method in interface org.cojen.tupl.Combiner
-
Returns false by default, indicating that when loads of the first key acquire a lock, it doesn't need to be held while a lock on the second key is acquired.
- Combiner - Interface in org.cojen.tupl
-
Represents an operation which combines two values that map to the same key.
- commit() - Method in interface org.cojen.tupl.Transaction
-
Commits all modifications made within the current transaction scope.
- commit(byte[]) - Method in interface org.cojen.tupl.Cursor
-
Combined store and commit to the linked transaction.
- commitAll() - Method in interface org.cojen.tupl.Transaction
-
Commits and exits all transaction scopes.
- CommitCallback - Interface in org.cojen.tupl
-
Defines a callback which is notified when a pending transaction has finished.
- commitLock() - Method in interface org.cojen.tupl.Database
-
Returns the checkpoint commit lock, which can be held to prevent checkpoints from capturing a safe commit point.
- commitPosition() - Method in interface org.cojen.tupl.repl.Replicator.Accessor
-
Returns the current term commit position, which might be lower than the start position.
- commitPosition() - Method in interface org.cojen.tupl.repl.Replicator
-
Returns the highest observed commit position overall.
- compact(long) - Method in interface org.cojen.tupl.repl.Replicator
-
Permit all data lower than the given position to be deleted, freeing up space in the log.
- Compact - Class in org.cojen.tupl.tools
-
Simple database file compaction utility.
- compactFile(CompactionObserver, double) - Method in interface org.cojen.tupl.Database
-
Compacts the database by shrinking the database file.
- CompactionObserver - Class in org.cojen.tupl.diag
-
Index compaction observer.
- CompactionObserver() - Constructor for class org.cojen.tupl.diag.CompactionObserver
- comparator() - Method in interface org.cojen.tupl.Cursor
-
Returns a key comparator for the ordering of this view, or null if unordered.
- comparator() - Method in interface org.cojen.tupl.View
-
Returns a key comparator for the ordering of this view, or null if unordered.
- comparator(String) - Method in interface org.cojen.tupl.Table
-
Returns a row comparator based on the given specification, which defines the ordering columns.
- compareKeyTo(byte[]) - Method in interface org.cojen.tupl.Cursor
-
Compare the current key to the one given.
- compareKeyTo(byte[], int, int) - Method in interface org.cojen.tupl.Cursor
-
Compare the current key to the one given.
- compress(long, int, int) - Method in interface org.cojen.tupl.io.PageCompressor
-
Compress to a byte array from a raw memory address.
- compressedBytes() - Method in interface org.cojen.tupl.io.PageCompressor
-
Target of the compress method.
- compressPages(int, long, Supplier<? extends PageCompressor>) - Method in class org.cojen.tupl.DatabaseConfig
-
Compress the underlying database pages, reducing overall size at the cost of performance.
- computedChecksum() - Method in exception class org.cojen.tupl.ChecksumException
- concat(Class<T>, Table<?>...) - Static method in interface org.cojen.tupl.Table
-
Returns a view consisting of all rows from the given source tables concatenated together, possibly resulting in duplicate rows.
- concat(Table<?>...) - Static method in interface org.cojen.tupl.Table
-
Returns a view consisting of all rows from the given source tables concatenated together, possibly resulting in duplicate rows.
- Concat(QueryPlan...) - Constructor for class org.cojen.tupl.diag.QueryPlan.Concat
- Condition() - Constructor for class org.cojen.tupl.util.Latch.Condition
- ConfirmationFailureException - Exception Class in org.cojen.tupl
-
Thrown when replication cannot be confirmed.
- ConfirmationFailureException() - Constructor for exception class org.cojen.tupl.ConfirmationFailureException
- ConfirmationFailureException(String) - Constructor for exception class org.cojen.tupl.ConfirmationFailureException
- ConfirmationFailureException(String, Throwable) - Constructor for exception class org.cojen.tupl.ConfirmationFailureException
- ConfirmationFailureException(Throwable) - Constructor for exception class org.cojen.tupl.ConfirmationFailureException
- ConfirmationInterruptedException - Exception Class in org.cojen.tupl
-
Thrown when replication confirmation was interrupted by another thread.
- ConfirmationInterruptedException() - Constructor for exception class org.cojen.tupl.ConfirmationInterruptedException
- ConfirmationTimeoutException - Exception Class in org.cojen.tupl
-
Thrown when replication confirmation timed out.
- ConfirmationTimeoutException(long) - Constructor for exception class org.cojen.tupl.ConfirmationTimeoutException
- connect(SocketAddress) - Method in interface org.cojen.tupl.repl.Replicator
-
Connect to any replication group member, for any particular use.
- connect(SocketAddress, SSLContext, long...) - Static method in interface org.cojen.tupl.Database
-
Establish a remote connection to a database which is running a
server
. - controlMessageAcceptor(Consumer<byte[]>) - Method in interface org.cojen.tupl.repl.StreamReplicator
-
Install a callback to be invoked when the replicator needs to send control messages, which must propagate through the replication log.
- controlMessageReceived(long, byte[]) - Method in interface org.cojen.tupl.repl.StreamReplicator
-
Called to pass along a control message, which was originally provided through an acceptor.
- ConversionException - Exception Class in org.cojen.tupl
-
Thrown when converting the value of a row column would result in data loss.
- ConversionException(String) - Constructor for exception class org.cojen.tupl.ConversionException
- ConversionException(String, String) - Constructor for exception class org.cojen.tupl.ConversionException
- ConversionException(String, String, Throwable) - Constructor for exception class org.cojen.tupl.ConversionException
- copy() - Method in interface org.cojen.tupl.Cursor
-
Returns a new independent Cursor, positioned where this one is, and linked to the same transaction.
- copyPage(long, long) - Method in class org.cojen.tupl.io.MappedPageArray
- copyPage(long, long) - Method in class org.cojen.tupl.io.PageArray
- copyPage(long, long) - Method in class org.cojen.tupl.io.SpilloverPageArray
- copyPage(long, long) - Method in class org.cojen.tupl.io.StripedPageArray
- copyPageFromAddress(long, long) - Method in class org.cojen.tupl.io.MappedPageArray
- copyPageFromAddress(long, long) - Method in class org.cojen.tupl.io.PageArray
- copyPageFromAddress(long, long) - Method in class org.cojen.tupl.io.SpilloverPageArray
- copyPageFromAddress(long, long) - Method in class org.cojen.tupl.io.StripedPageArray
- copyRow(R, R) - Method in interface org.cojen.tupl.Table
-
Copies all columns and states from one row to another.
- CorruptDatabaseException - Exception Class in org.cojen.tupl
-
Thrown when the internal structure of the
database
is corrupt. - CorruptDatabaseException() - Constructor for exception class org.cojen.tupl.CorruptDatabaseException
- CorruptDatabaseException(String) - Constructor for exception class org.cojen.tupl.CorruptDatabaseException
- CorruptDatabaseException(String, Throwable) - Constructor for exception class org.cojen.tupl.CorruptDatabaseException
- CorruptDatabaseException(Throwable) - Constructor for exception class org.cojen.tupl.CorruptDatabaseException
- count(byte[], boolean, byte[], boolean) - Method in interface org.cojen.tupl.View
-
Non-transactionally counts the number of entries within the given range.
- count(byte[], byte[]) - Method in interface org.cojen.tupl.View
-
Non-transactionally counts the number of entries within the given range.
- CREATE - Enum constant in enum class org.cojen.tupl.io.OpenOption
-
Create the file if it doesn't already exist.
- createCachePrimer(OutputStream) - Method in interface org.cojen.tupl.Database
-
Writes a cache priming set into the given stream, which can then be used later to prime the cache.
- createFilePath(boolean) - Method in class org.cojen.tupl.DatabaseConfig
-
Set true to create directories for the base and data file, if they don't already exist.
- createFilePath(boolean) - Method in class org.cojen.tupl.repl.ReplicatorConfig
-
Set true to create the directory for the replication files, if it doesn't already exist.
- Crypto - Interface in org.cojen.tupl.ext
-
Support for encrypting an entire database.
- current() - Static method in class org.cojen.tupl.util.Runner
-
Return an executor for the current thread's group.
- Cursor - Interface in org.cojen.tupl
-
Maintains a logical position in a
View
. - cursorCount - Variable in class org.cojen.tupl.diag.DatabaseStats
-
The amount of cursors which are in a non-reset state.
- CustomHandler - Interface in org.cojen.tupl.ext
-
Handler for custom transactional operations.
- customHandlers(Map<String, ? extends CustomHandler>) - Method in class org.cojen.tupl.DatabaseConfig
-
Provide handlers for recovering custom transactional operations.
- customWriter(String) - Method in interface org.cojen.tupl.Database
-
Returns a handler instance suitable for writing custom redo and undo operations.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form