| Interface | Description |
|---|---|
| LockingStrategy |
A strategy abstraction for how locks are obtained in the underlying database.
|
| Class | Description |
|---|---|
| AbstractSelectLockingStrategy |
Base
LockingStrategy implementation to support implementations
based on issuing SQL SELECT statements |
| OptimisticForceIncrementLockingStrategy |
An optimistic locking strategy that forces an increment of the version (after verifying that version hasn't changed).
|
| OptimisticLockingStrategy |
An optimistic locking strategy that verifies that the version hasn't changed (prior to transaction commit).
|
| PessimisticForceIncrementLockingStrategy |
A pessimistic locking strategy that increments the version immediately (obtaining an exclusive write lock).
|
| PessimisticReadSelectLockingStrategy |
A pessimistic locking strategy where the locks are obtained through select statements.
|
| PessimisticReadUpdateLockingStrategy |
A pessimistic locking strategy where the locks are obtained through update statements.
|
| PessimisticWriteSelectLockingStrategy |
A pessimistic locking strategy where the locks are obtained through select statements.
|
| PessimisticWriteUpdateLockingStrategy |
A pessimistic locking strategy where the locks are obtained through update statements.
|
| SelectLockingStrategy |
A locking strategy where the locks are obtained through select statements.
|
| UpdateLockingStrategy |
A locking strategy where the locks are obtained through update statements.
|
| Exception | Description |
|---|---|
| LockingStrategyException |
Represents an error trying to apply a
LockingStrategy to an entity |
| OptimisticEntityLockException |
Represents an error trying to apply an optimistic
LockingStrategy to an entity |
| PessimisticEntityLockException |
Represents an error trying to apply a pessimistic
LockingStrategy to an entity |
Copyright © 2017 JBoss by Red Hat. All rights reserved.