C# 클래스 Amazon.S3.Internal.AmazonS3RetryPolicy

상속: Amazon.Runtime.Internal.DefaultRetryPolicy
파일 보기 프로젝트 열기: aws/aws-sdk-net 1 사용 예제들

공개 메소드들

메소드 설명
AmazonS3RetryPolicy ( IClientConfig config ) : Amazon.Runtime

Constructor for AmazonS3RetryPolicy.

RetryForException ( Runtime executionContext, Exception exception ) : bool

Return true if the request should be retried. Implements additional checks specific to S3 on top of the checks in DefaultRetryPolicy.

RetryForExceptionAsync ( Runtime executionContext, Exception exception ) : Task

Return true if the request should be retried. Implements additional checks specific to S3 on top of the checks in DefaultRetryPolicy.

RetryForExceptionSync ( Runtime executionContext, Exception exception ) : bool?

Perform the processor-bound portion of the RetryForException logic. This is shared by the sync, async, and APM versions of the RetryForException method.

메소드 상세

AmazonS3RetryPolicy() 공개 메소드

Constructor for AmazonS3RetryPolicy.
public AmazonS3RetryPolicy ( IClientConfig config ) : Amazon.Runtime
config IClientConfig The IClientConfig object
리턴 Amazon.Runtime

RetryForException() 공개 메소드

Return true if the request should be retried. Implements additional checks specific to S3 on top of the checks in DefaultRetryPolicy.
public RetryForException ( Runtime executionContext, Exception exception ) : bool
executionContext Runtime Request context containing the state of the request.
exception System.Exception The exception thrown by the previous request.
리턴 bool

RetryForExceptionAsync() 공개 메소드

Return true if the request should be retried. Implements additional checks specific to S3 on top of the checks in DefaultRetryPolicy.
public RetryForExceptionAsync ( Runtime executionContext, Exception exception ) : Task
executionContext Runtime Request context containing the state of the request.
exception System.Exception The exception thrown by the previous request.
리턴 Task

RetryForExceptionSync() 공개 메소드

Perform the processor-bound portion of the RetryForException logic. This is shared by the sync, async, and APM versions of the RetryForException method.
public RetryForExceptionSync ( Runtime executionContext, Exception exception ) : bool?
executionContext Runtime
exception System.Exception
리턴 bool?