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

Implementation of IBackOffPolicy that pauses for a fixed period of time before continuing. A pause is implemented using Thread.Sleep(int). BackOffPeriod is thread-safe and it is safe to set BackOffPeriod during execution from multiple threads, however this may cause a single retry operation to have pauses of different intervals.
상속: StatelessBackOffPolicy, ISleepingBackOffPolicy
파일 보기 프로젝트 열기: spring-projects/spring-net-retry 1 사용 예제들

공개 메소드들

메소드 설명
ToString ( ) : string

The to string.

WithSleeper ( ISleeper sleeper ) : ISleepingBackOffPolicy

The with sleeper.

보호된 메소드들

메소드 설명
DoBackOff ( ) : void

Pause for the BackOffPeriod.

메소드 상세

DoBackOff() 보호된 메소드

Pause for the BackOffPeriod.
protected DoBackOff ( ) : void
리턴 void

ToString() 공개 메소드

The to string.
public ToString ( ) : string
리턴 string

WithSleeper() 공개 메소드

The with sleeper.
public WithSleeper ( ISleeper sleeper ) : ISleepingBackOffPolicy
sleeper ISleeper The sleeper.
리턴 ISleepingBackOffPolicy