Class: Gapic::CallOptions::RetryPolicy
- Inherits:
-
Gapic::Common::RetryPolicy
- Object
- Gapic::Common::RetryPolicy
- Gapic::CallOptions::RetryPolicy
- Defined in:
- lib/gapic/call_options/retry_policy.rb
Overview
The policy for retrying failed RPC calls using an incremental backoff. A new object instance should be used for every RpcCall invocation.
Only errors originating from GRPC will be retried.
Instance Method Summary collapse
-
#initialize(retry_codes: nil, initial_delay: nil, multiplier: nil, max_delay: nil, jitter: nil) ⇒ RetryPolicy
constructor
Create new API Call RetryPolicy.
Constructor Details
#initialize(retry_codes: nil, initial_delay: nil, multiplier: nil, max_delay: nil, jitter: nil) ⇒ RetryPolicy
Create new API Call RetryPolicy.
35 36 37 |
# File 'lib/gapic/call_options/retry_policy.rb', line 35 def initialize retry_codes: nil, initial_delay: nil, multiplier: nil, max_delay: nil, jitter: nil super end |