C# 클래스 Aspectacular.RetryTimeAspect

Aspect retrying function call for a given time period either when method has failed or when certain result was returned.
상속: RetryAspectBase
파일 보기 프로젝트 열기: vgribok/Aspectacular

공개 메소드들

메소드 설명
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