Index

A B C D E F G H I J K L M N O P Q R S T U V W Z 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

R

random(byte[], boolean, byte[], boolean) - Method in interface org.cojen.tupl.Cursor
Moves the Cursor to a random entry, but not guaranteed to be chosen from a uniform distribution.
random(byte[], byte[]) - Method in interface org.cojen.tupl.Cursor
Moves the Cursor to a random entry, but not guaranteed to be chosen from a uniform distribution.
RANDOM_ACCESS - Enum constant in enum class org.cojen.tupl.io.OpenOption
Indicate that file will be accessed in random order.
RangeScan(String, String, String[], boolean, String, String) - Constructor for class org.cojen.tupl.diag.QueryPlan.RangeScan
 
RangeUnion(QueryPlan...) - Constructor for class org.cojen.tupl.diag.QueryPlan.RangeUnion
 
read(byte[]) - Method in interface org.cojen.tupl.repl.StreamReplicator.Reader
Blocks until log messages are available, never reading past a commit position or term.
read(byte[], int, int) - Method in interface org.cojen.tupl.repl.StreamReplicator.Reader
Blocks until log messages are available, never reading past a commit position or term.
read(long, byte[], int, int) - Method in class org.cojen.tupl.io.FileIO
 
read(long, long, int, int) - Method in class org.cojen.tupl.io.FileIO
 
READ_COMMITTED - Enum constant in enum class org.cojen.tupl.LockMode
Lock mode which acquires shared locks when reading entries and releases them as soon as possible.
READ_ONLY - Enum constant in enum class org.cojen.tupl.io.OpenOption
Open file in read-only mode.
READ_UNCOMMITTED - Enum constant in enum class org.cojen.tupl.LockMode
Lock mode which never acquires locks when reading entries.
READAHEAD - Enum constant in enum class org.cojen.tupl.io.OpenOption
Optional hint to perform readahead on the file.
readFully(byte[], int, int) - Method in interface org.cojen.tupl.repl.StreamReplicator.Reader
Blocks until the buffer is fully read with messages, never reading past a commit position or term.
readFully(InputStream, byte[], int, int) - Static method in class org.cojen.tupl.io.Utils
Fully reads the required length of bytes, throwing an EOFException if the end of stream is reached too soon.
readMessage() - Method in interface org.cojen.tupl.repl.MessageReplicator.Reader
Blocks until a log message is available, never reading past a commit position or term.
readMessage(byte[], int, int) - Method in interface org.cojen.tupl.repl.MessageReplicator.Reader
Blocks until a message is available, and then fully or partially copies it into the given buffer.
readOnly(boolean) - Method in class org.cojen.tupl.DatabaseConfig
Open the database file in read only mode.
readPage(long, byte[]) - Method in class org.cojen.tupl.io.PageArray
 
readPage(long, byte[], int, int) - Method in class org.cojen.tupl.io.FilePageArray
 
readPage(long, byte[], int, int) - Method in class org.cojen.tupl.io.JoinedPageArray
 
readPage(long, byte[], int, int) - Method in class org.cojen.tupl.io.MappedPageArray
 
readPage(long, byte[], int, int) - Method in class org.cojen.tupl.io.PageArray
 
readPage(long, byte[], int, int) - Method in class org.cojen.tupl.io.StripedPageArray
 
readPage(long, long) - Method in class org.cojen.tupl.io.PageArray
 
readPage(long, long, int, int) - Method in class org.cojen.tupl.io.FilePageArray
 
readPage(long, long, int, int) - Method in class org.cojen.tupl.io.JoinedPageArray
 
readPage(long, long, int, int) - Method in class org.cojen.tupl.io.MappedPageArray
 
readPage(long, long, int, int) - Method in class org.cojen.tupl.io.PageArray
 
readPage(long, long, int, int) - Method in class org.cojen.tupl.io.StripedPageArray
 
