C# 클래스 Spring.Retry.Retry.Backoff.StatelessBackOffPolicy

Simple base class for IBackOffPolicy implementations that maintain no state across invocations.
상속: IBackOffPolicy
파일 보기 프로젝트 열기: spring-projects/spring-net-retry

공개 메소드들

메소드 설명
BackOff ( IBackOffContext backOffContext ) : void

Delegates directly to the DoBackOff method without passing on the IBackOffContext argument which is not needed for stateless implementations.

Start ( IRetryContext context ) : IBackOffContext

Returns null. Subclasses can add behaviour, e.g. * initial sleep before first attempt.

보호된 메소드들

메소드 설명
DoBackOff ( ) : void

Sub-classes should implement this method to perform the actual back off.

메소드 상세

BackOff() 공개 메소드

Delegates directly to the DoBackOff method without passing on the IBackOffContext argument which is not needed for stateless implementations.
public BackOff ( IBackOffContext backOffContext ) : void
backOffContext IBackOffContext The back off context.
리턴 void

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

Sub-classes should implement this method to perform the actual back off.
protected abstract DoBackOff ( ) : void
리턴 void

Start() 공개 메소드

Returns null. Subclasses can add behaviour, e.g. * initial sleep before first attempt.
public Start ( IRetryContext context ) : IBackOffContext
context IRetryContext The context.
리턴 IBackOffContext