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 |
---|---|
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–2018. All rights reserved.