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

Method sizeCacheAdd

plugins/slice/Config.cc:379–386  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

377}
378
379void
380Config::sizeCacheAdd(std::string_view url, uint64_t size)
381{
382 if (m_oscache) {
383 DEBUG_LOG("Adding url to cache: %.*s -> %" PRIu64, static_cast<int>(url.size()), url.data(), size);
384 m_oscache->set(url, size);
385 }
386}
387
388void
389Config::sizeCacheRemove(std::string_view url)

Callers 2

update_object_sizeFunction · 0.80
read_resp_hdrFunction · 0.80

Calls 3

sizeMethod · 0.45
dataMethod · 0.45
setMethod · 0.45

Tested by

no test coverage detected