Software AG Products 10.7 | Integrating On-Premises and Cloud Applications | Integration Server Built-In Services | Cache Folder | Summary of Elements in this Folder | pub.cache.lock:releaseLock
 
pub.cache.lock:releaseLock
WmPublic. Releases a lock on the element for the specified key.
Input Parameters
cacheManagerName
String Name of the cache manager that manages the cache. This parameter is case sensitive.
cacheName
String Name of the cache that contains the key. This parameter is case sensitive.
key
Object Key of the cached element to unlock.
lockType
String Optional. Type of lock you want to release from the cached element.
Key
Description
read
Releases a read lock. This is the default.
write
Releases a write lock.
Output Parameters
None.
Usage Notes
You must call pub.cache.lock:releaseLock from the same thread from which you call pub.cache.lock:acquireLock. Failing to do so could cause the key to remain locked indefinitely.
Integration Server issues a ServiceException in the following cases:
*If you do not specify all required input parameters.
*If Integration Server cannot find the specified cache manager or cache.
*If you try to release a read lock on a cached element for which a write lock is set, or release a write lock on a cached element for which a read lock is set.