[ROOT] / doc / toc / ARCAPI / Class / DataStorage / Lock
Locking object for thread-safe access from simultaneous API requests.
BaseController components like RQController and EditController (offering HTML forms POSTing to AddController) will typically need to acquire a Read lock (EnterReadLock),
while components like AddController will typically need to acquire a Write lock (EnterWriteLock).
Locking is also need by when keeping storage up-to-date by Subscription to PropertyStream through OutsideLocalReceiver.
In ARCEvent typical components requiring read locks are -ProcessController-, -ESController- and -UIController- while -ASController- requires first a read lock (for parsing) and then a write lock.
NOTE: It is assumed that DocLinks can be accessed without locking
NOTE: (see under DocLinks for details).
Generated 2025-04-21 20:17:51.705 UTC