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

Method numParents

include/proxy/ParentSelection.h:409–418  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

407 }
408
409 uint32_t
410 numParents(ParentResult *result)
411 {
412 if (result->is_api_result()) {
413 return 1;
414 } else {
415 ink_release_assert(result->rec->selection_strategy != nullptr);
416 return result->rec->selection_strategy->numParents(result);
417 }
418 }
419
420 P_table *parent_table;
421 ParentRecord *DefaultParent;

Callers

nothing calls this directly

Calls 1

is_api_resultMethod · 0.80

Tested by

no test coverage detected