Interface | Description |
---|---|
Lock |
Interface of a lock acquired to gain (exclusive) access to a shared resource, with a mechanism to release it again.
|
LockFactory |
Interface to the lock factory.
|
Class | Description |
---|---|
NoOpLock |
No-op implementation of a
Lock . |
PessimisticLockFactory |
Implementation of a
LockFactory that uses a pessimistic locking strategy. |
PessimisticLockFactory.Builder |
Builder class for the
PessimisticLockFactory . |
Enum | Description |
---|---|
NullLockFactory |
LockFactory implementation that does nothing.
|
Exception | Description |
---|---|
DeadlockException |
Exception indicating that a deadlock has been detected while a thread was attempting to acquire a lock.
|
LockAcquisitionFailedException |
Exception indicating that a lock could not be obtained.
|
Copyright © 2010–2024. All rights reserved.