receiverAddress() - Method in interface org.cojen.tupl.repl.SnapshotSender
Member address which is receiving the snapshot.
RECOVERY - Enum constant in enum class org.cojen.tupl.diag.EventType.Category
Recovery processes transactions which did not get included in the last checkpoint.
RECOVERY_APPLY_REDO_LOG - Enum constant in enum class org.cojen.tupl.diag.EventType
Signals that non-checkpointed transactions are being committed or rolled back.
RECOVERY_AWAIT_RELEASE - Enum constant in enum class org.cojen.tupl.diag.EventType
Signals that a prepared transaction held by the leader hasn't been released yet.
RECOVERY_BEGIN - Enum constant in enum class org.cojen.tupl.diag.EventType
Signals the beginning of database recovery.
RECOVERY_CACHE_PRIMING - Enum constant in enum class org.cojen.tupl.diag.EventType
Signals that automatic cache priming is being performed.
RECOVERY_COMPLETE - Enum constant in enum class org.cojen.tupl.diag.EventType
Signals the end of database recovery, reporting the duration.
RECOVERY_HANDLER_UNCAUGHT - Enum constant in enum class org.cojen.tupl.diag.EventType
An uncaught exception from a recovery handler.
RECOVERY_LOAD_UNDO_LOGS - Enum constant in enum class org.cojen.tupl.diag.EventType
Signals that undo logs of in-flight transactions are being loaded.
RECOVERY_NO_HANDLER - Enum constant in enum class org.cojen.tupl.diag.EventType
Prepared transactions remain, but no handler is installed.
RECOVERY_PROCESS_REMAINING - Enum constant in enum class org.cojen.tupl.diag.EventType
Signals that transactions not explicitly committed or rolled back are being processed.
RECOVERY_PROGRESS - Enum constant in enum class org.cojen.tupl.diag.EventType
Generic recovery progress message.
RECOVERY_REDO_LOG_CORRUPTION - Enum constant in enum class org.cojen.tupl.diag.EventType
Signals that some redo operations were not recovered due to log file corruption.
redo(Transaction, byte[]) - Method in interface org.cojen.tupl.ext.CustomHandler
Called to write or apply an idempotent redo operation.
redo(Transaction, byte[], long, byte[]) - Method in interface org.cojen.tupl.ext.CustomHandler
Called to write or apply an idempotent redo operation which locked an index key.
register() - Method in interface org.cojen.tupl.Cursor
Attempt to register this cursor for direct redo operations, which can improve replication performance when modifying a range of values.
release() - Method in interface org.cojen.tupl.util.LocalPool.Entry
Release the entry such that another thread can use the pooled object.
release() - Method in class org.cojen.tupl.util.WeakPool.Entry
Release the entry such that it can be accessed again later.
release(boolean) - Method in class org.cojen.tupl.util.Latch
Convenience method, which releases the held exclusive or shared latch.
releaseEither() - Method in class org.cojen.tupl.util.Latch
Releases an exclusive or shared latch.
releaseExclusive() - Method in class org.cojen.tupl.util.Latch
Release the held exclusive latch.
releaseExclusive() - Method in class org.cojen.tupl.util.WideLatch
 
releaseExclusive(boolean) - Method in class org.cojen.tupl.util.Clutch
Release the held exclusive latch with the option to try switching to contended mode.
releaseShared() - Method in class org.cojen.tupl.util.Clutch
 
releaseShared() - Method in class org.cojen.tupl.util.Latch
Release a held shared latch.
releaseShared() - Method in class org.cojen.tupl.util.WideLatch
 
remap() - Method in class org.cojen.tupl.io.FileIO
If file is mapped, remaps it if the file length has changed.
remove(Transaction, byte[], byte[]) - Method in interface org.cojen.tupl.View
Removes the entry associated with the given key, but only if the given value matches.
RemoveMember - Class in org.cojen.tupl.repl
Simple command-line tool to remove replication group members.
renameIndex(Index, byte[]) - Method in interface org.cojen.tupl.Database
Renames the given index to the one given.
renameIndex(Index, String) - Method in interface org.cojen.tupl.Database
Renames the given index to the one given.
REPEATABLE_READ - Enum constant in enum class org.cojen.tupl.LockMode
Lock mode which acquires shared locks when reading entries and retains them to the end of the transaction or scope.
replace(B) - Method in interface org.cojen.tupl.util.LocalPool.Entry
Replace the pooled object.
replace(Transaction, byte[], byte[]) - Method in interface org.cojen.tupl.View
Associates a value with the given key, but only if a corresponding value already exists.
replace(Transaction, R) - Method in interface org.cojen.tupl.Table
Stores the given row when a corresponding row already exists.
replicate(ReplicatorConfig) - Method in class org.cojen.tupl.DatabaseConfig
Enable replication using the given configuration.
replicate(StreamReplicator) - Method in class org.cojen.tupl.DatabaseConfig
Enable replication with an explicit StreamReplicator instance.
REPLICATION - Enum constant in enum class org.cojen.tupl.diag.EventType.Category
Event category for replication tasks performed by background threads.
REPLICATION_DEBUG - Enum constant in enum class org.cojen.tupl.diag.EventType
Generic debug message from the replication system.
REPLICATION_INFO - Enum constant in enum class org.cojen.tupl.diag.EventType
Generic info message from the replication system.
REPLICATION_PANIC - Enum constant in enum class org.cojen.tupl.diag.EventType
Unhandled in the replication system, and the database must be shutdown.
REPLICATION_RESTORE - Enum constant in enum class org.cojen.tupl.diag.EventType
Snapshot restore progress event.
REPLICATION_WARNING - Enum constant in enum class org.cojen.tupl.diag.EventType
Generic warning message from the replication system.
replicationBacklog - Variable in class org.cojen.tupl.diag.DatabaseStats
The amount of log bytes that a replica must apply to be fully caught up to the leader.
Replicator - Interface in org.cojen.tupl.repl
Defines common features available to all types of replicators.
Replicator.Accessor - Interface in org.cojen.tupl.repl
Direct interface for accessing replication data, for a given term.
Replicator.Reader - Interface in org.cojen.tupl.repl
Direct interface for reading from a replicator, for a given term.
Replicator.Writer - Interface in org.cojen.tupl.repl
Direct interface for writing to a replicator, for a given term.
ReplicatorConfig - Class in org.cojen.tupl.repl
Configuration options used when opening a replicator.
ReplicatorConfig() - Constructor for class org.cojen.tupl.repl.ReplicatorConfig
 
