C# Class Microsoft.ApplicationInsights.Extensibility.PerfCounterCollector.Implementation.QuickPulse.Helpers.QuickPulseQuotaTracker

Quota tracker to support throttling telemetry item collection.
Afficher le fichier Open project: Microsoft/ApplicationInsights-dotnet-server Class Usage Examples

Méthodes publiques

Méthode Description
ApplyQuota ( ) : bool

Checks if there's quota left.

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

Private Methods

Méthode Description
AccrueQuota ( long currentTimeFullSeconds ) : void
IncreaseQuota ( long seconds ) : void
UseQuota ( ) : bool

Method Details

ApplyQuota() public méthode

Checks if there's quota left.
public ApplyQuota ( ) : bool
Résultat bool

QuickPulseQuotaTracker() public méthode

public QuickPulseQuotaTracker ( Clock timeProvider, float maxQuota, float startQuota ) : System
timeProvider Clock
maxQuota float
startQuota float
Résultat System