Creates a parse with global retry settings and an auto configured lb factory.
(
boolean retryEnabled,
int maxRetryAttemptsLimit,
int maxHedgedAttemptsLimit,
LoadBalancerProvider parser)
| 36 | |
| 37 | /** Creates a parse with global retry settings and an auto configured lb factory. */ |
| 38 | public ScParser( |
| 39 | boolean retryEnabled, |
| 40 | int maxRetryAttemptsLimit, |
| 41 | int maxHedgedAttemptsLimit, |
| 42 | LoadBalancerProvider parser) { |
| 43 | this.retryEnabled = retryEnabled; |
| 44 | this.maxRetryAttemptsLimit = maxRetryAttemptsLimit; |
| 45 | this.maxHedgedAttemptsLimit = maxHedgedAttemptsLimit; |
| 46 | this.parser = checkNotNull(parser, "parser"); |
| 47 | } |
| 48 | |
| 49 | @Override |
| 50 | public ConfigOrError parseServiceConfig(Map<String, ?> rawServiceConfig) { |
nothing calls this directly
no test coverage detected