MCPcopy Create free account
hub / github.com/grpc/grpc-java / ScParser

Method ScParser

core/src/main/java/io/grpc/internal/ScParser.java:38–47  ·  view source on GitHub ↗

Creates a parse with global retry settings and an auto configured lb factory.

(
      boolean retryEnabled,
      int maxRetryAttemptsLimit,
      int maxHedgedAttemptsLimit,
      LoadBalancerProvider parser)

Source from the content-addressed store, hash-verified

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) {

Callers

nothing calls this directly

Calls 1

checkNotNullMethod · 0.80

Tested by

no test coverage detected