PartitionedRateLimiter<TResource>.GetStatistics(TResource) Method

Definition

Gets a snapshot of the statistics for the resource if available.

public abstract System.Threading.RateLimiting.RateLimiterStatistics? GetStatistics (TResource resource);
abstract member GetStatistics : 'Resource -> System.Threading.RateLimiting.RateLimiterStatistics
Public MustOverride Function GetStatistics (resource As TResource) As RateLimiterStatistics

Parameters

resource
TResource

Returns

An instance of RateLimiterStatistics containing a snapshot of the statistics for a resource.

Applies to