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

Method selectParent

include/proxy/ParentSelection.h:382–389  ·  view source on GitHub ↗

implementation of functions from ParentSelectionStrategy.

Source from the content-addressed store, hash-verified

380
381 // implementation of functions from ParentSelectionStrategy.
382 void
383 selectParent(bool firstCall, ParentResult *result, RequestData *rdata, unsigned int fail_threshold, unsigned int retry_time)
384 {
385 if (!result->is_api_result()) {
386 ink_release_assert(result->rec->selection_strategy != nullptr);
387 return result->rec->selection_strategy->selectParent(firstCall, result, rdata, fail_threshold, retry_time);
388 }
389 }
390
391 void
392 markParentDown(ParentResult *result, unsigned int fail_threshold, unsigned int retry_time)

Callers

nothing calls this directly

Calls 1

is_api_resultMethod · 0.80

Tested by

no test coverage detected