C# Class GSF.Diagnostics.LogSuppressionEngine

The suppression engine associated with an individual LogEventPublisherDetails.
Afficher le fichier Open project: GridProtectionAlliance/gsf Class Usage Examples

Méthodes publiques

Méthode Description
IncrementPublishCount ( ) : MessageSuppression

Increments the publish count for this type of message.

LogSuppressionEngine ( double messagesPerSecond, int burstLimit ) : System

Method Details

IncrementPublishCount() public méthode

Increments the publish count for this type of message.
public IncrementPublishCount ( ) : MessageSuppression
Résultat MessageSuppression

LogSuppressionEngine() public méthode

public LogSuppressionEngine ( double messagesPerSecond, int burstLimit ) : System
messagesPerSecond double The number of messages per second that can be generated. Must be greater than zero and less than 1 billion
burstLimit int The maximum number of messages that can be burst at one time.
Résultat System