Question: How to terminate a cache process while caching is in progress.
Fix/Solution:
There is no in-built technique to cancel the data resource while refresh under progress.
There exists a enhancement request case CIS-29487 (Cache Refresh - need a way to cancel a cache refresh using admin api).
We tried to implement this feature but had foreseen several difficulties:
1)Current API does not track which user submitted which cache refresh task. There may be permission problem.
2)Cache refresh needs to work in clusters. So at least a new cache cluster message is needed to check each cluster node about the cancelling.