Software AG Products 10.7 | Integrating On-Premises and Cloud Applications | Integration Server Built-In Services | Storage Folder | Locking Considerations | Automatic Promotion to Exclusive Lock
 
Automatic Promotion to Exclusive Lock
If a pub.storage service tries to acquire an exclusive lock on an object, but finds a shared lock from the same thread already in place on the object, the service will try to promote the lock to an exclusive lock.
If a pub.storage service that requires an exclusive lock encounters a shared or exclusive lock held by another thread, it will wait until the object becomes available. If the object remains locked for the period specified by the waitlength parameter passed by the service, or the value configured on the watt.server.storage.lock.maxWait property, the service will fail.