C# 클래스 Microsoft.ApplicationInsights.Extensibility.PerfCounterCollector.Implementation.QuickPulse.Helpers.QuickPulseQuotaTracker

Quota tracker to support throttling telemetry item collection.
파일 보기 프로젝트 열기: Microsoft/ApplicationInsights-dotnet-server 1 사용 예제들

공개 메소드들

메소드 설명
ApplyQuota ( ) : bool

Checks if there's quota left.

QuickPulseQuotaTracker ( Clock timeProvider, float maxQuota, float startQuota ) : System

비공개 메소드들

메소드 설명
AccrueQuota ( long currentTimeFullSeconds ) : void
IncreaseQuota ( long seconds ) : void
UseQuota ( ) : bool

메소드 상세

ApplyQuota() 공개 메소드

Checks if there's quota left.
public ApplyQuota ( ) : bool
리턴 bool

QuickPulseQuotaTracker() 공개 메소드

public QuickPulseQuotaTracker ( Clock timeProvider, float maxQuota, float startQuota ) : System
timeProvider Clock
maxQuota float
startQuota float
리턴 System