C# Класс Spring.Retry.Retry.Policy.TimeoutRetryPolicy

A IRetryPolicy that allows a retry only if it hasn't timed out. The clock is started on a call to Open.
Наследование: IRetryPolicy
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
DEFAULT_TIMEOUT long

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

Метод Описание
CanRetry ( IRetryContext context ) : bool

Only permits a retry if the timeout has not expired. Does not check the exception at all.

Close ( IRetryContext context ) : void

The close.

Open ( IRetryContext parent ) : IRetryContext

The open.

RegisterException ( IRetryContext context, Exception exception ) : void

The register exception.

Описание методов

CanRetry() публичный Метод

Only permits a retry if the timeout has not expired. Does not check the exception at all.
public CanRetry ( IRetryContext context ) : bool
context IRetryContext The context.
Результат bool

Close() публичный Метод

The close.
public Close ( IRetryContext context ) : void
context IRetryContext The context.
Результат void

Open() публичный Метод

The open.
public Open ( IRetryContext parent ) : IRetryContext
parent IRetryContext The parent.
Результат IRetryContext

RegisterException() публичный Метод

The register exception.
public RegisterException ( IRetryContext context, Exception exception ) : void
context IRetryContext The context.
exception System.Exception The exception.
Результат void

Описание свойств

DEFAULT_TIMEOUT публичное статическое свойство

public static long DEFAULT_TIMEOUT
Результат long