C# 클래스 Moosesoft.Azure.ServiceBus.BackOffDelayStrategy.LinearBackOffDelayStrategy

This strategy performs back off delay calculations using a linear model.
상속: IBackOffDelayStrategy
파일 보기 프로젝트 열기: gtmoose32/moosesoft-azure-servicebus

공개 메소드들

메소드 설명
Calculate ( int attempts ) : TimeSpan
LinearBackOffDelayStrategy ( TimeSpan initialDelay ) : Moosesoft.Azure.ServiceBus.Abstractions

Initialize a new instance LinearBackOffDelayStrategy.

메소드 상세

Calculate() 공개 메소드

public Calculate ( int attempts ) : TimeSpan
attempts int
리턴 TimeSpan

LinearBackOffDelayStrategy() 공개 메소드

Initialize a new instance LinearBackOffDelayStrategy.
public LinearBackOffDelayStrategy ( TimeSpan initialDelay ) : Moosesoft.Azure.ServiceBus.Abstractions
initialDelay TimeSpan
리턴 Moosesoft.Azure.ServiceBus.Abstractions