Delete APIs
remove
Removes from the cache by providing the key.
CacheApi.remove(cacheName, key) Parameters
cacheName: name of the cache
key: name of the identifierReturns
result objectremoveNoLock
Removes from the cache without locking it. The key is provided as an argument
Cache.removeNoLock(cacheName, key)Parameters
cacheName: name of the cache
key: the identifierReturns
A Result object indicating the success or failure of the operation.clear
Clear all entries from the cache.
CacheApi.clear(cacheName)Parameters
cacheNameReturns
A Result object indicating the success or failure of the operation.Last updated