Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
finagle-core: Move PanicMode out of LoadBalancerFactory and document …
…Panic Mode Problem: The `PanicMode` class is inside LoadBalancerFactory, which is hard to access. We don't have docs in the Finagle clients section about panic mode. Solution: Move `PanicMode` class from `com.twitter.finagle.loadbalancer.LoadBalancerFactory` to `com.twitter.finagle.loadbalancer.PanicMode`. Introduce the API `.withLoadBalancer.panicMode` to set the panic mode. Add docs in the Finagle user guide client section. JIRA Issues: CSL-10897 Differential Revision: https://phabricator.twitter.biz/D879034
- Loading branch information