C# 클래스 Aspectacular.RetryAspectBase

Enables method retrying
상속: Aspect
파일 보기 프로젝트 열기: vgribok/Aspectacular

공개 메소드들

메소드 설명
Step_4_Optional_AfterCatchingMethodExecException ( ) : void
Step_4_Optional_AfterSuccessfulCallCompletion ( ) : void

보호된 메소드들

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

Should be overwritten to implement actual logic deciding whether it needs to keep retrying.

RetryAspectBase ( uint millisecDelayBetweenRetries, FailureDetectorDelegate optionalFailureDetector ) : System

SetRetryIfNecessary ( bool mayNeedToRetry ) : void

메소드 상세

BeforeFirstRetry() 보호된 추상적인 메소드

protected abstract BeforeFirstRetry ( ) : void
리턴 void

NeedToStopRetries() 보호된 추상적인 메소드

Should be overwritten to implement actual logic deciding whether it needs to keep retrying.
protected abstract NeedToStopRetries ( ) : bool
리턴 bool

RetryAspectBase() 보호된 메소드

protected RetryAspectBase ( uint millisecDelayBetweenRetries, FailureDetectorDelegate optionalFailureDetector ) : System
millisecDelayBetweenRetries uint Optional delay in milliseconds between retries.
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

SetRetryIfNecessary() 보호된 메소드

protected SetRetryIfNecessary ( bool mayNeedToRetry ) : void
mayNeedToRetry bool
리턴 void

Step_4_Optional_AfterCatchingMethodExecException() 공개 메소드

public Step_4_Optional_AfterCatchingMethodExecException ( ) : void
리턴 void

Step_4_Optional_AfterSuccessfulCallCompletion() 공개 메소드

public Step_4_Optional_AfterSuccessfulCallCompletion ( ) : void
리턴 void