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:containsKey
 
pub.cache:containsKey
WmPublic. Checks whether an element with the specified key exists in the 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 that contains the key. This parameter is case sensitive.
key
Object Key of the element for whose existence you are checking.
Output Parameters
found
String Indicates whether the key exists in the cache.
*true indicates that the key exists in the cache.
*false indicates that the key does not exist in the cache.
Usage Notes
The pub.cache:containsKey service does not verify whether the element is expired. If the element of the specified key is expired, and the element is present in the cache, pub.cache:containsKey returns found with a value of true.
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 a cache operation fails.