reportFailure(String) - Method in class org.cojen.tupl.diag.VerificationObserver
Invoked by default implementation of indexNodeFailed.
requestSnapshot(Map<String, String>) - Method in interface org.cojen.tupl.repl.Replicator
Connect to a remote replication group member, for receiving a database snapshot.
requireValue() - Method in interface org.cojen.tupl.Transformer
Returns true by default, indicating that the transform methods always require a value instance to be provided.
requireValues() - Method in interface org.cojen.tupl.Combiner
Returns true by default, indicating that the combine method always requires loaded value instances to be provided.
reset() - Method in interface org.cojen.tupl.Cursor
Resets the Cursor and moves it to an undefined position.
reset() - Method in interface org.cojen.tupl.Sorter
Discards all the entries and frees up space in the database.
reset() - Method in interface org.cojen.tupl.Transaction
Exits all transaction scopes, rolling back all uncommitted modifications.
reset(Throwable) - Method in interface org.cojen.tupl.Transaction
Reset the transaction due to the given cause.
restore(Map<String, String>) - Method in interface org.cojen.tupl.repl.Replicator
Start by receiving a snapshot from another group member, expected to be called only by newly joined members.
restoreFromSnapshot(DatabaseConfig, InputStream) - Static method in interface org.cojen.tupl.Database
Restore from a snapshot, into the data files defined by the given configuration.
RESTORING - Enum constant in enum class org.cojen.tupl.repl.Role
A restoring member is an observer which just joined the group and is receiving a snapshot.
resumeCheckpoints() - Method in interface org.cojen.tupl.Database
Resume automatic checkpoints after having been temporarily suspended.
rethrow(Throwable) - Static method in class org.cojen.tupl.io.Utils
Rethrows the given exception without the compiler complaining about it being checked or not.
rethrow(Throwable, Throwable) - Static method in class org.cojen.tupl.io.Utils
Rethrows the given exception without the compiler complaining about it being checked or not.
reverse - Variable in class org.cojen.tupl.diag.QueryPlan.Scan
 
reverse() - Method in enum class org.cojen.tupl.Ordering
 
Role - Enum Class in org.cojen.tupl.repl
Supported membership roles.
rollback() - Method in interface org.cojen.tupl.Transaction
Rollback all uncommitted changes within the current transaction scope.
rootCause(Throwable) - Static method in class org.cojen.tupl.io.Utils
Returns the root cause of the given exception.
round() - Method in class org.cojen.tupl.diag.IndexStats
Round the stats to whole numbers into a new object.
row() - Method in interface org.cojen.tupl.diag.DeadlockInfo
 
row() - Method in interface org.cojen.tupl.Scanner
Returns a reference to the current row, which is null if the scanner is closed.
rowType() - Method in interface org.cojen.tupl.Table
Returns the interface which defines the rows of this table.
run() - Method in class org.cojen.tupl.util.Worker.Task
 
Runner - Class in org.cojen.tupl.util
Implements an unbounded pool of daemon threads which automatically exit when idle.
A B C D E F G H I J K L M N O P Q R S T U V W Z 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form