* will retry host selection until either this function returns true or hostSelectionRetryCount is
virtual Network::TransportSocketOptionsConstSharedPtr upstreamTransportSocketOptions() const PURE;
* Upstream override host. The first element is the target host address and the second element is
* If the host should not be selected strictly, the load balancer will select another host is the
* Returns a best effort prediction of the next host to be picked, or nullptr if not predictable.
* Advances with subsequent calls, so while the first call will return the next host to be picked,
virtual OptRef<Envoy::Http::ConnectionPool::ConnectionLifetimeCallbacks> lifetimeCallbacks() PURE;
* The above semantics mean that any global state in the factory must be protected by appropriate
* error is returned from this method, the endpoints are rejected. If this method does not return
* an error, the load balancer must be able to use these endpoints in an update from the priority
virtual absl::Status validateEndpoints(const PriorityState&) const { return absl::OkStatus(); }
* load_balancing_policy must be registered with Envoy. Envoy will use the first policy for which