Class LockNotGrantedException

All Implemented Interfaces:
Serializable

public class LockNotGrantedException extends DeadlockException
A LockNotGrantedException is thrown when a lock requested using the Environment.getLock or Environment.lockVector methods, where the noWait flag or lock timers were configured, could not be granted before the wait-time expired.

Additionally, LockNotGrantedException is thrown when a Concurrent Data Store database environment configured for lock timeouts was unable to grant a lock in the allowed time.

Additionally, LockNotGrantedException is thrown when lock or transaction timeouts have been configured and a database operation has timed out.

See Also: