TBoldAbstractPessimisticLockHandler¶
Unit: BoldSystem
Declaration¶
Hierarchy¶
- TObject
TBoldMemoryManagedObjectTBoldInterfacedObjectTBoldNonRefCountedObject- TBoldSystemExtension
- TBoldAbstractPessimisticLockHandler
- Direct subclasses
TBoldPessimisticLockHandler
Description¶
The pessimistic lock handler defines methods for requesting and releasing locks for domain elements.
Methods¶
| Name | Summary | Notes |
|---|---|---|
| EnsureLocks | abstract | |
| LockElement | abstract | |
| ReleaseUnneededRegions | abstract |
EnsureLocks¶
This method is called automatically before update to check with the Lock Manager server that the client still holds the locks it should. There is normally no need to call it directly.
See Also
- Related Topics
LockElement¶
Requests the required locks for the element. If the call returns true, the element is then allowed to be modified. If the call returns false, the required locks could not be obtained.
See Also
- Related Topics
ReleaseUnneededRegions¶
Releases the locks that the client holds, that it does not need. Locks for elements that are dirty, i.e. where the client holds a modified state, are kept. This method also releases the so-called exclusive database lock.
See Also
- Related Topics
Generated from the Bold 4.0 help (Help/BfD.chm) by Tools/chm2mkdocs.py; member lists reflect Bold 4.0, see the source for members added since.