| 6208 | } |
| 6209 | |
| 6210 | TSAction |
| 6211 | TSCacheRemove(TSCont contp, TSCacheKey key) |
| 6212 | { |
| 6213 | sdk_assert(sdk_sanity_check_iocore_structure(contp) == TS_SUCCESS); |
| 6214 | sdk_assert(sdk_sanity_check_cachekey(key) == TS_SUCCESS); |
| 6215 | |
| 6216 | FORCE_PLUGIN_SCOPED_MUTEX(contp); |
| 6217 | |
| 6218 | CacheInfo *info = reinterpret_cast<CacheInfo *>(key); |
| 6219 | INKContInternal *i = reinterpret_cast<INKContInternal *>(contp); |
| 6220 | |
| 6221 | return reinterpret_cast<TSAction>(cacheProcessor.remove(i, &info->cache_key, info->frag_type, info->hostname, info->len)); |
| 6222 | } |
| 6223 | |
| 6224 | TSAction |
| 6225 | TSCacheScan(TSCont contp, TSCacheKey key, int KB_per_second) |