C# 클래스 Aspectacular.RetryCountAspect

Aspect implementing a certain number of function call retries either when method has failed or when certain result was returned.
상속: RetryAspectBase
파일 보기 프로젝트 열기: vgribok/Aspectacular

공개 메소드들

메소드 설명
RetryCountAspect ( byte retryCount, uint millisecDelayBetweenRetries, FailureDetectorDelegate optionalFailureDetector = null ) : System

보호된 메소드들

메소드 설명
BeforeFirstRetry ( ) : void
NeedToStopRetries ( ) : bool

메소드 상세

BeforeFirstRetry() 보호된 메소드

protected BeforeFirstRetry ( ) : void
리턴 void

NeedToStopRetries() 보호된 메소드

protected NeedToStopRetries ( ) : bool
리턴 bool

RetryCountAspect() 공개 메소드

public RetryCountAspect ( byte retryCount, uint millisecDelayBetweenRetries, FailureDetectorDelegate optionalFailureDetector = null ) : System
retryCount byte Maximum number of attempts to call the function
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