Interface ILoadBalancerStrategy
Strategy for selecting a target URI from a list of candidates.
Implementations must be thread-safe for concurrent pipeline usage.
public interface ILoadBalancerStrategy
Methods
ReportFailure(string, Exception)
Reports that a selected endpoint has failed.
void ReportFailure(string endpoint, Exception exception)
Select(IExchange, IReadOnlyList<string>)
Selects the next target URI based on strategy logic.
string Select(IExchange exchange, IReadOnlyList<string> endpoints)