Uses of Enum Class
org.cojen.tupl.LockResult
Packages that use LockResult
-
Uses of LockResult in org.cojen.tupl
Subclasses with type arguments of type LockResult in org.cojen.tuplModifier and TypeClassDescriptionenumResult code returned by transactional operations which acquire locks.Methods in org.cojen.tupl that return LockResultModifier and TypeMethodDescriptionCursor.find(byte[] key) Moves the Cursor to find the given key.default LockResultCursor.findGe(byte[] key) Moves the Cursor to find the closest available entry greater than or equal to the given key.default LockResultCursor.findGt(byte[] key) Moves the Cursor to find the closest available entry greater than the given key.default LockResultCursor.findLe(byte[] key) Moves the Cursor to find the closest available entry less than or equal to the given key.default LockResultCursor.findLt(byte[] key) Moves the Cursor to find the closest available entry less than the given key.default LockResultCursor.findNearby(byte[] key) Optimized version of the regularfindmethod, which can perform fewer search steps if the given key is in close proximity to the current one.default LockResultCursor.findNearbyGe(byte[] key) Optimized version of the regularfindGemethod, which can perform fewer search steps if the given key is in close proximity to the current one.default LockResultCursor.findNearbyGt(byte[] key) Optimized version of the regularfindGtmethod, which can perform fewer search steps if the given key is in close proximity to the current one.default LockResultCursor.findNearbyLe(byte[] key) Optimized version of the regularfindLemethod, which can perform fewer search steps if the given key is in close proximity to the current one.default LockResultCursor.findNearbyLt(byte[] key) Optimized version of the regularfindLtmethod, which can perform fewer search steps if the given key is in close proximity to the current one.Cursor.first()Moves the Cursor to find the first available entry.Cursor.last()Moves the Cursor to find the last available entry.Cursor.load()Loads or reloads the value at the cursor's current position.default LockResultCursor.lock()Locks the current entry, as if by calling load.Transaction.lockCheck(long indexId, byte[] key) Checks the lock ownership for the given key.View.lockCheck(Transaction txn, byte[] key) Checks the lock ownership for the given key.Transaction.lockExclusive(long indexId, byte[] key) Attempts to acquire an exclusive lock for the given key, denying any additional locks.Transaction.lockExclusive(long indexId, byte[] key, long nanosTimeout) Attempts to acquire an exclusive lock for the given key, denying any additional locks.View.lockExclusive(Transaction txn, byte[] key) Explicitly acquire an exclusive lock for the given key, denying any additional locks.Transaction.lockShared(long indexId, byte[] key) Attempts to acquire a shared lock for the given key, denying exclusive locks.Transaction.lockShared(long indexId, byte[] key, long nanosTimeout) Attempts to acquire a shared lock for the given key, denying exclusive locks.View.lockShared(Transaction txn, byte[] key) Explicitly acquire a shared lock for the given key, denying exclusive locks.Transaction.lockUpgradable(long indexId, byte[] key) Attempts to acquire an upgradable lock for the given key, denying exclusive and additional upgradable locks.Transaction.lockUpgradable(long indexId, byte[] key, long nanosTimeout) Attempts to acquire an upgradable lock for the given key, denying exclusive and additional upgradable locks.View.lockUpgradable(Transaction txn, byte[] key) Explicitly acquire an upgradable lock for the given key, denying exclusive and additional upgradable locks.Cursor.next()Moves to the Cursor to the next available entry.default LockResultCursor.nextLe(byte[] limitKey) Moves to the Cursor to the next available entry, but only when less than or equal to the given limit key.default LockResultCursor.nextLt(byte[] limitKey) Moves to the Cursor to the next available entry, but only when less than the given limit key.Cursor.previous()Moves to the Cursor to the previous available entry.default LockResultCursor.previousGe(byte[] limitKey) Moves to the Cursor to the previous available entry, but only when greater than or equal to the given limit key.default LockResultCursor.previousGt(byte[] limitKey) Moves to the Cursor to the previous available entry, but only when greater than the given limit key.Cursor.random(byte[] lowKey, boolean lowInclusive, byte[] highKey, boolean highInclusive) Moves the Cursor to a random entry, but not guaranteed to be chosen from a uniform distribution.default LockResultCursor.random(byte[] lowKey, byte[] highKey) Moves the Cursor to a random entry, but not guaranteed to be chosen from a uniform distribution.Cursor.skip(long amount) Moves the Cursor by a relative amount of entries.default LockResultCursor.skip(long amount, byte[] limitKey, boolean inclusive) Moves the Cursor by a relative amount of entries, stopping sooner if the limit key is reached.default LockResultView.touch(Transaction txn, byte[] key) Touch the given key as if callingload, but instead only acquiring any necessary locks.Transaction.tryLockExclusive(long indexId, byte[] key, long nanosTimeout) Attempts to acquire an exclusive lock for the given key, denying any additional locks.default LockResultView.tryLockExclusive(Transaction txn, byte[] key, long nanosTimeout) Explicitly acquire an exclusive lock for the given key, denying any additional locks.Transaction.tryLockShared(long indexId, byte[] key, long nanosTimeout) Attempts to acquire a shared lock for the given key, denying exclusive locks.default LockResultView.tryLockShared(Transaction txn, byte[] key, long nanosTimeout) Explicitly acquire a shared lock for the given key, denying exclusive locks.Transaction.tryLockUpgradable(long indexId, byte[] key, long nanosTimeout) Attempts to acquire an upgradable lock for the given key, denying exclusive and additional upgradable locks.default LockResultView.tryLockUpgradable(Transaction txn, byte[] key, long nanosTimeout) Explicitly acquire an upgradable lock for the given key, denying exclusive and additional upgradable locks.static LockResultReturns the enum constant of this class with the specified name.static LockResult[]LockResult.values()Returns an array containing the constants of this enum class, in the order they are declared.