RateLimiter Class

A rate limiting system based on tokes.

Definition

Namespace: Gemstone.Threading
Assembly: Gemstone.Threading (in Gemstone.Threading.dll) Version: 1.0.170 -- Release Build+c182f6ab0de7d8c2535312827c244b8c677ffdd5
public class RateLimiter
Inheritance
Object    RateLimiter

Constructors

RateLimiter Creates a RateLimiter

Methods

EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
ToStringReturns a string that represents the current object.
(Inherited from Object)
TryTakeToken Attempts to take a token from the rate limiter.
UpdateLimits Updates the limits associated with this rate limiter. Note, after this update, the tokens will be completely resupplied.

See Also