C# Класс Aspectacular.RetryTimeAspect

Aspect retrying function call for a given time period either when method has failed or when certain result was returned.
Наследование: RetryAspectBase
Показать файл Открыть проект

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

Метод Описание
RetryTimeAspect ( uint keepTryingForMilliseconds, uint millisecDelayBetweenRetries, FailureDetectorDelegate optionalFailureDetector = null ) : System

Step_2_BeforeTryingMethodExec ( ) : void

Защищенные методы

Метод Описание
BeforeFirstRetry ( ) : void
NeedToStopRetries ( ) : bool

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

BeforeFirstRetry() защищенный Метод

protected BeforeFirstRetry ( ) : void
Результат void

NeedToStopRetries() защищенный Метод

protected NeedToStopRetries ( ) : bool
Результат bool

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

public RetryTimeAspect ( uint keepTryingForMilliseconds, uint millisecDelayBetweenRetries, FailureDetectorDelegate optionalFailureDetector = null ) : System
keepTryingForMilliseconds uint Time period during which attempts will be made to call intercepted method.
millisecDelayBetweenRetries uint
optionalFailureDetector FailureDetectorDelegate Optional custom method to decide whether failure occurred and retry is required. If not provided, exception in the main method or result post-processing will trigger retry.
Результат System

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

public Step_2_BeforeTryingMethodExec ( ) : void
Результат void