Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
L
- LargeKeyException - Exception Class in org.cojen.tupl
-
Thrown when attempting to load a key which cannot fit into memory.
- LargeKeyException(long) - Constructor for exception class org.cojen.tupl.LargeKeyException
- LargeKeyException(long, Throwable) - Constructor for exception class org.cojen.tupl.LargeKeyException
- LargeKeyException(String) - Constructor for exception class org.cojen.tupl.LargeKeyException
- LargeValueException - Exception Class in org.cojen.tupl
-
Thrown when attempting to load a value which cannot fit into memory.
- LargeValueException(long) - Constructor for exception class org.cojen.tupl.LargeValueException
- LargeValueException(long, Throwable) - Constructor for exception class org.cojen.tupl.LargeValueException
- LargeValueException(String) - Constructor for exception class org.cojen.tupl.LargeValueException
- last() - Method in interface org.cojen.tupl.Cursor
-
Moves the Cursor to find the last available entry.
- lastLockedIndex() - Method in interface org.cojen.tupl.Transaction
-
Returns the index id of the last lock acquired, within the current scope.
- lastLockedKey() - Method in interface org.cojen.tupl.Transaction
-
Returns the key of the last lock acquired, within the current scope.
- Latch - Class in org.cojen.tupl.util
-
Non-reentrant read-write latch, designed for throughput over fairness.
- Latch() - Constructor for class org.cojen.tupl.util.Latch
- Latch(int) - Constructor for class org.cojen.tupl.util.Latch
- Latch.Condition - Class in org.cojen.tupl.util
-
Manages a queue of waiting threads, associated with a
Latch
instance. - length() - Method in class org.cojen.tupl.io.FileIO
- length() - Method in exception class org.cojen.tupl.LargeKeyException
- length() - Method in exception class org.cojen.tupl.LargeValueException
- length() - Method in interface org.cojen.tupl.repl.SnapshotReceiver
-
Returns the expected length of the snapshot (in bytes) or -1 if unknown.
- length() - Method in interface org.cojen.tupl.Snapshot
-
Returns total amount of bytes expected to be written to the snapshot stream.
- LengthOption - Enum Class in org.cojen.tupl.io
-
Options when setting the file length.
- LENIENT - Enum constant in enum class org.cojen.tupl.LockUpgradeRule
-
Rule which allows an upgrade to succeed, but only when the acting transaction is the sole shared lock owner.
- level - Variable in enum class org.cojen.tupl.diag.EventType
- Level(String, QueryPlan, Map<Integer, String>) - Constructor for class org.cojen.tupl.diag.QueryPlan.NestedLoopsJoin.Level
- link() - Method in interface org.cojen.tupl.Cursor
-
Returns the transaction the cursor is currently linked to.
- link(Transaction) - Method in interface org.cojen.tupl.Cursor
-
Link to a transaction, which can be null for auto-commit mode.
- listenAddress(SocketAddress) - Method in class org.cojen.tupl.repl.ReplicatorConfig
-
Optionally restrict the socket address for accepting connections, which can be a wildcard address.
- load() - Method in interface org.cojen.tupl.Cursor
-
Loads or reloads the value at the cursor's current position.
- load(Transaction, byte[]) - Method in interface org.cojen.tupl.View
-
Returns a copy of the value for the given key, or null if no matching entry exists.
- load(Transaction, R) - Method in interface org.cojen.tupl.Table
-
Fully loads the row by primary key.
- loadDifference(Transaction, byte[], View, View) - Method in interface org.cojen.tupl.Combiner
-
If
requireValues
always returns false, consider overriding this method and implement a more efficient load for two views in a difference. - loadIntersection(Transaction, byte[], View, View) - Method in interface org.cojen.tupl.Combiner
-
If
requireValues
always returns false, consider overriding this method and implement a more efficient load for two views in an intersection. - LoadOne(String, String, String[], String) - Constructor for class org.cojen.tupl.diag.QueryPlan.LoadOne
- loadUnion(Transaction, byte[], View, View) - Method in interface org.cojen.tupl.Combiner
-
If
requireValues
always returns false, consider overriding this method and implement a more efficient load for two views in a union. - localAddress() - Method in interface org.cojen.tupl.repl.Replicator
- localAddress(SocketAddress) - Method in class org.cojen.tupl.repl.ReplicatorConfig
-
Set the local member socket address and port.
- localMemberId() - Method in interface org.cojen.tupl.repl.Replicator
- LocalPool<B> - Class in org.cojen.tupl.util
-
Utility for sharing a small set of poolable objects (like buffers) which have thread affinity.
- LocalPool(Supplier<B>) - Constructor for class org.cojen.tupl.util.LocalPool
-
Construct a pool with a maximum size equal to the number of available processors.
- LocalPool(Supplier<B>, int) - Constructor for class org.cojen.tupl.util.LocalPool
-
Construct a pool with the given maximum size.
- LocalPool.Entry<B> - Interface in org.cojen.tupl.util
-
Entry within a
LocalPool
. - localPort(int) - Method in class org.cojen.tupl.repl.ReplicatorConfig
-
Set the local member socket port, for accepting connections on any address.
- localRole() - Method in interface org.cojen.tupl.repl.Replicator
-
Returns the effective local role, as known by the group.
- localRole(Role) - Method in class org.cojen.tupl.repl.ReplicatorConfig
-
Set the desired local member role, which is normal by default, and for the primordial group member.
- localSocket(ServerSocket) - Method in class org.cojen.tupl.repl.ReplicatorConfig
-
Explicitly specify a connected local socket, intended only for testing.
- lock() - Method in interface org.cojen.tupl.Cursor
-
Locks the current entry, as if by calling load.
- lockCheck(long, byte[]) - Method in interface org.cojen.tupl.Transaction
-
Checks the lock ownership for the given key.
- lockCheck(Transaction, byte[]) - Method in interface org.cojen.tupl.View
-
Checks the lock ownership for the given key.
- lockCount - Variable in class org.cojen.tupl.diag.DatabaseStats
-
The amount of locks currently allocated.
- lockExclusive(long, byte[]) - Method in interface org.cojen.tupl.Transaction
-
Attempts to acquire an exclusive lock for the given key, denying any additional locks.
- lockExclusive(long, byte[], long) - Method in interface org.cojen.tupl.Transaction
-
Attempts to acquire an exclusive lock for the given key, denying any additional locks.
- lockExclusive(Transaction, byte[]) - Method in interface org.cojen.tupl.View
-
Explicitly acquire an exclusive lock for the given key, denying any additional locks.
- LockFailureException - Exception Class in org.cojen.tupl
-
Thrown when a lock request by a transaction failed.
- LockFailureException() - Constructor for exception class org.cojen.tupl.LockFailureException
- LockFailureException(String) - Constructor for exception class org.cojen.tupl.LockFailureException
- LockFailureException(String, Throwable) - Constructor for exception class org.cojen.tupl.LockFailureException
- LockFailureException(Throwable) - Constructor for exception class org.cojen.tupl.LockFailureException
- LockInterruptedException - Exception Class in org.cojen.tupl
-
Thrown when a lock request by a transaction was interrupted by another thread.
- LockInterruptedException() - Constructor for exception class org.cojen.tupl.LockInterruptedException
- lockMode() - Method in interface org.cojen.tupl.Transaction
-
Returns the current lock mode.
- lockMode(LockMode) - Method in interface org.cojen.tupl.Transaction
-
Sets the lock mode for the current scope.
- LockMode - Enum Class in org.cojen.tupl
-
Various lock modes for use within transactions.
- LockResult - Enum Class in org.cojen.tupl
-
Result code returned by transactional operations which acquire locks.
- lockShared(long, byte[]) - Method in interface org.cojen.tupl.Transaction
-
Attempts to acquire a shared lock for the given key, denying exclusive locks.
- lockShared(long, byte[], long) - Method in interface org.cojen.tupl.Transaction
-
Attempts to acquire a shared lock for the given key, denying exclusive locks.
- lockShared(Transaction, byte[]) - Method in interface org.cojen.tupl.View
-
Explicitly acquire a shared lock for the given key, denying exclusive locks.
- lockTimeout(long, TimeUnit) - Method in class org.cojen.tupl.DatabaseConfig
-
Set the default lock acquisition timeout, which is 1 second if not overridden.
- lockTimeout(long, TimeUnit) - Method in interface org.cojen.tupl.Transaction
-
Sets the lock timeout for the current scope.
- lockTimeout(TimeUnit) - Method in interface org.cojen.tupl.Transaction
-
Returns the current lock timeout, in the given unit.
- LockTimeoutException - Exception Class in org.cojen.tupl
-
Thrown when a lock request by a transaction timed out.
- LockTimeoutException(long) - Constructor for exception class org.cojen.tupl.LockTimeoutException
- LockTimeoutException(long, Object) - Constructor for exception class org.cojen.tupl.LockTimeoutException
- lockUpgradable(long, byte[]) - Method in interface org.cojen.tupl.Transaction
-
Attempts to acquire an upgradable lock for the given key, denying exclusive and additional upgradable locks.
- lockUpgradable(long, byte[], long) - Method in interface org.cojen.tupl.Transaction
-
Attempts to acquire an upgradable lock for the given key, denying exclusive and additional upgradable locks.
- lockUpgradable(Transaction, byte[]) - Method in interface org.cojen.tupl.View
-
Explicitly acquire an upgradable lock for the given key, denying exclusive and additional upgradable locks.
- lockUpgradeRule(LockUpgradeRule) - Method in class org.cojen.tupl.DatabaseConfig
-
Set the default lock upgrade rule, which is
STRICT
if not overridden. - LockUpgradeRule - Enum Class in org.cojen.tupl
-
Defines transaction lock upgrade behavior when using the
REPEATABLE_READ
lock mode. - logTo(System.Logger) - Static method in interface org.cojen.tupl.diag.EventListener
-
Returns a new listener that logs messages to the given logger.
- logTo(Logger) - Static method in interface org.cojen.tupl.diag.EventListener
-
Returns a new listener that logs messages to the given logger.
- logTo(Logger) - Static method in interface org.cojen.tupl.diag.EventListener
-
Returns a new listener that logs messages to the given logger.
- low - Variable in class org.cojen.tupl.diag.QueryPlan.RangeScan
- lz4() - Static method in interface org.cojen.tupl.io.PageCompressor
-
Returns a supplier of new LZ4 compressors.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form