Integration Server 10.3 | Built-In Services Reference Guide | Cache Folder | Summary of Elements in this Folder | pub.cache.admin:evictExpiredElements
 
pub.cache.admin:evictExpiredElements
WmPublic. Deletes all of the expired elements from a 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 you want to delete the expired 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.
The pub.cache.admin:evictExpiredElements service can take longer to delete expired elements depending on the number of elements contained in the cache. If the cache contains a large number of elements, pub.cache.admin:evictExpiredElements might take longer to process the request than when the cache contains fewer elements.
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.