Integration Server 10.11 | Built-In Services Reference Guide | Cache Folder | Summary of Elements in this Folder | pub.cache.admin:clearCache
 
pub.cache.admin:clearCache
WmPublic. Deletes all elements from the specified cache.
Input Parameters
cacheManagerName
String Name of the cache manager that manages the cache. This parameter is case sensitive.
cacheName
String Name of the cache from which to delete the elements. This parameter is case sensitive.
Output Parameters
status
String The status indicating either Error or Success.
message
String The status message.
Usage Notes
Note:
Only users with administrator privileges can execute this service.
Important:
The elements you delete from the cache are deleted permanently. You cannot undo this action.
You cannot clear caches managed by system cache managers.
If you have any existing locks on any of the elements in the cache, the pub.cache.admin:clearCache service waits indefinitely until all locks are released.
Integration Server returns a status of Error in the following cases:
*If the cache is managed by a system cache manager.
*If you do not specify all required input parameters.
*If Integration Server cannot find the specified cache manager or cache.
*If a cache operation fails.