MCPcopy Create free account
hub / github.com/apache/trafficserver / release

Method release

plugins/prefetch/fetch.cc:273–288  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

271}
272
273bool
274BgFetchState::release(const String &url)
275{
276 bool ret = true;
277 if (nullptr != _policy) {
278 TSMutexLock(_policyLock);
279 ret &= _policy->release(url);
280 TSMutexUnlock(_policyLock);
281 }
282
283 if (nullptr != _policy) {
284 setMetric(FETCH_POLICY_SIZE, _policy->getSize());
285 }
286
287 return ret;
288}
289
290bool
291BgFetchState::uniqueAcquire(const String &url)

Callers 12

initializeMethod · 0.45
TSRemapNewInstanceFunction · 0.45
read_requestFunction · 0.45
dispatch.ccFile · 0.45
dispatchFunction · 0.45
parse_configMethod · 0.45
contHandleFetchFunction · 0.45
uniqueReleaseMethod · 0.45
~BgFetchMethod · 0.45
initMethod · 0.45
TSPluginInitFunction · 0.45
TSRemapNewInstanceFunction · 0.45

Calls 3

TSMutexLockFunction · 0.85
TSMutexUnlockFunction · 0.85
getSizeMethod · 0.45

Tested by

no test coverage detected