implementation of functions from ParentSelectionStrategy.
| 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) |
nothing calls this directly
no test coverage detected