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

Function numParents

src/proxy/http/HttpTransact.cc:171–178  ·  view source on GitHub ↗

wrapper to get the numParents. Does NOT check the strategy; if strategy exists, strategy->responseIsRetryable should be called instead.

Source from the content-addressed store, hash-verified

169// wrapper to get the numParents.
170// Does NOT check the strategy; if strategy exists, strategy->responseIsRetryable should be called instead.
171inline static uint32_t
172numParents(HttpTransact::State *s)
173{
174 if (s->parent_params) {
175 return s->parent_params->numParents(&s->parent_result);
176 }
177 return 0;
178}
179
180// wrapper to choose between a remap next hop strategy or use parent.config
181// remap next hop strategy is preferred

Callers 4

selectParentMethod · 0.85
markParentUpMethod · 0.85
markParentDownMethod · 0.85
response_is_retryableFunction · 0.85

Calls 1

numParentsMethod · 0.45

Tested by

no test coverage detected