Building Your Event-Driven Architecture : Integration Server Built-In Services Reference : Storage Folder : Summary of Elements in this Folder : pub.storage:releaseLocks
pub.storage:releaseLocks
WmPublic. Releases all pub.storage locks held by the identified lock holders and ids. If both holders and ids are specified, the service ignores the holders and uses IDs.
This service is intended primarily for administrators. It is most useful when used in combination with pub.storage:listLocks. You can map the locks/holder string list from that service to the holders input variable in this service or the locks/id string list to the ids input variables. If neither ids nor holders are supplied, no locks are released.
Important:  
Use this service with care. It will release locks held by active threads and could cause their processing to fail. In addition, if you release a lock on a data store, another thread can obtain a lock on the data store and delete it, and the entries it contains, even if the original thread still has locks on one or more of the entries.
Input Parameters
holders
String List Optional. Holders whose pub.storage locks are to be released.
ids
String Optional. Ids whose pub.storage locks are to be released.
Output Parameters
count
String List Number of locks that were released.
Copyright © 2016 - 2016 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback