C# Класс Amazon.S3.Internal.AmazonS3RetryPolicy

Наследование: Amazon.Runtime.Internal.DefaultRetryPolicy
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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?