Package io.grpc.internal
Class ManagedChannelServiceConfig.MethodInfo
java.lang.Object
io.grpc.internal.ManagedChannelServiceConfig.MethodInfo
- Enclosing class:
ManagedChannelServiceConfig
Equivalent of MethodConfig from a ServiceConfig with restrictions from Channel setting.
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) final HedgingPolicy
(package private) static final CallOptions.Key
<ManagedChannelServiceConfig.MethodInfo> (package private) final Integer
(package private) final Integer
(package private) final RetryPolicy
(package private) final Long
(package private) final Boolean
-
Constructor Summary
ConstructorsConstructorDescriptionMethodInfo
(Map<String, ?> methodConfig, boolean retryEnabled, int maxRetryAttemptsLimit, int maxHedgedAttemptsLimit) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionboolean
int
hashCode()
private static HedgingPolicy
hedgingPolicy
(Map<String, ?> hedgingPolicy, int maxAttemptsLimit) private static RetryPolicy
retryPolicy
(Map<String, ?> retryPolicy, int maxAttemptsLimit) toString()
-
Field Details
-
KEY
-
timeoutNanos
-
waitForReady
-
maxInboundMessageSize
-
maxOutboundMessageSize
-
retryPolicy
-
hedgingPolicy
-
-
Constructor Details
-
Method Details