C# 클래스 Google.Api.Gax.Grpc.RetrySettings

Settings for retrying RPCs.
파일 보기 프로젝트 열기: googleapis/gax-dotnet 1 사용 예제들

공개 메소드들

메소드 설명
FilterForStatusCodes ( ) : Predicate

Creates a retry filter based on status codes.

FilterForStatusCodes ( IEnumerable statusCodes ) : Predicate

Creates a retry filter based on status codes.

RetrySettings ( BackoffSettings retryBackoff, BackoffSettings timeoutBackoff, Expiration totalExpiration ) : Grpc.Core

Constructs an instance with the given backoff configuration, the default RPC filter and jitter.

RetrySettings ( BackoffSettings retryBackoff, BackoffSettings timeoutBackoff, Expiration totalExpiration, Predicate retryFilter ) : Grpc.Core

Constructs an instance with the given configuration, and the default jitter.

RetrySettings ( BackoffSettings retryBackoff, BackoffSettings timeoutBackoff, Expiration totalExpiration, Predicate retryFilter, IJitter delayJitter ) : Grpc.Core

Constructs an instance with the given configuration.

메소드 상세

FilterForStatusCodes() 공개 정적인 메소드

Creates a retry filter based on status codes.
public static FilterForStatusCodes ( ) : Predicate
리턴 Predicate

FilterForStatusCodes() 공개 정적인 메소드

Creates a retry filter based on status codes.
public static FilterForStatusCodes ( IEnumerable statusCodes ) : Predicate
statusCodes IEnumerable The status codes to retry. Must not be null.
리턴 Predicate

RetrySettings() 공개 메소드

Constructs an instance with the given backoff configuration, the default RPC filter and jitter.
public RetrySettings ( BackoffSettings retryBackoff, BackoffSettings timeoutBackoff, Expiration totalExpiration ) : Grpc.Core
retryBackoff BackoffSettings The backoff policy for the time between retries. Must not be null.
timeoutBackoff BackoffSettings The backoff policy for timeouts of retries. Must not be null.
totalExpiration Expiration The total expiration, across all retries. Must not be null.
리턴 Grpc.Core

RetrySettings() 공개 메소드

Constructs an instance with the given configuration, and the default jitter.
public RetrySettings ( BackoffSettings retryBackoff, BackoffSettings timeoutBackoff, Expiration totalExpiration, Predicate retryFilter ) : Grpc.Core
retryBackoff BackoffSettings The backoff policy for the time between retries. Must not be null.
timeoutBackoff BackoffSettings The backoff policy for timeouts of retries. Must not be null.
totalExpiration Expiration The total expiration, across all retries. Must not be null.
retryFilter Predicate A predicate to determine whether or not a particular exception should cause the operation to be retried, /// or null for the default filter.
리턴 Grpc.Core

RetrySettings() 공개 메소드

Constructs an instance with the given configuration.
public RetrySettings ( BackoffSettings retryBackoff, BackoffSettings timeoutBackoff, Expiration totalExpiration, Predicate retryFilter, IJitter delayJitter ) : Grpc.Core
retryBackoff BackoffSettings The backoff policy for the time between retries. Must not be null.
timeoutBackoff BackoffSettings The backoff policy for timeouts of retries. Must not be null.
totalExpiration Expiration The total expiration, across all retries. Must not be null.
retryFilter Predicate A predicate to determine whether or not a particular exception should cause the operation to be retried, /// or null for the default filter.
delayJitter IJitter The delay jitter to apply for delays, or null for the defautl (random) jitter.
리턴 Grpc.Core