Interface GrpcConfig.Retries
- Enclosing interface:
- GrpcConfig
public static interface GrpcConfig.Retries
-
Method Details
-
enabled
@WithDefault("true") boolean enabled()- Returns:
- If call retries are enabled.
-
statusCodes
- Returns:
- List of status codes to execute retries for. Defaults to
UNAVAILABLE, as this code means that the request never reached the bridge and it should be safe to retry.
-
maxAttempts
@WithDefault("1") @Positive @javax.validation.constraints.Positive int maxAttempts()- Returns:
- Maximum amount of retry attempts.
-