C# Class m.Utils.LeakyBucket

Afficher le fichier Open project: joongonn/mHttp Class Usage Examples

Méthodes publiques

Méthode Description
Fill ( int amount ) : bool
Leak ( ) : void
LeakyBucket ( int capacity, int leaksPerSecond ) : System

Method Details

Fill() public méthode

public Fill ( int amount ) : bool
amount int
Résultat bool

Leak() public méthode

public Leak ( ) : void
Résultat void

LeakyBucket() public méthode

public LeakyBucket ( int capacity, int leaksPerSecond ) : System
capacity int
leaksPerSecond int
Résultat System