Determines whether the framework should retry a request for the given exception, the failed server and the request context (provides information about previously failed requests, e.g.
Determines whether the framework should retry a request for the given exception, the failed server and the request context (provides information about previously failed requests, e.g. with previously failed servers).
The exception that caused the method to fail
The server that was used for the failed request
The context of the request initiated by the client, e.g. provides the servers already tried
The configured load balancer
Specifies a policy for retrying request failures.